import type { StreamPart, TurnHandle } from '../types/stream.js'; import type { TurnResult } from '../types/channel.js'; import type { Session } from '../types/session.js'; import type { UserInputContent } from '../runtime/userInput.js'; import type { RuntimeLike } from '../runtime/RuntimeLike.js'; export interface MockRuntimeRunCall { sessionId?: string; input?: UserInputContent; agentId?: string; seedMessages?: unknown[]; historyDelta?: unknown[]; callerInstructions?: string; } export interface CreateMockRuntimeOptions { sessions?: Map; onRun?: (call: MockRuntimeRunCall) => void; } export declare function createMockTurnHandle(events: AsyncIterable, settled?: TurnResult): TurnHandle; export declare function createMockSession(partial?: Partial): Session; type MockRuntimeEvents = StreamPart[] | AsyncIterable | (() => never); export declare function createMockRuntime(parts: MockRuntimeEvents, options?: CreateMockRuntimeOptions): RuntimeLike; export {};