import type { ProviderRegistry } from '../../providers/registry.js';
type JsonRecord = Record<string, unknown>;
export interface OpenAICompatibleRouteContext {
    readonly providerRegistry: Pick<ProviderRegistry, 'listModels' | 'getCurrentModel' | 'getForModel'>;
    readonly parseJsonBody: (request: Request) => Promise<JsonRecord | Response>;
    readonly recordApiResponse: (request: Request, path: string, response: Response) => Response;
}
export declare function dispatchOpenAICompatibleRoutes(request: Request, context: OpenAICompatibleRouteContext, pathPrefix?: string): Promise<Response | null>;
export {};
//# sourceMappingURL=openai-compatible-routes.d.ts.map