/**
 * ComplianceContractPort — runtime compliance gate for the Vauban Integration Spine.
 *
 * Implements the G-2 Cedar pivot from S5 spec:
 * - pre-step: block or warn before capability invocation
 * - post-step: audit trail after invocation
 * - validateManifest: conflict detection at registration
 *
 * Cedar policy bundles: eu.gdpr / eu.mica / eu.tfr (V0 scope per S5 Q5.1).
 */
export const SUPPORTED_JURISDICTIONS_V0 = ["FR.v1", "EU.v1"];
// ─── Typed errors ─────────────────────────────────────────────────────────────
export class CompliancePolicyError extends Error {
    ruleId;
    cause;
    constructor(message, ruleId, cause) {
        super(message);
        this.ruleId = ruleId;
        this.cause = cause;
        this.name = "CompliancePolicyError";
        Object.setPrototypeOf(this, new.target.prototype);
    }
}
export class ComplianceEvaluationTimeoutError extends Error {
    timeoutMs;
    cause;
    constructor(timeoutMs, cause) {
        super(`Compliance evaluation timed out after ${timeoutMs}ms`);
        this.timeoutMs = timeoutMs;
        this.cause = cause;
        this.name = "ComplianceEvaluationTimeoutError";
        Object.setPrototypeOf(this, new.target.prototype);
    }
}
//# sourceMappingURL=compliance-contract.js.map