import type { ChatMessage, CompletionRequest, ProviderId, ReasoningPreference, ToolCallStreamDelta, ToolDefinition } from "../../../types.js"; export interface StreamRequestInput { readonly provider: ProviderId; readonly model: string; readonly messages: ChatMessage[]; readonly allowModelFallback: boolean; readonly preferModelFallback: boolean; readonly maxTokens: number | undefined; readonly signal: AbortSignal | undefined; readonly thinking: ReasoningPreference | undefined; readonly retryWithoutThinking: boolean; readonly toolsAttached: boolean; readonly tools: ToolDefinition[] | undefined; readonly onToolCallDelta: (delta: ToolCallStreamDelta) => void; } export declare const buildStreamRequest: (input: StreamRequestInput) => CompletionRequest;