import type { LLMProvider, LLMRequestOptions, LLMResponse, LLMStreamEvent } from '../core/llm/llm-provider.js'; import { type PiAiModelInfo, type PiAiStreamEvent } from './pi-ai-wire-format.js'; export { PiAiFirstEventTimeoutError } from './pi-ai-watchdog.js'; export type { PiAiModelInfo, PiAiStreamEvent } from './pi-ai-wire-format.js'; export type PiAiStreamFunction = (model: PiAiModelInfo, context: unknown, options?: Record) => AsyncIterable; export interface PiAiLLMProviderConfig { streamFn: PiAiStreamFunction; model: PiAiModelInfo; apiKey: string; baseUrl?: string; displayName?: string; reasoning?: string | null; repairToolCallUrl?: (url: string) => string; } export declare class PiAiLLMProvider implements LLMProvider { readonly id: string; readonly displayName: string; private streamFn; private model; private apiKey; private baseUrl?; private reasoning?; private repairToolCallUrl; constructor(config: PiAiLLMProviderConfig); private buildPiModelForCall; complete(options: LLMRequestOptions): Promise; stream(options: LLMRequestOptions, onEvent: (event: LLMStreamEvent) => void): Promise; private buildPiContext; private buildPiOptions; } //# sourceMappingURL=pi-ai-adapter.d.ts.map