@juspay/neurolink 9.87.3 → 9.87.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -10,8 +10,23 @@
10
10
  * (generate/stream), with an optional ModelRouter for model remapping.
11
11
  */
12
12
  import type { CommandModule } from "yargs";
13
- import type { ProxyGuardArgs, ProxyStartArgs, ProxyStatusArgs, ProxyTelemetryArgs } from "../../lib/types/index.js";
13
+ import type { AccountAllowlist, LoadedProxyConfig, ProxyGuardArgs, ProxyNeurolinkRuntime, ProxyStartArgs, ProxyStartStrategy, ProxyStatusArgs, ProxyTelemetryArgs } from "../../lib/types/index.js";
14
+ import type { ModelRouter } from "../../lib/proxy/modelRouter.js";
14
15
  export declare function mapClaudeErrorTypeToStatus(errorType?: string): number;
16
+ export declare function createProxyStartApp(params: {
17
+ neurolink: ProxyNeurolinkRuntime["neurolink"];
18
+ modelRouter: ModelRouter | undefined;
19
+ strategy: ProxyStartStrategy;
20
+ passthrough: boolean;
21
+ port: number;
22
+ host: string;
23
+ proxyConfig: LoadedProxyConfig | null;
24
+ primaryAccountKey: string | undefined;
25
+ accountAllowlist: AccountAllowlist | undefined;
26
+ }): Promise<{
27
+ app: import("hono").Hono<import("hono/types").BlankEnv, import("hono/types").BlankSchema, "/">;
28
+ readiness: import("../../lib/types/proxy.js").ProxyReadinessState;
29
+ }>;
15
30
  export declare const proxyStartCommand: CommandModule<object, ProxyStartArgs>;
16
31
  export declare const proxyStatusCommand: CommandModule<object, ProxyStatusArgs>;
17
32
  export declare const proxyTelemetryCommand: CommandModule<object, ProxyTelemetryArgs>;