type RiddleProofPublicPolicyState = "awaiting_checkpoint" | "proof_blocked" | "proof_failed" | "proof_complete_ship_disabled" | "proof_passed_ship_held" | "ship_authorized" | "proof_passed" | "proof_in_progress" | "unknown";
interface RiddleProofPublicCheckpointSummary {
    pending?: boolean;
    accepted_response_count: number;
    rejected_response_count: number;
    ignored_response_count: number;
    duplicate_response_count: number;
    latest_decision?: string;
    audit_disclosure_required: boolean;
}
interface RiddleProofPublicStateSummary {
    status?: string;
    ok: boolean | null;
    policy_state: RiddleProofPublicPolicyState;
    result_label: string;
    proof_complete: boolean;
    proof_passed: boolean;
    ship_held: boolean;
    shipping_disabled: boolean;
    ship_authorized: boolean;
    merge_ready: boolean;
    sync_allowed: boolean;
    checkpoint_summary?: RiddleProofPublicCheckpointSummary;
    required_disclosures: string[];
    prohibited_claims: string[];
}
type RiddleProofPublicConsumerSurfaceKind = "run_status" | "run_result" | "run_card" | "pr_comment" | "hosted_proof_view" | "agent_summary" | (string & {});
interface RiddleProofPublicConsumerSurface {
    kind: RiddleProofPublicConsumerSurfaceKind;
    status?: string;
    result_label: string;
    policy_state: RiddleProofPublicPolicyState;
    proof_complete: boolean;
    claims: {
        proof_passed: boolean;
        ship_authorized: boolean;
        merge_ready: boolean;
        sync_allowed: boolean;
        all_checkpoint_responses_accepted: boolean;
    };
    ship_control: {
        ship_held: boolean;
        shipping_disabled: boolean;
        ship_authorized: boolean;
    };
    handoff: {
        merge_ready: boolean;
        sync_allowed: boolean;
        merge_recommendation?: string;
    };
    checkpoint_audit?: RiddleProofPublicCheckpointSummary;
    disclosures: {
        ship_control: boolean;
        checkpoint_audit: boolean;
        required: string[];
        prohibited_claims: string[];
    };
    public_state: RiddleProofPublicStateSummary;
}
interface RiddleProofPublicConsumerSurfaceOptions {
    kind?: RiddleProofPublicConsumerSurfaceKind;
    merge_recommendation?: string;
}
declare function riddleProofPublicStateAllowsClaim(summary: RiddleProofPublicStateSummary | undefined, claim: string): boolean;
declare function riddleProofPublicStateAllowsMergeRecommendation(summary: RiddleProofPublicStateSummary | undefined): boolean;
declare function riddleProofPublicStateMergeRecommendation(summary: RiddleProofPublicStateSummary | undefined, recommendation: string | undefined): string | undefined;
declare function summarizeRiddleProofPublicState(input: unknown): RiddleProofPublicStateSummary;
declare function summarizeRiddleProofPublicConsumerSurface(input: unknown, options?: RiddleProofPublicConsumerSurfaceOptions): RiddleProofPublicConsumerSurface;
declare function summarizeRiddleProofHostedProofViewSurface(input: unknown, options?: Omit<RiddleProofPublicConsumerSurfaceOptions, "kind">): RiddleProofPublicConsumerSurface;
declare function summarizeRiddleProofAgentSummarySurface(input: unknown, options?: Omit<RiddleProofPublicConsumerSurfaceOptions, "kind">): RiddleProofPublicConsumerSurface;

export { type RiddleProofPublicCheckpointSummary, type RiddleProofPublicConsumerSurface, type RiddleProofPublicConsumerSurfaceKind, type RiddleProofPublicConsumerSurfaceOptions, type RiddleProofPublicPolicyState, type RiddleProofPublicStateSummary, riddleProofPublicStateAllowsClaim, riddleProofPublicStateAllowsMergeRecommendation, riddleProofPublicStateMergeRecommendation, summarizeRiddleProofAgentSummarySurface, summarizeRiddleProofHostedProofViewSurface, summarizeRiddleProofPublicConsumerSurface, summarizeRiddleProofPublicState };
