import Anthropic from '@anthropic-ai/sdk'; import { z } from 'zod/v4'; import type { Verifier, VerifyInput, VerifyResult } from './verifier.js'; export declare const VerifierResponseSchema: z.ZodObject<{ verdicts: z.ZodArray>; }, z.core.$strip>; export declare const SYSTEM_PROMPT = "You are an independent acceptance-criterion verifier for an AI-assisted development tool called CADENCE.\n\nFor each acceptance criterion (AC) you receive, decide whether the supplied diff + test references actually deliver what the AC promises in plain English. Be skeptical: \"tests exist\" is necessary but not sufficient; the diff must actually implement the behavior the AC describes.\n\nReturn one verdict per AC. Use:\n- pass=true when the diff implements the AC AND a referenced test exercises it\n- pass=false when the implementation is missing, partial, or untested\n- Keep each reason \u2264 200 characters, citing the specific gap or proof\n\nReturn strict JSON matching the requested schema. Do not include narrative outside the schema."; export interface AnthropicVerifierOptions { apiKey?: string; model?: string; maxTokens?: number; /** Phase 72: request timeout (ms). Omitted → SDK default holds. */ timeout?: number; /** Phase 72: retry budget for transient errors. Omitted → SDK default. */ maxRetries?: number; /** Inject a client for tests; production callers should omit this. */ client?: Anthropic; } /** * Phase 72: pure builder for the `Anthropic` client config — kept separate so * the timeout/maxRetries threading is unit-testable without a live SDK. Omits * keys that are undefined so the SDK's own defaults hold; preserves an explicit * `maxRetries: 0` (disable retries) rather than dropping it. */ export declare function buildAnthropicClientConfig(opts: { apiKey: string; timeout?: number; maxRetries?: number; }): { apiKey: string; timeout?: number; maxRetries?: number; }; export declare class AnthropicVerifier implements Verifier { readonly name = "anthropic"; private readonly client; private readonly model; private readonly maxTokens; constructor(opts?: AnthropicVerifierOptions); verify(input: VerifyInput): Promise; } export declare function formatUserMessage(input: VerifyInput): string; //# sourceMappingURL=anthropic-verifier.d.ts.map