export declare const REGULATED_ACTION_PROFILE: "aps-regulated-action-v0"; export declare const ACTION_CLASS_RANK: { readonly read: 0; readonly internal_write: 1; readonly external_message: 2; readonly financial_movement: 3; readonly regulated_decision: 4; readonly irreversible_action: 5; }; export type ActionClass = keyof typeof ACTION_CLASS_RANK; export declare const RAPV0_TAG: { readonly actor: "APS-RAPV0-ACTOR"; readonly intent: "APS-RAPV0-INTENT"; readonly policy: "APS-RAPV0-POLICY"; readonly resource: "APS-RAPV0-RESOURCE-CONFIRMATION"; readonly authority: "APS-RAPV0-AUTHORITY"; readonly lifecycle: "APS-RAPV0-LIFECYCLE"; }; export interface SignatureBlock { alg: string; key_id: string; sig: string; } export interface AuthorityRef { type: 'id_jag' | 'ema'; issuer: string; subject: string; audience: string; scope_hash: string; issued_at: string; expires_at: string; assertion_hash: string; jti: string; assertion_sig: string; } export interface IntentCommitment { created_before_execution: true; intent_hash: string; expected_effect_hash: string; gateway_nonce: string; timestamp_ms: number; scope: string; signature: string; } export type DecisionBasisLeaf = 'input_artifact_hashes' | 'policy_version_hash' | 'tool_call_refs' | 'risk_flags' | 'approval_state' | 'model_runtime_context_summary_hash' | 'uncertainty_band' | 'resource_correlation_ref'; export interface DecisionBasisCommitment { root_hash: string; leaves_schema: DecisionBasisLeaf[]; raw_chain_of_thought_included: false; } export interface GatewayPolicyDecision { policy_version_hash: string; decision: 'allow' | 'deny' | 'hold'; action_class_assigned: ActionClass; signer: string; signature: string; } export type ResourceConfirmationType = 'native_resource_signed' | 'boundary_attested' | 'boundary_attested_weak' | 'channel_authenticated' | 'manual_reconciliation' | 'missing'; export type RealizedEffectProvenance = 'ban_derived' | 'echoed'; export interface ResourceConfirmationRef { type: ResourceConfirmationType; resource_transaction_id: string; correlation_id: string; gateway_nonce_echo: string; realized_effect_hash: string; realized_effect_provenance: RealizedEffectProvenance; status: string; timestamp_ms: number; signer_key_id: string; signature: string; } export interface TransparencyRef { type: 'scitt' | 'enterprise_merkle_log'; log_id: string; inclusion_proof: InclusionStep[]; anchored_at_state: string; tree_size: number; leaf_hash: string; } export interface InclusionStep { dir: 'L' | 'R'; hash: string; } export interface RegulatedActionReceiptV0 { profile: typeof REGULATED_ACTION_PROFILE; receipt_id: string; action_class: ActionClass; actor_signature: SignatureBlock; aps_delegation_ref?: string; authority_ref?: AuthorityRef; intent_commitment?: IntentCommitment; decision_basis_commitment?: DecisionBasisCommitment; gateway_policy_decision?: GatewayPolicyDecision; resource_confirmation_ref?: ResourceConfirmationRef; transparency_ref?: TransparencyRef; } export interface RegisteredResourceKey { publicKey: string; registered_by_operator: boolean; } export interface VerificationContext { idp_keyset: Record; operator_anchored_idp_copy?: Record; registered_resource_keys: Record; operator_domain_registry: Record; operator_identity_id: string; gateway_key_id?: string; registered_log_roots: Record; allowed_clock_skew_ms?: number; reserved_ts: number; submitted_ts: number; max_authority_execution_window_ms: number; per_class_required_fields?: Partial>; completeness_match?: boolean; anchor_orders_intent_before_resource?: boolean; non_equivocation_ok?: boolean; } export type Disposition = 'void' | 'void_policy_violation' | 'void_temporal_violation' | 'void_reconciliation_mismatch' | 'resource_unbound' | 'authority_invalid' | 'self_attested' | 'regulator_grade_for_class' | 'reconciled' | 'intent_precommitted' | 'authority_bound' | 'incomplete_for_class'; export type IncompleteReason = 'policy_denied_no_execution' | 'missing_authority' | 'missing_transparency_anchor' | 'execution_unconfirmed'; export type AuthorityBasis = 'external_idp' | 'operator_anchored_copy_weak'; export interface TrustDomainSeparation { computed_domains: number; idp_counts: boolean; resource_counts: boolean; operator_identity: string; separation_ok: boolean; } export interface RegulatedVerifyResult { profile: typeof REGULATED_ACTION_PROFILE; disposition: Disposition; incomplete_reason?: IncompleteReason; violations: Disposition[]; missing_evidence: string[]; trust_domain_separation: TrustDomainSeparation; authority_basis?: AuthorityBasis; authority_replay: 'not_evaluated' | 'pass' | 'fail'; judgment_correctness: 'not_claimed'; } //# sourceMappingURL=types.d.ts.map