/** * Compliance receipt shape matching AlgoVoi's production /compliance/screen. * * The categorical outcome (ALLOW / REFER / DENY) is load-bearing for the * retention layer (UK POCA 2002 s.330 SAR distinction). A score/tier * projection would lose that property and break year-five auditability. */ export declare const SCREEN_RESULTS: readonly ["ALLOW", "REFER", "DENY"]; export type ScreenResult = (typeof SCREEN_RESULTS)[number]; export declare class ComplianceReceiptError extends Error { constructor(message: string); } export interface ComplianceReceipt { payer_ref: string; screen_result: ScreenResult; screen_timestamp_ms: number; screen_provider_did: string; jurisdiction_flags: string[]; canon_version: string; } export interface BuildComplianceReceiptInput { payer_ref: string; screen_result: string; screen_timestamp_ms: number; screen_provider_did: string; jurisdiction_flags: string[]; canon_version?: string; } /** * Build a validated compliance receipt object. * * screen_result must be one of ALLOW, REFER, DENY -- the categorical * outcome is load-bearing for downstream regulatory obligations. * * payer_ref is expected to be a content-addressed identity reference * (e.g. "sha256:") rather than cleartext identity content. * * jurisdiction_flags is treated as ordered -- ["UK","EU"] and ["EU","UK"] * produce distinct canonical bytes per RFC 8785 ยง3.2.3. */ export declare function buildComplianceReceipt(input: BuildComplianceReceiptInput): ComplianceReceipt; //# sourceMappingURL=compliance-receipt.d.ts.map