import { z } from "zod"; import { type NegotiationDecision, type NegotiationOffer, type NegotiationResolution, type ResolveNegotiationInput } from "../../protocol/areas/negotiation"; export declare const A2ANegotiationAdapterApplyRequestAuthorityBoundarySchema: z.ZodObject<{ adapterApplyCreatedAuthority: z.ZodLiteral; negotiationEvidenceCommitted: z.ZodLiteral; actionContractCreated: z.ZodLiteral; policyEvaluated: z.ZodLiteral; greenlightIssued: z.ZodLiteral; gatewayCheckPerformed: z.ZodLiteral; mutationAttempted: z.ZodLiteral; rawTranscriptIncluded: z.ZodLiteral; credentialMaterialIncluded: z.ZodLiteral; paymentMaterialIncluded: z.ZodLiteral; signerMaterialIncluded: z.ZodLiteral; }, z.core.$strict>; export type A2ANegotiationAdapterApplyRequestAuthorityBoundary = z.infer; export declare const A2ANegotiationAdapterApplyResultAuthorityBoundarySchema: z.ZodObject<{ adapterApplyCreatedAuthority: z.ZodLiteral; negotiationEvidenceCommitted: z.ZodBoolean; actionContractCreated: z.ZodLiteral; policyEvaluated: z.ZodLiteral; greenlightIssued: z.ZodLiteral; gatewayCheckPerformed: z.ZodLiteral; mutationAttempted: z.ZodLiteral; rawTranscriptIncluded: z.ZodLiteral; credentialMaterialIncluded: z.ZodLiteral; paymentMaterialIncluded: z.ZodLiteral; signerMaterialIncluded: z.ZodLiteral; }, z.core.$strict>; export type A2ANegotiationAdapterApplyResultAuthorityBoundary = z.infer; export declare const A2ANegotiationAppliedWriteSchema: z.ZodObject<{ writeKind: z.ZodEnum<{ negotiation_offer: "negotiation_offer"; negotiation_decision: "negotiation_decision"; negotiation_resolution_input: "negotiation_resolution_input"; }>; transition: z.ZodEnum<{ recordNegotiationOffer: "recordNegotiationOffer"; recordNegotiationDecision: "recordNegotiationDecision"; resolveNegotiation: "resolveNegotiation"; }>; objectId: z.ZodString; committedObjectRef: z.ZodString; commitState: z.ZodLiteral<"committed">; }, z.core.$strict>; export type A2ANegotiationAppliedWrite = z.infer; export declare const A2ANegotiationFailedWriteSchema: z.ZodObject<{ writeKind: z.ZodEnum<{ negotiation_offer: "negotiation_offer"; negotiation_decision: "negotiation_decision"; negotiation_resolution_input: "negotiation_resolution_input"; }>; transition: z.ZodEnum<{ recordNegotiationOffer: "recordNegotiationOffer"; recordNegotiationDecision: "recordNegotiationDecision"; resolveNegotiation: "resolveNegotiation"; }>; objectId: z.ZodString; failureReasonCode: z.ZodString; failureMessage: z.ZodString; commitState: z.ZodEnum<{ unknown: "unknown"; not_applicable: "not_applicable"; not_started: "not_started"; not_committed: "not_committed"; committed: "committed"; }>; }, z.core.$strict>; export type A2ANegotiationFailedWrite = z.infer; export declare const A2ANegotiationAdapterApplyRequestSchema: z.ZodObject<{ schemaVersion: z.ZodLiteral<"0.2.4">; tenantId: z.ZodString; organizationId: z.ZodString; createdAt: z.ZodString; applyKind: z.ZodLiteral<"a2a_negotiation_adapter_apply_request">; applyId: z.ZodString; moveResult: z.ZodObject<{ schemaVersion: z.ZodLiteral<"0.2.4">; tenantId: z.ZodString; organizationId: z.ZodString; createdAt: z.ZodString; resultKind: z.ZodLiteral<"a2a_negotiation_adapter_move_result">; requestId: z.ZodString; adapterId: z.ZodString; sourceProtocol: z.ZodEnum<{ runtime_evidence: "runtime_evidence"; a2a: "a2a"; acp: "acp"; anp: "anp"; ap2: "ap2"; ucp: "ucp"; x402: "x402"; local_reference: "local_reference"; }>; negotiationSessionId: z.ZodString; ingressCheckpointId: z.ZodString; requestedMove: z.ZodEnum<{ request_for_proposal: "request_for_proposal"; offer: "offer"; counter: "counter"; accept: "accept"; reject: "reject"; withdraw: "withdraw"; expire: "expire"; dispute: "dispute"; }>; resultOutcome: z.ZodEnum<{ proof_gap: "proof_gap"; refuse: "refuse"; compiled: "compiled"; }>; plan: z.ZodDefault; tenantId: z.ZodString; organizationId: z.ZodString; createdAt: z.ZodString; planKind: z.ZodLiteral<"a2a_negotiation_move_plan">; planId: z.ZodString; negotiationSessionId: z.ZodString; ingressCheckpointId: z.ZodString; requestedMove: z.ZodEnum<{ request_for_proposal: "request_for_proposal"; offer: "offer"; counter: "counter"; accept: "accept"; reject: "reject"; withdraw: "withdraw"; expire: "expire"; dispute: "dispute"; }>; planOutcome: z.ZodEnum<{ proof_gap: "proof_gap"; refuse: "refuse"; emit_offer: "emit_offer"; emit_counter_offer_decision_and_resolution: "emit_counter_offer_decision_and_resolution"; emit_decision_and_resolution: "emit_decision_and_resolution"; }>; orderedTransitionCalls: z.ZodDefault>>; offer: z.ZodDefault; tenantId: z.ZodString; organizationId: z.ZodString; createdAt: z.ZodString; negotiationOfferId: z.ZodString; negotiationSessionId: z.ZodString; offerVersionId: z.ZodString; offerSequence: z.ZodNumber; offeredByPartyId: z.ZodString; previousOfferVersionId: z.ZodDefault>; supersedesOfferVersionId: z.ZodDefault>; offerContentDigest: z.ZodString; offerObjectRefs: z.ZodDefault>; offerContentRefs: z.ZodDefault>; proofGapRefs: z.ZodDefault>; externalProtocolEvidenceRefs: z.ZodDefault; protocolVersion: z.ZodString; objectKind: z.ZodString; objectRef: z.ZodString; objectDigest: z.ZodString; evidencePosture: z.ZodLiteral<"imported_evidence_only">; evidenceUse: z.ZodEnum<{ conversation_context: "conversation_context"; descriptor_context: "descriptor_context"; runtime_context: "runtime_context"; mandate_context_evidence: "mandate_context_evidence"; tool_context: "tool_context"; handoff_context: "handoff_context"; other_context: "other_context"; }>; proofGapRefs: z.ZodDefault>; }, z.core.$strict>>>; generatedCodeOrSpecRefs: z.ZodDefault>; declaredAssumptions: z.ZodDefault>; uncertaintyMarkers: z.ZodDefault>; clearingEvidenceRefs: z.ZodDefault; obligationRef: z.ZodOptional; counterpartyRef: z.ZodOptional; }, z.core.$strict>>; expiresAt: z.ZodDefault>; }, z.core.$strict>>>; decision: z.ZodDefault; tenantId: z.ZodString; organizationId: z.ZodString; createdAt: z.ZodString; negotiationDecisionId: z.ZodString; negotiationSessionId: z.ZodString; decidedOfferVersionId: z.ZodString; decidedOfferSequence: z.ZodNumber; decidedByPartyId: z.ZodString; decision: z.ZodEnum<{ counter: "counter"; accept: "accept"; reject: "reject"; withdraw: "withdraw"; expire: "expire"; }>; reasonCodes: z.ZodDefault>; evidenceRefs: z.ZodDefault>; proofGapRefs: z.ZodDefault>; counterOfferVersionId: z.ZodDefault>; decisionDigest: z.ZodString; }, z.core.$strict>>>; resolutionInput: z.ZodDefault; tenantId: z.ZodString; organizationId: z.ZodString; createdAt: z.ZodString; negotiationResolutionId: z.ZodString; resolverPolicy: z.ZodObject<{ schemaVersion: z.ZodLiteral<"0.2.4">; tenantId: z.ZodString; organizationId: z.ZodString; createdAt: z.ZodString; negotiationResolverPolicyId: z.ZodString; resolverVersion: z.ZodString; resolverPolicyDigest: z.ZodString; resolverKind: z.ZodEnum<{ bilateral_protected_action_terms_v1: "bilateral_protected_action_terms_v1"; contract_net_protected_action_terms_v1: "contract_net_protected_action_terms_v1"; }>; allowedMoves: z.ZodArray>; requiredPartyProofPosture: z.ZodEnum<{ allow_self_attested_with_gap: "allow_self_attested_with_gap"; require_host_verified_refs: "require_host_verified_refs"; }>; staleOfferPolicy: z.ZodLiteral<"reject_accepting_non_current_offer">; replayPolicy: z.ZodLiteral<"reject_duplicate_decision_and_binding">; unknownConstraintPolicy: z.ZodLiteral<"proof_gap">; authorityPosture: z.ZodLiteral<"non_authority_resolver">; evidenceRefs: z.ZodDefault>; proofGapRefs: z.ZodDefault>; }, z.core.$strict>; negotiationSessionId: z.ZodString; evaluatedMove: z.ZodEnum<{ request_for_proposal: "request_for_proposal"; offer: "offer"; counter: "counter"; accept: "accept"; reject: "reject"; withdraw: "withdraw"; expire: "expire"; dispute: "dispute"; }>; decisionId: z.ZodDefault>; candidateObligation: z.ZodDefault>; actionTypeId: z.ZodString; actionClass: z.ZodString; resourceRef: z.ZodString; counterpartyRef: z.ZodString; maxUses: z.ZodDefault>; evidenceRefs: z.ZodDefault>; }, z.core.$strict>>>; unknownConstraintRefs: z.ZodDefault>; evidenceRefs: z.ZodDefault>; proofGapRefs: z.ZodDefault>; resolutionDigest: z.ZodString; }, z.core.$strict>>>; stopReasonCode: z.ZodDefault>; evidenceRefs: z.ZodDefault>; proofGapRefs: z.ZodDefault>; authorityBoundary: z.ZodObject<{ protocolRecordsCommitted: z.ZodLiteral; actionContractCreated: z.ZodLiteral; authorityCreated: z.ZodLiteral; policyEvaluated: z.ZodLiteral; greenlightIssued: z.ZodLiteral; gatewayCheckPerformed: z.ZodLiteral; mutationAttempted: z.ZodLiteral; }, z.core.$strict>; }, z.core.$strict>>>; orderedProtocolWrites: z.ZodDefault; transition: z.ZodLiteral<"recordNegotiationOffer">; objectId: z.ZodString; payload: z.ZodObject<{ schemaVersion: z.ZodLiteral<"0.2.4">; tenantId: z.ZodString; organizationId: z.ZodString; createdAt: z.ZodString; negotiationOfferId: z.ZodString; negotiationSessionId: z.ZodString; offerVersionId: z.ZodString; offerSequence: z.ZodNumber; offeredByPartyId: z.ZodString; previousOfferVersionId: z.ZodDefault>; supersedesOfferVersionId: z.ZodDefault>; offerContentDigest: z.ZodString; offerObjectRefs: z.ZodDefault>; offerContentRefs: z.ZodDefault>; proofGapRefs: z.ZodDefault>; externalProtocolEvidenceRefs: z.ZodDefault; protocolVersion: z.ZodString; objectKind: z.ZodString; objectRef: z.ZodString; objectDigest: z.ZodString; evidencePosture: z.ZodLiteral<"imported_evidence_only">; evidenceUse: z.ZodEnum<{ conversation_context: "conversation_context"; descriptor_context: "descriptor_context"; runtime_context: "runtime_context"; mandate_context_evidence: "mandate_context_evidence"; tool_context: "tool_context"; handoff_context: "handoff_context"; other_context: "other_context"; }>; proofGapRefs: z.ZodDefault>; }, z.core.$strict>>>; generatedCodeOrSpecRefs: z.ZodDefault>; declaredAssumptions: z.ZodDefault>; uncertaintyMarkers: z.ZodDefault>; clearingEvidenceRefs: z.ZodDefault; obligationRef: z.ZodOptional; counterpartyRef: z.ZodOptional; }, z.core.$strict>>; expiresAt: z.ZodDefault>; }, z.core.$strict>; }, z.core.$strict>, z.ZodObject<{ writeKind: z.ZodLiteral<"negotiation_decision">; transition: z.ZodLiteral<"recordNegotiationDecision">; objectId: z.ZodString; payload: z.ZodObject<{ schemaVersion: z.ZodLiteral<"0.2.4">; tenantId: z.ZodString; organizationId: z.ZodString; createdAt: z.ZodString; negotiationDecisionId: z.ZodString; negotiationSessionId: z.ZodString; decidedOfferVersionId: z.ZodString; decidedOfferSequence: z.ZodNumber; decidedByPartyId: z.ZodString; decision: z.ZodEnum<{ counter: "counter"; accept: "accept"; reject: "reject"; withdraw: "withdraw"; expire: "expire"; }>; reasonCodes: z.ZodDefault>; evidenceRefs: z.ZodDefault>; proofGapRefs: z.ZodDefault>; counterOfferVersionId: z.ZodDefault>; decisionDigest: z.ZodString; }, z.core.$strict>; }, z.core.$strict>, z.ZodObject<{ writeKind: z.ZodLiteral<"negotiation_resolution_input">; transition: z.ZodLiteral<"resolveNegotiation">; objectId: z.ZodString; payload: z.ZodObject<{ schemaVersion: z.ZodLiteral<"0.2.4">; tenantId: z.ZodString; organizationId: z.ZodString; createdAt: z.ZodString; negotiationResolutionId: z.ZodString; resolverPolicy: z.ZodObject<{ schemaVersion: z.ZodLiteral<"0.2.4">; tenantId: z.ZodString; organizationId: z.ZodString; createdAt: z.ZodString; negotiationResolverPolicyId: z.ZodString; resolverVersion: z.ZodString; resolverPolicyDigest: z.ZodString; resolverKind: z.ZodEnum<{ bilateral_protected_action_terms_v1: "bilateral_protected_action_terms_v1"; contract_net_protected_action_terms_v1: "contract_net_protected_action_terms_v1"; }>; allowedMoves: z.ZodArray>; requiredPartyProofPosture: z.ZodEnum<{ allow_self_attested_with_gap: "allow_self_attested_with_gap"; require_host_verified_refs: "require_host_verified_refs"; }>; staleOfferPolicy: z.ZodLiteral<"reject_accepting_non_current_offer">; replayPolicy: z.ZodLiteral<"reject_duplicate_decision_and_binding">; unknownConstraintPolicy: z.ZodLiteral<"proof_gap">; authorityPosture: z.ZodLiteral<"non_authority_resolver">; evidenceRefs: z.ZodDefault>; proofGapRefs: z.ZodDefault>; }, z.core.$strict>; negotiationSessionId: z.ZodString; evaluatedMove: z.ZodEnum<{ request_for_proposal: "request_for_proposal"; offer: "offer"; counter: "counter"; accept: "accept"; reject: "reject"; withdraw: "withdraw"; expire: "expire"; dispute: "dispute"; }>; decisionId: z.ZodDefault>; candidateObligation: z.ZodDefault>; actionTypeId: z.ZodString; actionClass: z.ZodString; resourceRef: z.ZodString; counterpartyRef: z.ZodString; maxUses: z.ZodDefault>; evidenceRefs: z.ZodDefault>; }, z.core.$strict>>>; unknownConstraintRefs: z.ZodDefault>; evidenceRefs: z.ZodDefault>; proofGapRefs: z.ZodDefault>; resolutionDigest: z.ZodString; }, z.core.$strict>; }, z.core.$strict>], "writeKind">>>; stopReasonCode: z.ZodDefault>; evidenceRefs: z.ZodDefault>; proofGapRefs: z.ZodDefault>; authorityBoundary: z.ZodObject<{ adapterRequestCreatedAuthority: z.ZodLiteral; protocolRecordsCommitted: z.ZodLiteral; actionContractCreated: z.ZodLiteral; policyEvaluated: z.ZodLiteral; greenlightIssued: z.ZodLiteral; gatewayCheckPerformed: z.ZodLiteral; mutationAttempted: z.ZodLiteral; rawTranscriptIncluded: z.ZodLiteral; credentialMaterialIncluded: z.ZodLiteral; paymentMaterialIncluded: z.ZodLiteral; signerMaterialIncluded: z.ZodLiteral; }, z.core.$strict>; }, z.core.$strict>; evidenceRefs: z.ZodDefault>; proofGapRefs: z.ZodDefault>; authorityBoundary: z.ZodObject<{ adapterApplyCreatedAuthority: z.ZodLiteral; negotiationEvidenceCommitted: z.ZodLiteral; actionContractCreated: z.ZodLiteral; policyEvaluated: z.ZodLiteral; greenlightIssued: z.ZodLiteral; gatewayCheckPerformed: z.ZodLiteral; mutationAttempted: z.ZodLiteral; rawTranscriptIncluded: z.ZodLiteral; credentialMaterialIncluded: z.ZodLiteral; paymentMaterialIncluded: z.ZodLiteral; signerMaterialIncluded: z.ZodLiteral; }, z.core.$strict>; }, z.core.$strict>; export type A2ANegotiationAdapterApplyRequest = z.infer; export declare const A2ANegotiationAdapterApplyResultSchema: z.ZodObject<{ schemaVersion: z.ZodLiteral<"0.2.4">; tenantId: z.ZodString; organizationId: z.ZodString; createdAt: z.ZodString; resultKind: z.ZodLiteral<"a2a_negotiation_adapter_apply_result">; applyId: z.ZodString; adapterId: z.ZodString; sourceProtocol: z.ZodEnum<{ runtime_evidence: "runtime_evidence"; a2a: "a2a"; acp: "acp"; anp: "anp"; ap2: "ap2"; ucp: "ucp"; x402: "x402"; local_reference: "local_reference"; }>; negotiationSessionId: z.ZodString; ingressCheckpointId: z.ZodString; requestedMove: z.ZodEnum<{ request_for_proposal: "request_for_proposal"; offer: "offer"; counter: "counter"; accept: "accept"; reject: "reject"; withdraw: "withdraw"; expire: "expire"; dispute: "dispute"; }>; applyOutcome: z.ZodEnum<{ proof_gap: "proof_gap"; applied: "applied"; not_compiled: "not_compiled"; write_failed: "write_failed"; partial_commit_proof_gap: "partial_commit_proof_gap"; }>; appliedWrites: z.ZodDefault; transition: z.ZodEnum<{ recordNegotiationOffer: "recordNegotiationOffer"; recordNegotiationDecision: "recordNegotiationDecision"; resolveNegotiation: "resolveNegotiation"; }>; objectId: z.ZodString; committedObjectRef: z.ZodString; commitState: z.ZodLiteral<"committed">; }, z.core.$strict>>>; failedWrite: z.ZodDefault; transition: z.ZodEnum<{ recordNegotiationOffer: "recordNegotiationOffer"; recordNegotiationDecision: "recordNegotiationDecision"; resolveNegotiation: "resolveNegotiation"; }>; objectId: z.ZodString; failureReasonCode: z.ZodString; failureMessage: z.ZodString; commitState: z.ZodEnum<{ unknown: "unknown"; not_applicable: "not_applicable"; not_started: "not_started"; not_committed: "not_committed"; committed: "committed"; }>; }, z.core.$strict>>>; stopReasonCode: z.ZodDefault>; evidenceRefs: z.ZodDefault>; proofGapRefs: z.ZodDefault>; authorityBoundary: z.ZodObject<{ adapterApplyCreatedAuthority: z.ZodLiteral; negotiationEvidenceCommitted: z.ZodBoolean; actionContractCreated: z.ZodLiteral; policyEvaluated: z.ZodLiteral; greenlightIssued: z.ZodLiteral; gatewayCheckPerformed: z.ZodLiteral; mutationAttempted: z.ZodLiteral; rawTranscriptIncluded: z.ZodLiteral; credentialMaterialIncluded: z.ZodLiteral; paymentMaterialIncluded: z.ZodLiteral; signerMaterialIncluded: z.ZodLiteral; }, z.core.$strict>; }, z.core.$strict>; export type A2ANegotiationAdapterApplyResult = z.infer; export type A2ANegotiationAdapterApplyTarget = { recordNegotiationOffer(payload: NegotiationOffer): Promise | NegotiationOffer; recordNegotiationDecision(payload: NegotiationDecision): Promise | NegotiationDecision; resolveNegotiation(payload: ResolveNegotiationInput): Promise | NegotiationResolution; }; export declare function applyA2ANegotiationAdapterMoveResult(target: A2ANegotiationAdapterApplyTarget, requestValue: A2ANegotiationAdapterApplyRequest): Promise;