import type { LLMRequestOptions, LLMResponse, LLMStreamEvent } from './llm-provider.js'; export type LLMProtocolId = 'anthropic-messages' | 'openai-chat'; export type LLMProtocolHandler = (config: Config, opts: LLMRequestOptions, onEvent: (e: LLMStreamEvent) => void) => Promise; export interface LLMProtocol { readonly id: LLMProtocolId; readonly handle: LLMProtocolHandler; } export declare function protocolIdForProvider(provider: string): LLMProtocolId; export interface LLMProtocolRouter { readonly resolve: (provider: string) => LLMProtocol; readonly ids: () => LLMProtocolId[]; } export declare function createProtocolRouter(protocols: ReadonlyArray>): LLMProtocolRouter; //# sourceMappingURL=protocol-route.d.ts.map