/** * Consent Extension Group (org.peacprotocol/consent) * * Records consent collection or withdrawal as an observation. * Jurisdiction-neutral. Aligned with ISO/IEC 29184:2020 concepts. * * Design: * - Open taxonomy for consent_basis, consent_method (jurisdiction-specific) * - Closed enum for consent_status (universal lifecycle states) * - URI fields are locator hints only; callers MUST NOT auto-fetch * - ISO 8601 durations for retention periods * - Observation-only semantics: records events, never enforces policy * * @see docs/specs/WIRE-0.2.md Section 12.10 */ import { z } from 'zod'; export declare const CONSENT_EXTENSION_KEY: "org.peacprotocol/consent"; /** * Consent status: universal lifecycle states across GDPR Art 7, * CCPA Sec 1798.120, LGPD Art 8, ISO/IEC 29184. * * Closed enum: these 4 states cover all consent lifecycle transitions. */ export declare const CONSENT_STATUSES: readonly ["granted", "withdrawn", "denied", "expired"]; export declare const ConsentStatusSchema: z.ZodEnum<{ denied: "denied"; granted: "granted"; withdrawn: "withdrawn"; expired: "expired"; }>; export type ConsentStatus = z.infer; export declare const ConsentExtensionSchema: z.ZodObject<{ consent_basis: z.ZodString; consent_status: z.ZodEnum<{ denied: "denied"; granted: "granted"; withdrawn: "withdrawn"; expired: "expired"; }>; data_categories: z.ZodOptional>; retention_period: z.ZodOptional; consent_method: z.ZodOptional; withdrawal_uri: z.ZodOptional; scope: z.ZodOptional; jurisdiction: z.ZodOptional; }, z.core.$strict>; export type ConsentExtension = z.infer; //# sourceMappingURL=consent.d.ts.map