import { m as ProviderConfig } from "./config-DDAC7XCF.js"; import { c as ProxyServerContext, l as ProxyServerOptions } from "./types-CfIx-Sbs.js"; import { t as ProxyLoadBalancer } from "./loadBalancer-CLTFH1lT.js"; //#region src/services/proxy/server.d.ts declare const DEFAULT_PROXY_PORT = 4320; /** * Start the proxy server */ declare function startProxyServer(options?: ProxyServerOptions): Promise; /** * Check whether a provider model is compatible with the requested model. * Supports both directions so versioned aliases still match (e.g. foo-2025 * matches foo and foo matches foo-2025). */ declare function providerSupportsModel(provider: ProviderConfig, model: string): boolean; /** * Map model name using modelMapping config * Supports exact match, prefix match (claude-* -> gpt-4o), and wildcard (*) */ declare function mapModel(model: string | undefined, mapping?: Record, defaultModel?: string, providers?: ProviderConfig[]): string | undefined; /** * Select provider for the requested model */ declare function selectProviderForModel(providers: ProviderConfig[], loadBalancer: ProxyLoadBalancer, model?: string): ProviderConfig | null; //#endregion export { startProxyServer as a, selectProviderForModel as i, mapModel as n, providerSupportsModel as r, DEFAULT_PROXY_PORT as t };