import type { ChatMessage, NativeToolCall, ToolCall } from "../../../types.js"; import type { BoundCall } from "../contracts.js"; import { type ToolNameCanonicalizer } from "./canonicalize-turn-call.js"; export declare const syntheticToolCallId: (index: number) => string; export declare const bindToolCalls: (input: { readonly nativeToolCalls: readonly NativeToolCall[]; readonly visible: string; readonly thinkContent: string; readonly primaryCall: ToolCall | undefined; readonly mcpRuntime?: ToolNameCanonicalizer | undefined; }) => BoundCall[]; export interface ReconciledCallIds { readonly historyNativeCalls: NativeToolCall[]; readonly bound: BoundCall[]; readonly toRun: BoundCall[]; } export declare const reconcileToolCallIds: (bound: readonly BoundCall[], toRun: readonly BoundCall[], messages: readonly ChatMessage[]) => ReconciledCallIds;