declare const RIDDLE_PROOF_PR_COMMENT_MARKER = "<!-- riddle-proof:pr-comment:v1 -->";
type RiddleProofPrCommentArtifactKind = "image" | "data" | "artifact";
interface RiddleProofPrCommentArtifact {
    name: string;
    url: string;
    kind: RiddleProofPrCommentArtifactKind;
    size_bytes?: number;
}
interface RiddleProofPrCommentPageSummary {
    route: string;
    passed: number;
    failed: number;
}
interface RiddleProofPrCommentSummary {
    ok: boolean | null;
    status?: string;
    job_id?: string;
    duration_ms?: number;
    proof_url?: string;
    preview_id?: string;
    preview_url?: string;
    preview_publish_recovered?: boolean;
    preview_publish_error?: string;
    passed_checks: number;
    failed_checks: number;
    pages: RiddleProofPrCommentPageSummary[];
    artifacts: RiddleProofPrCommentArtifact[];
    primary_image?: RiddleProofPrCommentArtifact;
}
interface RiddleProofPrCommentInput {
    title?: string;
    goal?: string;
    successCriteria?: string;
    runResponse?: unknown;
    result?: unknown;
    source?: string;
}
declare function summarizeRiddleProofPrComment(input: RiddleProofPrCommentInput): RiddleProofPrCommentSummary;
declare function buildRiddleProofPrCommentMarkdown(input: RiddleProofPrCommentInput): string;

export { RIDDLE_PROOF_PR_COMMENT_MARKER, type RiddleProofPrCommentArtifact, type RiddleProofPrCommentArtifactKind, type RiddleProofPrCommentInput, type RiddleProofPrCommentPageSummary, type RiddleProofPrCommentSummary, buildRiddleProofPrCommentMarkdown, summarizeRiddleProofPrComment };
