import type { AgentRunResult, InterruptInfo, SubagentEvent, SubagentRun, Todo } from "./run-result.js"; export type { InterruptInfo, SubagentEvent, SubagentRun, Todo }; export declare function expectToolCalled(run: AgentRunResult, name: string): { withArgs(partial: Record): void; times(n: number): void; never(): never; }; /** * Assert the named tools were called IN ORDER. By default a subsequence (other * tool calls may appear between them); `{ strict: true }` requires them to be * contiguous. */ export declare function expectToolSequence(run: AgentRunResult, names: readonly string[], opts?: { readonly strict?: boolean; }): void; export declare function expectFinalMessage(run: AgentRunResult): { toContain(s: string): void; toMatch(re: RegExp): void; toEqual(s: string): void; }; export declare function expectStreamedTokens(run: AgentRunResult): void; export declare function expectOffloaded(run: AgentRunResult, toolName: string): void; export declare function expectInterrupt(run: AgentRunResult): { ofKind(kind: string): /*elided*/ any; withDetail(partial: Record): /*elided*/ any; }; export declare function expectNoInterrupt(run: AgentRunResult): void; export declare function expectSubagent(run: AgentRunResult, name: string): { called(): /*elided*/ any; calledTool(toolName: string): /*elided*/ any; finalMessageContains(text: string): /*elided*/ any; }; export declare function expectPlan(run: AgentRunResult): { toHaveLength(n: number): void; toHaveTodo(content: string): void; toHaveStatus(content: string, status: string): void; }; export declare function expectSystemPrompt(run: AgentRunResult): { toContain(text: string): void; toMatch(re: RegExp): void; }; /** * Assert no tool returned an error result. A HITL permission interrupt is NOT a * tool error — it produces no ToolMessage, so it never appears in toolResults. */ export declare function expectNoToolErrors(run: AgentRunResult): void; export declare function expectState(run: AgentRunResult): { messages: { toHaveLength(n: number): void; }; field(name: string): { toBeTruthy(): void; toEqual(expected: unknown): void; }; }; //# sourceMappingURL=matchers.d.ts.map