export interface PrincipleReceiptMetadata { /** Resolved display title (fallback chain result; never empty). */ title: string; /** Owner approval date (ISO string) — approvals.decided_at, fallback activations.activated_at. */ approvedAt?: string; /** Source correction summary — only present when the artifact carries painReasonSummary. */ sourceSummary?: string; } /** * Resolve receipt metadata for a blocked rule. Returns undefined when nothing * useful can be resolved (caller degrades to the generic copy). */ export declare function loadPrincipleReceiptMetadata(workspaceDir: string, ruleId: string | undefined, principleId: string | undefined): PrincipleReceiptMetadata | undefined; /** Test hook: clear caches between tests. */ export declare function clearPrincipleReceiptMetadataCache(): void;