import type { InferenceContinueOptions, InferenceRespondOptions, InferenceResponse } from "../types.js"; export declare const buildInferenceRespondRequest: (options: InferenceContinueOptions | InferenceRespondOptions, ownerUserId: string) => { readonly ownerUserId: string; readonly credentials?: { readonly profileId?: string | undefined; readonly claude?: string | undefined; readonly codex?: string | undefined; } | undefined; readonly prompt?: string | undefined; readonly system?: string | undefined; readonly model?: string | undefined; readonly maxTurns?: number | undefined; readonly tools?: readonly { readonly name: string; readonly description?: string | undefined; readonly inputSchema: unknown; }[] | undefined; readonly responseFormat?: { readonly type: "json"; readonly schema?: unknown; } | undefined; readonly sessionId?: string | undefined; readonly toolResults?: readonly { readonly toolCallId: string; readonly content: string; readonly isError?: boolean | undefined; }[] | undefined; }; export declare const mapInferenceResponse: (wire: { readonly sessionId: string; readonly turn: { readonly type: "text"; readonly text: string; readonly json?: unknown; } | { readonly type: "toolCalls"; readonly calls: readonly { readonly toolCallId: string; readonly name: string; readonly input: unknown; }[]; }; readonly usage?: { readonly inputTokens: number; readonly outputTokens: number; } | undefined; }) => InferenceResponse;