import type { LlmStreamEvent, ProviderConfig, ProviderMessage, ProviderTool } from "../types.js"; interface ChatParams { config: ProviderConfig; messages: ProviderMessage[]; tools?: ProviderTool[]; signal?: AbortSignal; } interface ChatResult { text: string; toolCalls: { id: string; name: string; args: Record; }[]; } /** Applies OpenRouter's base URL and attribution headers. */ export declare function withOpenRouterConfig(config: ProviderConfig): ProviderConfig; export declare function streamChat(params: ChatParams): AsyncGenerator; export declare function chat(params: ChatParams): Promise; export {}; //# sourceMappingURL=index.d.ts.map