import type { NativeToolCall, ToolCall } from "../../../types.js"; import type { StreamDeferredToolCall } from "./stream-session.js"; import { type ToolNameCanonicalizer } from "./canonicalize-turn-call.js"; export interface NativeCardPorts { readonly deferredToolCalls: StreamDeferredToolCall[]; readonly callIds: string[]; readonly allocateEventId: () => string; readonly markPrinted: (eventId: string) => void; readonly mcpRuntime?: ToolNameCanonicalizer | undefined; } export declare const syncNativeToolCallCards: (ports: NativeCardPorts, calls: readonly NativeToolCall[]) => void; export declare const firstNativeToolCall: (calls: readonly NativeToolCall[], mcpRuntime?: ToolNameCanonicalizer | undefined) => ToolCall | undefined;