import type { ReviewJobPayload, ReviewExecutionResult } from './reviewWorker';
export interface ReviewAgentSdkOptions {
    /** Override the LLM. Default `claude-haiku-4-5` per design doc §9. */
    model?: string;
    /** Wall-clock budget. Default 90s. */
    timeoutMs?: number;
}
/**
 * Run the review agent against a single job. Returns a structured outcome
 * — the worker maps the result to outbox state transitions.
 */
export declare function executeReviewAgentViaSdk(payload: ReviewJobPayload, opts?: ReviewAgentSdkOptions): Promise<ReviewExecutionResult>;
/**
 * Builds the review-agent prompt inline. The prompt is short by design:
 * it forbids YAML/markdown surfaces (those are PR9c's job) and pins the
 * output to the closed FailureCategory enum.
 */
export declare function buildReviewAgentPrompt(payload: ReviewJobPayload): string;
/**
 * Extract the first balanced JSON object from `text`. The agent should only
 * return one object, but defensive parsing tolerates an accidental code
 * fence or trailing whitespace.
 */
declare function extractJsonObject(text: string): Record<string, unknown> | null;
export declare const __testing: {
    extractJsonObject: typeof extractJsonObject;
    DEFAULT_TIMEOUT_MS: number;
    DEFAULT_MODEL: string;
    MAX_TURNS: number;
};
export {};
//# sourceMappingURL=reviewAgentSdk.d.ts.map