export declare const RETAINED_STATE_EXTENSION: "sortie-dogs/retained-state"; export declare const RETAINED_STATE_SCHEMA_VERSION: "0.1"; export declare const RETAINED_STATE_AUTHORITY: "shadow"; export declare const MAX_RETAINED_STATE_BYTES: number; export declare const MAX_RETAINED_STATE_ITEMS = 12; export declare const MAX_RETAINED_STATE_WARNINGS = 8; export interface RetainedValidationAttempt { readonly command: string; readonly exit: number | null; readonly fingerprint: string; } export interface NextEvidenceDecision { readonly schema_version: "0.1"; readonly authority: "shadow"; readonly gap_id: string; readonly blocked_acceptance: string; readonly question: string; readonly expected_discrimination: string; readonly action: string; readonly stop_condition: string; } export interface AdmissionReceipt { readonly evidence_id: string; readonly source_agent: string; readonly source_revision: string; readonly evidence_fingerprint: string; readonly supports: readonly string[]; readonly contradicts: readonly string[]; readonly freshness_basis: string; readonly status: "recorded" | "recorded_with_warnings"; readonly warnings: readonly string[]; } export interface RetainedStateCapsule { readonly schema_version: "0.1"; readonly authority: "shadow"; readonly task_id: string; readonly acceptance_fingerprint: string; readonly source_manifest: "none" | readonly string[]; readonly operation_manifest: "none" | string; readonly validation_history: readonly RetainedValidationAttempt[]; readonly blockers: readonly string[]; readonly next_action: string; readonly next_evidence_decision?: NextEvidenceDecision; readonly admissions?: readonly AdmissionReceipt[]; } export interface RetainedStateWarning { readonly code: "malformed" | "oversize" | "optional_invalid"; readonly message: string; } export interface RetainedStateInspection { readonly capsule: RetainedStateCapsule | undefined; readonly warnings: readonly RetainedStateWarning[]; } export declare function inspectRetainedStateCapsule(handoff: unknown): RetainedStateInspection;