import type { ONIModel, ChatParams } from "../models/index.js"; import type { StateGraph } from "../graph.js"; import type { ONIStreamEvent, CustomStreamEvent, MessageStreamEvent, StreamMode } from "../types.js"; interface MockResponse { role: "assistant"; content: string; toolCalls?: Array<{ id: string; name: string; args: Record; }>; } interface MockModelInstance extends ONIModel { callHistory: ChatParams[]; reset(): void; } export declare function mockModel(responses: MockResponse[]): MockModelInstance; interface GraphAssertions { hasNode?: string[]; nodeCount?: number; hasEdge?: [string, string][]; } export declare function assertGraph>(graph: StateGraph, assertions: GraphAssertions): void; interface TestHarness> { invoke(input: Partial, config?: Record): Promise; collectStream(input: Partial, streamMode?: StreamMode): Promise<(ONIStreamEvent | CustomStreamEvent | MessageStreamEvent)[]>; } export declare function createTestHarness>(graph: StateGraph, options?: { checkpointer?: import("../types.js").ONICheckpointer; store?: import("../store/index.js").BaseStore; }): TestHarness; export type { MockResponse, MockModelInstance, GraphAssertions, TestHarness }; //# sourceMappingURL=index.d.ts.map