import { z } from "zod"; import { PROTOCOL_RECORD_PROJECTION_DELIVERY_POLICY_VERSION, PROTOCOL_RECORD_PROJECTION_DESCRIPTOR_VERSION, PROTOCOL_RECORD_PROJECTION_ROUTE_VERSION } from "../../../events/outbox"; export declare const PolicyAdmissionConflictObservationSchema: z.ZodObject<{ conflictClass: z.ZodEnum<{ aggregate_cas_conflict: "aggregate_cas_conflict"; aggregate_record_binding_conflict: "aggregate_record_binding_conflict"; prerequisite_guard_conflict: "prerequisite_guard_conflict"; }>; pointer: z.ZodObject<{ pointerKind: z.ZodEnum<{ isolation_state: "isolation_state"; projection_delivery: "projection_delivery"; effect_observation: "effect_observation"; authority_context: "authority_context"; configuration_state: "configuration_state"; aggregate_authority: "aggregate_authority"; idempotency_claim: "idempotency_claim"; operation_claim: "operation_claim"; effect_lineage: "effect_lineage"; access_lease: "access_lease"; access_usage: "access_usage"; }>; localId: z.ZodString; }, z.core.$strict>; expected: z.ZodDiscriminatedUnion<[z.ZodObject<{ kind: z.ZodLiteral<"absent">; }, z.core.$strict>, z.ZodObject<{ kind: z.ZodLiteral<"exact">; witness: z.ZodObject<{ record: z.ZodObject<{ recordKind: z.ZodEnum<{ authority_binding: "authority_binding"; authority_state: "authority_state"; authority_evidence: "authority_evidence"; projection_state: "projection_state"; }>; localId: z.ZodString; }, z.core.$strict>; semanticState: z.ZodString; version: z.ZodNumber; digest: z.ZodString; }, z.core.$strict>; }, z.core.$strict>], "kind">; current: z.ZodNullable; localId: z.ZodString; }, z.core.$strict>; semanticState: z.ZodString; version: z.ZodNumber; digest: z.ZodString; }, z.core.$strict>>; attempted: z.ZodObject<{ sourceCommit: z.ZodObject<{ mutationKind: z.ZodLiteral<"policy_admission">; localId: z.ZodString; }, z.core.$strict>; requestDigest: z.ZodString; transactionDigest: z.ZodString; attemptDigest: z.ZodString; aggregateSnapshotDigest: z.ZodString; }, z.core.$strict>; }, z.core.$strict>; export type PolicyAdmissionConflictObservation = z.infer; export declare const PolicyAdmissionConflictWitnessSchema: z.ZodObject<{ conflictClass: z.ZodEnum<{ aggregate_cas_conflict: "aggregate_cas_conflict"; aggregate_record_binding_conflict: "aggregate_record_binding_conflict"; prerequisite_guard_conflict: "prerequisite_guard_conflict"; }>; pointer: z.ZodObject<{ pointerKind: z.ZodEnum<{ isolation_state: "isolation_state"; projection_delivery: "projection_delivery"; effect_observation: "effect_observation"; authority_context: "authority_context"; configuration_state: "configuration_state"; aggregate_authority: "aggregate_authority"; idempotency_claim: "idempotency_claim"; operation_claim: "operation_claim"; effect_lineage: "effect_lineage"; access_lease: "access_lease"; access_usage: "access_usage"; }>; localId: z.ZodString; }, z.core.$strict>; expected: z.ZodDiscriminatedUnion<[z.ZodObject<{ kind: z.ZodLiteral<"absent">; }, z.core.$strict>, z.ZodObject<{ kind: z.ZodLiteral<"exact">; witness: z.ZodObject<{ record: z.ZodObject<{ recordKind: z.ZodEnum<{ authority_binding: "authority_binding"; authority_state: "authority_state"; authority_evidence: "authority_evidence"; projection_state: "projection_state"; }>; localId: z.ZodString; }, z.core.$strict>; semanticState: z.ZodString; version: z.ZodNumber; digest: z.ZodString; }, z.core.$strict>; }, z.core.$strict>], "kind">; current: z.ZodNullable; localId: z.ZodString; }, z.core.$strict>; semanticState: z.ZodString; version: z.ZodNumber; digest: z.ZodString; }, z.core.$strict>>; attempted: z.ZodObject<{ sourceCommit: z.ZodObject<{ mutationKind: z.ZodLiteral<"policy_admission">; localId: z.ZodString; }, z.core.$strict>; requestDigest: z.ZodString; transactionDigest: z.ZodString; attemptDigest: z.ZodString; aggregateSnapshotDigest: z.ZodString; }, z.core.$strict>; ordinal: z.ZodNumber; }, z.core.$strict>; export type PolicyAdmissionConflictWitness = z.infer; export declare const PolicyAdmissionTerminalEvidenceSchema: z.ZodObject<{ terminalNonauthorityVersion: z.ZodLiteral<"policy-admission-terminal-nonauthority-1">; terminalReason: z.ZodEnum<{ prerequisite_drift: "prerequisite_drift"; contention_exhausted: "contention_exhausted"; }>; conflicts: z.ZodArray; pointer: z.ZodObject<{ pointerKind: z.ZodEnum<{ isolation_state: "isolation_state"; projection_delivery: "projection_delivery"; effect_observation: "effect_observation"; authority_context: "authority_context"; configuration_state: "configuration_state"; aggregate_authority: "aggregate_authority"; idempotency_claim: "idempotency_claim"; operation_claim: "operation_claim"; effect_lineage: "effect_lineage"; access_lease: "access_lease"; access_usage: "access_usage"; }>; localId: z.ZodString; }, z.core.$strict>; expected: z.ZodDiscriminatedUnion<[z.ZodObject<{ kind: z.ZodLiteral<"absent">; }, z.core.$strict>, z.ZodObject<{ kind: z.ZodLiteral<"exact">; witness: z.ZodObject<{ record: z.ZodObject<{ recordKind: z.ZodEnum<{ authority_binding: "authority_binding"; authority_state: "authority_state"; authority_evidence: "authority_evidence"; projection_state: "projection_state"; }>; localId: z.ZodString; }, z.core.$strict>; semanticState: z.ZodString; version: z.ZodNumber; digest: z.ZodString; }, z.core.$strict>; }, z.core.$strict>], "kind">; current: z.ZodNullable; localId: z.ZodString; }, z.core.$strict>; semanticState: z.ZodString; version: z.ZodNumber; digest: z.ZodString; }, z.core.$strict>>; attempted: z.ZodObject<{ sourceCommit: z.ZodObject<{ mutationKind: z.ZodLiteral<"policy_admission">; localId: z.ZodString; }, z.core.$strict>; requestDigest: z.ZodString; transactionDigest: z.ZodString; attemptDigest: z.ZodString; aggregateSnapshotDigest: z.ZodString; }, z.core.$strict>; ordinal: z.ZodNumber; }, z.core.$strict>>; }, z.core.$strict>; export type PolicyAdmissionTerminalEvidence = z.infer; export declare const PolicyAdmissionAttemptBindingSchema: z.ZodObject<{ policyAdmissionAttemptVersion: z.ZodLiteral<"policy-admission-attempt-2">; sourceScope: z.ZodObject<{ tenantId: z.ZodString; organizationId: z.ZodString; }, z.core.$strict>; actionContract: z.ZodObject<{ objectId: z.ZodString; canonicalDigest: z.ZodString; actionContractDigest: z.ZodString; }, z.core.$strict>; envelope: z.ZodObject<{ objectId: z.ZodString; canonicalDigest: z.ZodString; }, z.core.$strict>; policyEvaluator: z.ZodObject<{ ref: z.ZodString; digest: z.ZodString; }, z.core.$strict>; request: z.ZodObject<{ actionContractId: z.ZodString; envelopeId: z.ZodString; policyEvaluatorVersion: z.ZodString; requiredTypedCommitmentRefs: z.ZodArray; requiredTypedCommitmentSetDigest: z.ZodNullable; typedCommitments: z.ZodArray; profile: z.ZodEnum<{ handshake_jcs_typed: "handshake_jcs_typed"; eip712: "eip712"; }>; verificationStatus: z.ZodEnum<{ unverified: "unverified"; proof_gap: "proof_gap"; verified: "verified"; refused: "refused"; unsupported: "unsupported"; }>; replayStatus: z.ZodEnum<{ stale: "stale"; fresh: "fresh"; replayed: "replayed"; missing: "missing"; not_applicable: "not_applicable"; }>; verifierContextDigest: z.ZodDefault>; safetyPosture: z.ZodEnum<{ proof_gap: "proof_gap"; refused: "refused"; display_bound: "display_bound"; digest_bound: "digest_bound"; verifier_bound: "verifier_bound"; provider_observed: "provider_observed"; }>; }, z.core.$strict>>; reviewDecisionId: z.ZodNullable; }, z.core.$strict>; }, z.core.$strict>; export type PolicyAdmissionAttemptBinding = z.infer; export declare const PolicyAdmissionProjectionProfileSchema: z.ZodType; export type PolicyAdmissionProjectionProfile = Readonly<{ descriptorVersion: typeof PROTOCOL_RECORD_PROJECTION_DESCRIPTOR_VERSION; deliveryPolicy: Readonly<{ policyVersion: typeof PROTOCOL_RECORD_PROJECTION_DELIVERY_POLICY_VERSION; maxAttempts: 16; maxLeaseTicks: 10_000; }>; route: Readonly<{ routeVersion: typeof PROTOCOL_RECORD_PROJECTION_ROUTE_VERSION; authoritySourceNamespace: "handshake-policy-authority-source"; destinationNamespace: "handshake-protocol-read-model"; configurationDigest: `sha256:${string}`; }>; }>; export declare const PolicyAdmissionTransactionBindingSchema: z.ZodObject<{ policyAdmissionTransactionBindingVersion: z.ZodLiteral<"policy-admission-transaction-binding-2">; logicalAttempt: z.ZodObject<{ policyAdmissionAttemptVersion: z.ZodLiteral<"policy-admission-attempt-2">; sourceScope: z.ZodObject<{ tenantId: z.ZodString; organizationId: z.ZodString; }, z.core.$strict>; actionContract: z.ZodObject<{ objectId: z.ZodString; canonicalDigest: z.ZodString; actionContractDigest: z.ZodString; }, z.core.$strict>; envelope: z.ZodObject<{ objectId: z.ZodString; canonicalDigest: z.ZodString; }, z.core.$strict>; policyEvaluator: z.ZodObject<{ ref: z.ZodString; digest: z.ZodString; }, z.core.$strict>; request: z.ZodObject<{ actionContractId: z.ZodString; envelopeId: z.ZodString; policyEvaluatorVersion: z.ZodString; requiredTypedCommitmentRefs: z.ZodArray; requiredTypedCommitmentSetDigest: z.ZodNullable; typedCommitments: z.ZodArray; profile: z.ZodEnum<{ handshake_jcs_typed: "handshake_jcs_typed"; eip712: "eip712"; }>; verificationStatus: z.ZodEnum<{ unverified: "unverified"; proof_gap: "proof_gap"; verified: "verified"; refused: "refused"; unsupported: "unsupported"; }>; replayStatus: z.ZodEnum<{ stale: "stale"; fresh: "fresh"; replayed: "replayed"; missing: "missing"; not_applicable: "not_applicable"; }>; verifierContextDigest: z.ZodDefault>; safetyPosture: z.ZodEnum<{ proof_gap: "proof_gap"; refused: "refused"; display_bound: "display_bound"; digest_bound: "digest_bound"; verifier_bound: "verifier_bound"; provider_observed: "provider_observed"; }>; }, z.core.$strict>>; reviewDecisionId: z.ZodNullable; }, z.core.$strict>; }, z.core.$strict>; logicalAttemptDigest: z.ZodString; actionContractId: z.ZodString; actionContractDigest: z.ZodString; policyInput: z.ZodType>; policyInputDigest: z.ZodString; aggregateSnapshot: z.ZodType>; aggregateSnapshotDigest: z.ZodString; isolationSnapshotDigest: z.ZodString; aggregatePosture: z.ZodEnum<{ required: "required"; missing: "missing"; not_applicable: "not_applicable"; }>; pointerGuardSetDigest: z.ZodString; pointerGuards: z.ZodArray; localId: z.ZodString; }, z.core.$strict>; expected: z.ZodDiscriminatedUnion<[z.ZodObject<{ kind: z.ZodLiteral<"absent">; }, z.core.$strict>, z.ZodObject<{ kind: z.ZodLiteral<"exact">; witness: z.ZodObject<{ record: z.ZodObject<{ recordKind: z.ZodEnum<{ authority_binding: "authority_binding"; authority_state: "authority_state"; authority_evidence: "authority_evidence"; projection_state: "projection_state"; }>; localId: z.ZodString; }, z.core.$strict>; semanticState: z.ZodString; version: z.ZodNumber; digest: z.ZodString; }, z.core.$strict>; }, z.core.$strict>], "kind">; }, z.core.$strict>>; temporalFence: z.ZodNullable; notBefore: z.ZodString; notAfter: z.ZodString; }, z.core.$strict>>; outcome: z.ZodEnum<{ review_required: "review_required"; proof_gap: "proof_gap"; refuse: "refuse"; quarantine: "quarantine"; greenlight: "greenlight"; halt: "halt"; }>; decision: z.ZodObject<{ objectId: z.ZodString; canonicalDigest: z.ZodString; }, z.core.$strict>; greenlight: z.ZodNullable>; refusal: z.ZodNullable>; proofGap: z.ZodNullable>; protocolRecords: z.ZodArray; objectType: z.ZodEnum<{ refusal: "refusal"; proof_gap: "proof_gap"; greenlight: "greenlight"; transition_request_context: "transition_request_context"; policy_decision: "policy_decision"; }>; objectId: z.ZodString; canonicalDigest: z.ZodString; envelopeDigest: z.ZodString; }, z.core.$strict>>; eventDescriptorDigests: z.ZodArray; eventProjectionBindingDigests: z.ZodArray; protocolRecordProjectionProfile: z.ZodType; route: Readonly<{ routeVersion: typeof PROTOCOL_RECORD_PROJECTION_ROUTE_VERSION; authoritySourceNamespace: "handshake-policy-authority-source"; destinationNamespace: "handshake-protocol-read-model"; configurationDigest: `sha256:${string}`; }>; }>, unknown, z.core.$ZodTypeInternals; route: Readonly<{ routeVersion: typeof PROTOCOL_RECORD_PROJECTION_ROUTE_VERSION; authoritySourceNamespace: "handshake-policy-authority-source"; destinationNamespace: "handshake-protocol-read-model"; configurationDigest: `sha256:${string}`; }>; }>, unknown>>; protocolRecordProjectionProfileDigest: z.ZodString; }, z.core.$strict>; export type PolicyAdmissionTransactionBinding = z.infer; export declare const PolicyAdmissionOutcomeSourcePayloadSchema: z.ZodObject<{ policyAdmissionOutcomeSourceVersion: z.ZodLiteral<"policy-admission-outcome-source-2">; attemptDigest: z.ZodString; transactionDigest: z.ZodString; transactionBinding: z.ZodObject<{ policyAdmissionTransactionBindingVersion: z.ZodLiteral<"policy-admission-transaction-binding-2">; logicalAttempt: z.ZodObject<{ policyAdmissionAttemptVersion: z.ZodLiteral<"policy-admission-attempt-2">; sourceScope: z.ZodObject<{ tenantId: z.ZodString; organizationId: z.ZodString; }, z.core.$strict>; actionContract: z.ZodObject<{ objectId: z.ZodString; canonicalDigest: z.ZodString; actionContractDigest: z.ZodString; }, z.core.$strict>; envelope: z.ZodObject<{ objectId: z.ZodString; canonicalDigest: z.ZodString; }, z.core.$strict>; policyEvaluator: z.ZodObject<{ ref: z.ZodString; digest: z.ZodString; }, z.core.$strict>; request: z.ZodObject<{ actionContractId: z.ZodString; envelopeId: z.ZodString; policyEvaluatorVersion: z.ZodString; requiredTypedCommitmentRefs: z.ZodArray; requiredTypedCommitmentSetDigest: z.ZodNullable; typedCommitments: z.ZodArray; profile: z.ZodEnum<{ handshake_jcs_typed: "handshake_jcs_typed"; eip712: "eip712"; }>; verificationStatus: z.ZodEnum<{ unverified: "unverified"; proof_gap: "proof_gap"; verified: "verified"; refused: "refused"; unsupported: "unsupported"; }>; replayStatus: z.ZodEnum<{ stale: "stale"; fresh: "fresh"; replayed: "replayed"; missing: "missing"; not_applicable: "not_applicable"; }>; verifierContextDigest: z.ZodDefault>; safetyPosture: z.ZodEnum<{ proof_gap: "proof_gap"; refused: "refused"; display_bound: "display_bound"; digest_bound: "digest_bound"; verifier_bound: "verifier_bound"; provider_observed: "provider_observed"; }>; }, z.core.$strict>>; reviewDecisionId: z.ZodNullable; }, z.core.$strict>; }, z.core.$strict>; logicalAttemptDigest: z.ZodString; actionContractId: z.ZodString; actionContractDigest: z.ZodString; policyInput: z.ZodType>; policyInputDigest: z.ZodString; aggregateSnapshot: z.ZodType>; aggregateSnapshotDigest: z.ZodString; isolationSnapshotDigest: z.ZodString; aggregatePosture: z.ZodEnum<{ required: "required"; missing: "missing"; not_applicable: "not_applicable"; }>; pointerGuardSetDigest: z.ZodString; pointerGuards: z.ZodArray; localId: z.ZodString; }, z.core.$strict>; expected: z.ZodDiscriminatedUnion<[z.ZodObject<{ kind: z.ZodLiteral<"absent">; }, z.core.$strict>, z.ZodObject<{ kind: z.ZodLiteral<"exact">; witness: z.ZodObject<{ record: z.ZodObject<{ recordKind: z.ZodEnum<{ authority_binding: "authority_binding"; authority_state: "authority_state"; authority_evidence: "authority_evidence"; projection_state: "projection_state"; }>; localId: z.ZodString; }, z.core.$strict>; semanticState: z.ZodString; version: z.ZodNumber; digest: z.ZodString; }, z.core.$strict>; }, z.core.$strict>], "kind">; }, z.core.$strict>>; temporalFence: z.ZodNullable; notBefore: z.ZodString; notAfter: z.ZodString; }, z.core.$strict>>; outcome: z.ZodEnum<{ review_required: "review_required"; proof_gap: "proof_gap"; refuse: "refuse"; quarantine: "quarantine"; greenlight: "greenlight"; halt: "halt"; }>; decision: z.ZodObject<{ objectId: z.ZodString; canonicalDigest: z.ZodString; }, z.core.$strict>; greenlight: z.ZodNullable>; refusal: z.ZodNullable>; proofGap: z.ZodNullable>; protocolRecords: z.ZodArray; objectType: z.ZodEnum<{ refusal: "refusal"; proof_gap: "proof_gap"; greenlight: "greenlight"; transition_request_context: "transition_request_context"; policy_decision: "policy_decision"; }>; objectId: z.ZodString; canonicalDigest: z.ZodString; envelopeDigest: z.ZodString; }, z.core.$strict>>; eventDescriptorDigests: z.ZodArray; eventProjectionBindingDigests: z.ZodArray; protocolRecordProjectionProfile: z.ZodType; route: Readonly<{ routeVersion: typeof PROTOCOL_RECORD_PROJECTION_ROUTE_VERSION; authoritySourceNamespace: "handshake-policy-authority-source"; destinationNamespace: "handshake-protocol-read-model"; configurationDigest: `sha256:${string}`; }>; }>, unknown, z.core.$ZodTypeInternals; route: Readonly<{ routeVersion: typeof PROTOCOL_RECORD_PROJECTION_ROUTE_VERSION; authoritySourceNamespace: "handshake-policy-authority-source"; destinationNamespace: "handshake-protocol-read-model"; configurationDigest: `sha256:${string}`; }>; }>, unknown>>; protocolRecordProjectionProfileDigest: z.ZodString; }, z.core.$strict>; actionContractId: z.ZodString; actionContractDigest: z.ZodString; policyDecisionId: z.ZodString; policyInputDigest: z.ZodString; aggregateSnapshotDigest: z.ZodString; isolationSnapshotDigest: z.ZodString; aggregatePosture: z.ZodEnum<{ required: "required"; missing: "missing"; not_applicable: "not_applicable"; }>; outcome: z.ZodEnum<{ review_required: "review_required"; proof_gap: "proof_gap"; refuse: "refuse"; quarantine: "quarantine"; greenlight: "greenlight"; halt: "halt"; }>; greenlightId: z.ZodNullable; refusalId: z.ZodNullable; proofGapId: z.ZodNullable; protocolRecords: z.ZodArray; tenantId: z.ZodString; organizationId: z.ZodString; schemaVersion: z.ZodString; canonicalDigest: z.ZodString; payload: z.ZodType>; createdAt: z.ZodString; sourceEventId: z.ZodNull; }, z.core.$strict>>; }, z.core.$strict>; export declare const GreenlightIssuanceSourcePayloadSchema: z.ZodObject<{ greenlightIssuanceSourceVersion: z.ZodLiteral<"greenlight-issuance-source-1">; attemptDigest: z.ZodString; transactionDigest: z.ZodString; actionContractId: z.ZodString; actionContractDigest: z.ZodString; policyDecisionId: z.ZodString; policyInputDigest: z.ZodString; greenlightId: z.ZodString; maxUses: z.ZodLiteral<1>; expiresAt: z.ZodString; }, z.core.$strict>; export declare const PolicyIdempotencyClaimSourcePayloadSchema: z.ZodObject<{ policyIdempotencyClaimSourceVersion: z.ZodLiteral<"policy-idempotency-claim-source-1">; attemptDigest: z.ZodString; transactionDigest: z.ZodString; ledgerKeyDigest: z.ZodString; idempotencyKey: z.ZodString; paramsDigest: z.ZodString; actionContractId: z.ZodString; actionContractDigest: z.ZodString; policyDecisionId: z.ZodString; greenlightId: z.ZodString; state: z.ZodLiteral<"authority_reserved">; }, z.core.$strict>;