import { z } from "zod"; export declare const CODEX_X402_PROTECTED_TOOL_ACTIVATION_VERSION: "handshake.adapter.x402-protected-tool-codex-activation.v1"; export declare const CodexX402ProtectedToolActivationInputSchema: z.ZodObject<{ schemaVersion: z.ZodDefault>; activationId: z.ZodString; packageIdentifier: z.ZodString; packageVersion: z.ZodString; profileInput: z.ZodObject<{ schemaVersion: z.ZodDefault>; profileId: z.ZodString; hostFamily: z.ZodEnum<{ codex_local: "codex_local"; claude_code_mcp: "claude_code_mcp"; hermes: "hermes"; openclaw: "openclaw"; generic_mcp: "generic_mcp"; }>; hostProfileRef: z.ZodString; runtimeAdapterRef: z.ZodString; toolCatalogDigest: z.ZodString; metadataDigest: z.ZodString; gatewayReadiness: z.ZodObject<{ readinessStatus: z.ZodEnum<{ trusted_gateway_ready: "trusted_gateway_ready"; local_posture_evidence_present: "local_posture_evidence_present"; not_ready: "not_ready"; }>; readinessScope: z.ZodDefault>; readinessProofLevel: z.ZodDefault>; trustedReadiness: z.ZodBoolean; requiredNextMechanism: z.ZodEnum<{ initialize_project: "initialize_project"; compile_install: "compile_install"; record_probe_report: "record_probe_report"; register_control_plane_install: "register_control_plane_install"; ready_for_runtime_facade: "ready_for_runtime_facade"; }>; gatewayReadinessRef: z.ZodNullable; gatewayReadinessDigest: z.ZodDefault>; readinessExpiresAt: z.ZodDefault>; installDigest: z.ZodDefault>; probePostureDigest: z.ZodDefault>; paymentRequirementsDigest: z.ZodDefault>; selectedPaymentRequirementDigest: z.ZodDefault>; gatewayId: z.ZodNullable; gatewayRegistrationRef: z.ZodDefault>; gatewayCredentialRefDigest: z.ZodDefault>; gatewayCredentialCustodyStatus: z.ZodDefault>; gatewayCustodyProofPacketRef: z.ZodDefault>; gatewayCustodyProofPacketDigest: z.ZodDefault>; gatewayCustodyClaimLevel: z.ZodDefault>; gatewayCustodyExternalVerificationStatus: z.ZodDefault>; gatewayCustodyProofExpiresAt: z.ZodDefault>; gatewayPosture: z.ZodDefault>; policyVersionRef: z.ZodNullable; policyVersionDigest: z.ZodDefault>; gatewayRegistryEntryRef: z.ZodDefault>; operatingEnvelopeRef: z.ZodDefault>; rawCredentialRefsIncluded: z.ZodDefault>; proofGapReasonCodes: z.ZodDefault>; evidenceRefs: z.ZodDefault>; }, z.core.$strict>; facadeInput: z.ZodObject<{ schemaVersion: z.ZodDefault>; requestId: z.ZodString; principalId: z.ZodString; agentId: z.ZodString; principalIntentRef: z.ZodString; generatedCodeOrSpecRef: z.ZodString; runtimeAdapterRef: z.ZodString; runId: z.ZodString; dispatchBoundaryRef: z.ZodString; dispatchRef: z.ZodString; operatingEnvelopeId: z.ZodString; toolCapabilityId: z.ZodString; actionTypeId: z.ZodString; gatewayRegistryEntryId: z.ZodString; gatewayId: z.ZodString; policyOwnerRef: z.ZodString; evidenceConsumerRef: z.ZodString; contractExpiresAt: z.ZodString; idempotencyKey: z.ZodString; metadataDigest: z.ZodString; toolCatalogDigest: z.ZodString; actionCatalogDigest: z.ZodString; gatewayRegistryDigest: z.ZodString; metadataFreshness: z.ZodDefault>; policyFreshness: z.ZodDefault>; installReadiness: z.ZodDefault>; gatewayPosture: z.ZodDefault>; readinessProofLevel: z.ZodDefault>; gatewayReadinessRef: z.ZodString; gatewayReadinessDigest: z.ZodString; readinessExpiresAt: z.ZodString; installDigest: z.ZodString; probePostureDigest: z.ZodString; gatewayRegistrationRef: z.ZodString; gatewayCredentialRefDigest: z.ZodString; gatewayCredentialCustodyStatus: z.ZodEnum<{ unknown: "unknown"; gateway_held: "gateway_held"; fixture_gateway_held: "fixture_gateway_held"; agent_exposed: "agent_exposed"; }>; gatewayCustodyProofPacketRef: z.ZodString; gatewayCustodyProofPacketDigest: z.ZodString; gatewayCustodyClaimLevel: z.ZodEnum<{ proof_gap: "proof_gap"; local_fixture: "local_fixture"; customer_gateway_evidence: "customer_gateway_evidence"; provider_gateway_evidence: "provider_gateway_evidence"; }>; gatewayCustodyExternalVerificationStatus: z.ZodEnum<{ not_required: "not_required"; required_before_live_claim: "required_before_live_claim"; verified_by_official_source: "verified_by_official_source"; }>; gatewayCustodyProofExpiresAt: z.ZodString; policyVersionRef: z.ZodString; policyVersionDigest: z.ZodString; rawCredentialRefsIncluded: z.ZodDefault>; endpointUrl: z.ZodString; payee: z.ZodString; payTo: z.ZodString; network: z.ZodString; token: z.ZodString; asset: z.ZodString; atomicAmount: z.ZodString; x402EvidenceProfile: z.ZodLiteral<"official_payment_required">; paymentRequirementsDigest: z.ZodString; paymentRequiredEvidenceRef: z.ZodString; facilitatorRef: z.ZodDefault>; intendedHttpMethod: z.ZodString; intendedRequestUrl: z.ZodString; intendedRequestBodyPosture: z.ZodEnum<{ unsupported: "unsupported"; no_body: "no_body"; digest_bound: "digest_bound"; omitted: "omitted"; }>; intendedRequestBodyDigest: z.ZodNullable; selectedHeadersDigest: z.ZodString; providerEnvironmentPosture: z.ZodEnum<{ unknown: "unknown"; local_reference_sandbox: "local_reference_sandbox"; external_sandbox: "external_sandbox"; live: "live"; }>; providerEnvironmentRef: z.ZodNullable; x402Version: z.ZodNumber; x402Scheme: z.ZodLiteral<"exact">; maxTimeoutSeconds: z.ZodNumber; selectedPaymentRequirementIndex: z.ZodNumber; selectedPaymentRequirementDigest: z.ZodString; sdkPackageVersions: z.ZodRecord; extensionKeys: z.ZodDefault>; sequenceNumber: z.ZodDefault; loopDetected: z.ZodDefault; retryDetected: z.ZodDefault; branchDetected: z.ZodDefault; correlationRef: z.ZodDefault>; evidenceRefs: z.ZodDefault>; }, z.core.$strict>; transcriptRef: z.ZodDefault>; evidenceRefs: z.ZodDefault>; }, z.core.$strict>; codexConfigTarget: z.ZodDefault; mcpServerName: z.ZodDefault; command: z.ZodDefault; args: z.ZodArray; observedAt: z.ZodString; expiresAt: z.ZodString; configDigest: z.ZodString; hostToolDigest: z.ZodString; toolListDigest: z.ZodString; gatewayBindingStatus: z.ZodDefault>; oneUseGreenlightObserved: z.ZodDefault; gatewayCheckObserved: z.ZodDefault; downstreamExecutionRecordedSeparately: z.ZodDefault; rawSiblingResults: z.ZodOptional; probeKind: z.ZodEnum<{ credential_custody: "credential_custody"; raw_sibling_blocking: "raw_sibling_blocking"; mcp_direct_call_blocking: "mcp_direct_call_blocking"; token_passthrough_blocking: "token_passthrough_blocking"; wrapper_drift: "wrapper_drift"; failure_closed: "failure_closed"; }>; evidenceRefs: z.ZodArray; proofGapReasonCodes: z.ZodDefault>; }, z.core.$strict>>>; evidenceRefs: z.ZodDefault>; proofGapReasonCodes: z.ZodDefault>; }, z.core.$strict>; export type CodexX402ProtectedToolActivationInput = z.input; export declare const CodexX402ProtectedToolActivationArtifactSchema: z.ZodObject<{ schemaVersion: z.ZodLiteral<"handshake.adapter.x402-protected-tool-codex-activation.v1">; activationId: z.ZodString; hostFamily: z.ZodLiteral<"codex_local">; packageIdentifier: z.ZodString; packageVersion: z.ZodString; toolName: z.ZodLiteral<"handshake.actions.x402_payment.propose">; codexConfigTarget: z.ZodString; mcpServerName: z.ZodString; command: z.ZodString; args: z.ZodArray; profileOutcome: z.ZodEnum<{ profile_prepared: "profile_prepared"; profile_not_ready: "profile_not_ready"; facade_challenge: "facade_challenge"; profile_invalid: "profile_invalid"; }>; profileNextAction: z.ZodEnum<{ read_evidence: "read_evidence"; recraft_request: "recraft_request"; stop: "stop"; reload_metadata: "reload_metadata"; fix_install: "fix_install"; wait_for_gateway: "wait_for_gateway"; register_control_plane_install: "register_control_plane_install"; }>; facadeOutcome: z.ZodNullable>; runtimeDispatchPrepared: z.ZodBoolean; activationPosture: z.ZodEnum<{ host_specific_ready: "host_specific_ready"; host_specific_not_ready: "host_specific_not_ready"; host_specific_proof_gap: "host_specific_proof_gap"; }>; manifest: z.ZodObject<{ manifestKind: z.ZodLiteral<"host_fixture_manifest">; manifestVersion: z.ZodLiteral<"v1">; manifestId: z.ZodString; host: z.ZodObject<{ hostId: z.ZodString; hostKind: z.ZodEnum<{ local_package_manager: "local_package_manager"; local_cli: "local_cli"; mcp_stdio: "mcp_stdio"; browser: "browser"; cloud_worker: "cloud_worker"; }>; hostVersionRef: z.ZodString; hostToolDigest: z.ZodString; }, z.core.$strict>; environment: z.ZodObject<{ environmentId: z.ZodString; environmentKind: z.ZodEnum<{ local_dev: "local_dev"; test: "test"; ci: "ci"; preview: "preview"; production: "production"; }>; environmentRef: z.ZodString; }, z.core.$strict>; adapter: z.ZodObject<{ adapterId: z.ZodString; adapterVersion: z.ZodString; }, z.core.$strict>; action: z.ZodObject<{ actionClass: z.ZodString; protectedSurfaceKind: z.ZodString; resourceRef: z.ZodString; }, z.core.$strict>; protectedPath: z.ZodObject<{ protectedPathId: z.ZodString; configuredWrapperPath: z.ZodString; resolvedWrapperPath: z.ZodString; wrapperDigest: z.ZodString; toolListDigest: z.ZodString; rawSiblingCandidates: z.ZodArray; commandRef: z.ZodString; expectedOutcome: z.ZodLiteral<"refused_or_detected">; }, z.core.$strict>>; }, z.core.$strict>; registry: z.ZodObject<{ gatewayRegistryEntryId: z.ZodString; gatewayId: z.ZodString; gatewayRegistryDigest: z.ZodString; }, z.core.$strict>; policy: z.ZodObject<{ policyRef: z.ZodString; policyDigest: z.ZodString; }, z.core.$strict>; freshness: z.ZodObject<{ observedAt: z.ZodString; expiresAt: z.ZodString; maxAgeMs: z.ZodNumber; }, z.core.$strict>; expectedPosture: z.ZodLiteral<"gateway_checked">; redaction: z.ZodObject<{ redactionPolicyRef: z.ZodString; sensitiveValuesIncluded: z.ZodLiteral; preservesEnforcementDistinctions: z.ZodLiteral; }, z.core.$strict>; nonClaims: z.ZodArray; }, z.core.$strict>; proofPacket: z.ZodObject<{ packetKind: z.ZodLiteral<"host_specific_bypass_proof_packet">; packetVersion: z.ZodLiteral<"v1">; manifestId: z.ZodString; host: z.ZodObject<{ hostId: z.ZodString; hostKind: z.ZodEnum<{ local_package_manager: "local_package_manager"; local_cli: "local_cli"; mcp_stdio: "mcp_stdio"; browser: "browser"; cloud_worker: "cloud_worker"; }>; hostVersionRef: z.ZodString; hostToolDigest: z.ZodString; }, z.core.$strict>; environment: z.ZodObject<{ environmentId: z.ZodString; environmentKind: z.ZodEnum<{ local_dev: "local_dev"; test: "test"; ci: "ci"; preview: "preview"; production: "production"; }>; environmentRef: z.ZodString; }, z.core.$strict>; adapter: z.ZodObject<{ adapterId: z.ZodString; adapterVersion: z.ZodString; }, z.core.$strict>; action: z.ZodObject<{ actionClass: z.ZodString; protectedSurfaceKind: z.ZodString; resourceRef: z.ZodString; }, z.core.$strict>; protectedPath: z.ZodObject<{ protectedPathId: z.ZodString; configuredWrapperPath: z.ZodString; resolvedWrapperPath: z.ZodString; wrapperDigest: z.ZodString; toolListDigest: z.ZodString; rawSiblingCandidates: z.ZodArray; commandRef: z.ZodString; expectedOutcome: z.ZodLiteral<"refused_or_detected">; }, z.core.$strict>>; }, z.core.$strict>; registry: z.ZodObject<{ gatewayRegistryEntryId: z.ZodString; gatewayId: z.ZodString; gatewayRegistryDigest: z.ZodString; }, z.core.$strict>; policy: z.ZodObject<{ policyRef: z.ZodString; policyDigest: z.ZodString; }, z.core.$strict>; wrapperIntegrity: z.ZodObject<{ status: z.ZodEnum<{ missing: "missing"; matched: "matched"; drifted: "drifted"; }>; configuredWrapperPath: z.ZodString; expectedResolvedWrapperPath: z.ZodString; observedResolvedWrapperPath: z.ZodNullable; expectedWrapperDigest: z.ZodString; observedWrapperDigest: z.ZodNullable; }, z.core.$strict>; freshness: z.ZodObject<{ status: z.ZodEnum<{ proof_gap: "proof_gap"; stale: "stale"; fresh: "fresh"; }>; observedAt: z.ZodString; expiresAt: z.ZodString; toolListDigest: z.ZodString; observedHostToolDigest: z.ZodNullable; }, z.core.$strict>; gatewayBinding: z.ZodObject<{ status: z.ZodEnum<{ proof_gap: "proof_gap"; bound: "bound"; unbound: "unbound"; advisory_only: "advisory_only"; }>; gatewayCheckObserved: z.ZodBoolean; oneUseGreenlightObserved: z.ZodBoolean; downstreamExecutionRecordedSeparately: z.ZodBoolean; }, z.core.$strict>; rawSiblingResults: z.ZodArray; probeKind: z.ZodEnum<{ credential_custody: "credential_custody"; raw_sibling_blocking: "raw_sibling_blocking"; mcp_direct_call_blocking: "mcp_direct_call_blocking"; token_passthrough_blocking: "token_passthrough_blocking"; wrapper_drift: "wrapper_drift"; failure_closed: "failure_closed"; }>; evidenceRefs: z.ZodArray; proofGapReasonCodes: z.ZodDefault>; }, z.core.$strict>>; postureState: z.ZodEnum<{ READY: "READY"; ADVISORY_ONLY: "ADVISORY_ONLY"; WRAPPER_MISSING: "WRAPPER_MISSING"; WRAPPER_DRIFTED: "WRAPPER_DRIFTED"; GATEWAY_UNBOUND: "GATEWAY_UNBOUND"; RAW_SIBLING_MUTATION_POSSIBLE: "RAW_SIBLING_MUTATION_POSSIBLE"; STALE_PROBE: "STALE_PROBE"; HOST_TOOL_DIGEST_CHANGED: "HOST_TOOL_DIGEST_CHANGED"; PROOF_GAP: "PROOF_GAP"; }>; evidenceRefs: z.ZodArray; proofGapReasonCodes: z.ZodArray; redaction: z.ZodObject<{ redactionPolicyRef: z.ZodString; sensitiveValuesIncluded: z.ZodLiteral; preservesEnforcementDistinctions: z.ZodLiteral; }, z.core.$strict>; nonClaims: z.ZodArray; }, z.core.$strict>; harnessReport: z.ZodObject<{ reportKind: z.ZodLiteral<"host_bypass_harness_report">; manifestId: z.ZodString; postureState: z.ZodEnum<{ READY: "READY"; ADVISORY_ONLY: "ADVISORY_ONLY"; WRAPPER_MISSING: "WRAPPER_MISSING"; WRAPPER_DRIFTED: "WRAPPER_DRIFTED"; GATEWAY_UNBOUND: "GATEWAY_UNBOUND"; RAW_SIBLING_MUTATION_POSSIBLE: "RAW_SIBLING_MUTATION_POSSIBLE"; STALE_PROBE: "STALE_PROBE"; HOST_TOOL_DIGEST_CHANGED: "HOST_TOOL_DIGEST_CHANGED"; PROOF_GAP: "PROOF_GAP"; }>; protectedPath: z.ZodObject<{ protectedPathId: z.ZodString; configuredWrapperPath: z.ZodString; resolvedWrapperPath: z.ZodString; toolListDigest: z.ZodString; }, z.core.$strict>; wrapperIntegrityStatus: z.ZodEnum<{ missing: "missing"; matched: "matched"; drifted: "drifted"; }>; gatewayBindingStatus: z.ZodEnum<{ proof_gap: "proof_gap"; bound: "bound"; unbound: "unbound"; advisory_only: "advisory_only"; }>; probeFreshnessStatus: z.ZodEnum<{ proof_gap: "proof_gap"; stale: "stale"; fresh: "fresh"; }>; rawSiblingAttempts: z.ZodArray; probeKind: z.ZodEnum<{ credential_custody: "credential_custody"; raw_sibling_blocking: "raw_sibling_blocking"; mcp_direct_call_blocking: "mcp_direct_call_blocking"; token_passthrough_blocking: "token_passthrough_blocking"; wrapper_drift: "wrapper_drift"; failure_closed: "failure_closed"; }>; evidenceRefs: z.ZodArray; proofGapReasonCodes: z.ZodDefault>; }, z.core.$strict>>; evidenceRefs: z.ZodArray; proofGapReasonCodes: z.ZodArray; authority: z.ZodObject<{ reportAuthority: z.ZodLiteral; cliAuthority: z.ZodLiteral; mcpAuthority: z.ZodLiteral; hostWideAuthority: z.ZodLiteral; }, z.core.$strict>; nonClaims: z.ZodArray; }, z.core.$strict>; authorityAudit: z.ZodObject<{ authorityCreated: z.ZodLiteral; policyDecisionCreated: z.ZodLiteral; greenlightCreated: z.ZodLiteral; gatewayCheckPerformedByArtifact: z.ZodLiteral; mutationAttemptedByArtifact: z.ZodLiteral; credentialMaterialIncluded: z.ZodLiteral; signerInvokedByArtifact: z.ZodLiteral; paymentMaterialCreatedByArtifact: z.ZodLiteral; hostWideContainmentClaimed: z.ZodLiteral; liveHostMutationClaimed: z.ZodLiteral; }, z.core.$strict>; proofGaps: z.ZodArray; evidenceRefs: z.ZodArray; nonClaims: z.ZodArray; }, z.core.$strict>; export type CodexX402ProtectedToolActivationArtifact = z.infer; export declare function buildCodexX402ProtectedToolActivation(inputValue: CodexX402ProtectedToolActivationInput): CodexX402ProtectedToolActivationArtifact;