import type { Grader, GraderInput, GraderMetadata, GraderResult } from "../../index.js"; export interface Config { /** Tool name(s) whose output is captured. Matches exactly or on a `name.` prefix. */ tools: string[]; /** * Regex matched against the tool output. When it has a capture group, group 1 * is the captured value; otherwise the full match is used. The captured value * is what a later assistant message must contain. */ pattern: string; } export type Metadata = Config & { [key: string]: unknown; }; export declare class AssistantContainsToolOutputGrader implements Grader { metadata: GraderMetadata; constructor(); /** * `assistant-contains-tool-output bash /id=(\\w+)/` — both the watched tools * and the capture pattern discriminate, since several instances typically * watch the same tool for different values. */ defaultName(config: Record): string; grade(input: GraderInput): Promise; private result; } //# sourceMappingURL=assistant-contains-tool-output-grader.d.ts.map