import { ContextKey } from "#context/key.js"; import type { StubCall, StubResult } from "#tool-stubs/types.js"; /** Sends tool calls and failures to the workflow that tracks stub responses. */ export interface ToolStubPlayback { call(call: StubCall): Promise; fail(callId: string, error: string): Promise; } export declare const ToolStubPlaybackKey: ContextKey;