import * as zod0 from "zod"; import { ZodType, z } from "zod"; import { AccountInfoSchema, AdjustmentSchema, AdjustmentStatusEnumSchema, AmountSchema, Ap2MandateAp2WithCheckoutMandateSchema, Ap2MandateAp2WithMerchantAuthorizationSchema, Ap2MandateCheckoutMandateSchema, Ap2MandateErrorCodeSchema, Ap2MandateMerchantAuthorizationSchema, AvailablePaymentInstrumentSchema, BindingSchema, BusinessFulfillmentConfigSchema, BuyerConsentBuyerSchema, BuyerConsentConsentSchema, BuyerSchema, CapabilityBaseSchema, CapabilityBusinessSchema, CapabilityPlatformSchema, CapabilityResponseSchema, CardCredential, CardCredentialCardNumberTypeEnumSchema, CardCredentialSchema, CardPaymentInstrumentAvailableCardPaymentInstrumentSchema, CartCreateRequestSchema, CartSchema as CartSchema$1, CartUpdateRequestSchema, CatalogLookupSchema, CatalogSearchSchema, CategorySchema, CheckoutCompleteRequestSchema as CheckoutCompleteRequestSchema$1, CheckoutCreateRequestSchema as CheckoutCreateRequestSchema$1, CheckoutResponseSchema as CheckoutResponseSchema$1, CheckoutResponseStatus, CheckoutResponseStatusSchema, CheckoutSchema, CheckoutStatusEnumSchema, CheckoutUpdateRequestSchema as CheckoutUpdateRequestSchema$1, ContextSchema, DescriptionSchema, DetailOptionValueSchema, DiscountAllocationSchema, DiscountAppliedDiscountMethodEnumSchema, DiscountAppliedDiscountSchema, DiscountDiscountsObjectSchema, EmbeddedConfigSchema, ErrorCodeSchema, ErrorResponseSchema, ExpectationMethodTypeEnumSchema, ExpectationSchema, FulfillmentAvailableMethodSchema, FulfillmentAvailableMethodTypeEnumSchema, FulfillmentDestinationSchema, FulfillmentEventSchema, FulfillmentExtensionFulfillmentAvailableMethodSchema, FulfillmentExtensionFulfillmentGroupSchema, FulfillmentExtensionFulfillmentMethodSchema, FulfillmentExtensionFulfillmentOptionSchema, FulfillmentExtensionFulfillmentSchema, FulfillmentGroupSchema, FulfillmentGroupUpdateRequestSchema, FulfillmentMethodCreateRequestSchema, FulfillmentMethodResponseSchema, FulfillmentMethodSchema, FulfillmentMethodTypeEnumSchema, FulfillmentMethodUpdateRequestSchema, FulfillmentOptionSchema, FulfillmentResponseSchema, FulfillmentSchema, InputCorrelationSchema, ItemResponseSchema, ItemSchema, LineItemResponseSchema, LineItemSchema, LineItemUpdateRequestSchema, LinkSchema, MediaSchema, MerchantFulfillmentConfigSchema, MessageErrorContentTypeEnumSchema, MessageErrorSchema, MessageErrorSeverityEnumSchema, MessageInfoContentTypeEnumSchema, MessageInfoSchema, MessageSchema, MessageWarningContentTypeEnumSchema, MessageWarningSchema, OptionValueSchema, OrderConfirmationSchema, OrderLineItemSchema, OrderLineItemStatusEnumSchema, OrderSchema as UCPSpecOrderSchema, OrderUpdateSchema, PaginationSchema, PaymentCredentialSchema, PaymentHandlerBaseSchema, PaymentHandlerBusinessSchema, PaymentHandlerPlatformSchema, PaymentHandlerResponseSchema, PaymentIdentitySchema, PaymentInstrumentResponseSchema, PaymentInstrumentSchema, PaymentResponseSchema, PaymentSchema, PlatformFulfillmentConfigSchema, PostalAddressSchema, PriceFilterSchema, PriceRangeSchema, PriceSchema, ProductOptionSchema, ProductSchema, ProfileSchemaBaseSchema, ProfileSchemaBusinessProfileSchema, ProfileSchemaPlatformProfileSchema, ProfileSchemaSigningKeySchema, ProfileSchemaSigningKeyUseEnumSchema, RatingSchema, RetailLocationSchema, ReverseDomainNameSchema, SearchFiltersSchema, SelectedOptionSchema, ServiceBaseSchema, ServiceBaseTransportEnumSchema, ServiceBusinessSchema, ServicePlatformSchema, ServiceResponseSchema, ShippingDestinationSchema, SignalsSchema, SignedAmountSchema, TokenCredential, TokenCredentialSchema, TotalResponseSchema, TotalSchema, TotalsSchema, UcpBaseSchema, UcpBaseStatusEnumSchema, UcpBusinessSchema, UcpDiscoveryBusinessProfileSchema, UcpDiscoveryPlatformProfileSchema, UcpEntitySchema, UcpErrorSchema, UcpPlatformSchema, UcpRequiresSchema, UcpResponseCartSchema, UcpResponseCatalogSchema, UcpResponseCheckoutSchema, UcpResponseOrderSchema, UcpSigningKeySchema, UcpSigningKeySchema as UcpSigningKeySchema$1, UcpSuccessSchema, UcpVersionConstraintSchema, UcpVersionSchema, VariantSchema } from "@omnixhq/ucp-js-sdk"; //#region src/http.d.ts type HttpMethod = 'GET' | 'POST' | 'PUT' | 'DELETE'; type LogFn = (message: string, detail?: string) => void; interface HttpClientConfig { readonly gatewayUrl: string; readonly agentProfileUrl: string; readonly ucpVersion: string; readonly requestSignature?: string; readonly accessToken?: string; readonly onValidationWarning?: LogFn; } declare class HttpClient { private readonly gatewayUrl; private readonly agentProfileUrl; private readonly ucpVersion; private readonly requestSignature; private readonly accessToken; private readonly onValidationWarning; constructor(config: HttpClientConfig); withAccessToken(token: string): HttpClient; request(method: HttpMethod, path: string, body?: unknown): Promise; validate(data: unknown, schema: ZodType): Output; private parseResponseBody; private throwFromResponse; } //#endregion //#region src/schemas.d.ts declare const CheckoutSessionSchema: z.ZodObject<{ ucp: z.ZodIntersection>; services: z.ZodOptional; schema: z.ZodOptional; id: z.ZodOptional; config: z.ZodOptional>; }, "strip", z.ZodTypeAny, { version: string; spec?: string | undefined; schema?: string | undefined; id?: string | undefined; config?: Record | undefined; }, { version: string; spec?: string | undefined; schema?: string | undefined; id?: string | undefined; config?: Record | undefined; }>, z.ZodObject<{ transport: z.ZodEnum<["rest", "mcp", "a2a", "embedded"]>; endpoint: z.ZodOptional; }, "strip", z.ZodTypeAny, { transport: "rest" | "mcp" | "a2a" | "embedded"; endpoint?: string | undefined; }, { transport: "rest" | "mcp" | "a2a" | "embedded"; endpoint?: string | undefined; }>>, "many">>>; capabilities: z.ZodOptional; schema: z.ZodOptional; id: z.ZodOptional; config: z.ZodOptional>; }, "strip", z.ZodTypeAny, { version: string; spec?: string | undefined; schema?: string | undefined; id?: string | undefined; config?: Record | undefined; }, { version: string; spec?: string | undefined; schema?: string | undefined; id?: string | undefined; config?: Record | undefined; }>, z.ZodObject<{ extends: z.ZodOptional>; }, "strip", z.ZodTypeAny, { extends?: unknown; }, { extends?: unknown; }>>, "many">>>; payment_handlers: z.ZodOptional; schema: z.ZodOptional; id: z.ZodOptional; config: z.ZodOptional>; }, "strip", z.ZodTypeAny, { version: string; spec?: string | undefined; schema?: string | undefined; id?: string | undefined; config?: Record | undefined; }, { version: string; spec?: string | undefined; schema?: string | undefined; id?: string | undefined; config?: Record | undefined; }>, z.ZodIntersection, z.ZodObject<{ available_instruments: z.ZodOptional>; }, "strip", z.ZodTypeAny, { type: string; constraints?: Record | undefined; }, { type: string; constraints?: Record | undefined; }>, "many">>; }, "strip", z.ZodTypeAny, { available_instruments?: { type: string; constraints?: Record | undefined; }[] | undefined; }, { available_instruments?: { type: string; constraints?: Record | undefined; }[] | undefined; }>>>, "many">>>; }, "strip", z.ZodTypeAny, { version: string; status: "success" | "error"; services?: Record | undefined; } & { transport: "rest" | "mcp" | "a2a" | "embedded"; endpoint?: string | undefined; })[]> | undefined; capabilities?: Record | undefined; } & { extends?: unknown; })[]> | undefined; payment_handlers?: Record | undefined; } & Record & { available_instruments?: { type: string; constraints?: Record | undefined; }[] | undefined; })[]> | undefined; }, { version: string; status?: "success" | "error" | undefined; services?: Record | undefined; } & { transport: "rest" | "mcp" | "a2a" | "embedded"; endpoint?: string | undefined; })[]> | undefined; capabilities?: Record | undefined; } & { extends?: unknown; })[]> | undefined; payment_handlers?: Record | undefined; } & Record & { available_instruments?: { type: string; constraints?: Record | undefined; }[] | undefined; })[]> | undefined; }>, z.ZodObject<{ services: z.ZodOptional; schema: z.ZodOptional; id: z.ZodOptional; config: z.ZodOptional>; }, "strip", z.ZodTypeAny, { version: string; spec?: string | undefined; schema?: string | undefined; id?: string | undefined; config?: Record | undefined; }, { version: string; spec?: string | undefined; schema?: string | undefined; id?: string | undefined; config?: Record | undefined; }>, z.ZodObject<{ transport: z.ZodEnum<["rest", "mcp", "a2a", "embedded"]>; endpoint: z.ZodOptional; }, "strip", z.ZodTypeAny, { transport: "rest" | "mcp" | "a2a" | "embedded"; endpoint?: string | undefined; }, { transport: "rest" | "mcp" | "a2a" | "embedded"; endpoint?: string | undefined; }>>, z.ZodUnion<[z.ZodObject<{ transport: z.ZodOptional>; }, "strip", z.ZodTypeAny, { transport?: "rest" | undefined; }, { transport?: "rest" | undefined; }>, z.ZodObject<{ transport: z.ZodOptional>; }, "strip", z.ZodTypeAny, { transport?: "mcp" | undefined; }, { transport?: "mcp" | undefined; }>, z.ZodObject<{ transport: z.ZodOptional>; }, "strip", z.ZodTypeAny, { transport?: "a2a" | undefined; }, { transport?: "a2a" | undefined; }>, z.ZodObject<{ transport: z.ZodOptional>; config: z.ZodOptional>; color_scheme: z.ZodOptional, "many">>; }, "strip", z.ZodTypeAny, { delegate?: string[] | undefined; color_scheme?: ("light" | "dark")[] | undefined; }, { delegate?: string[] | undefined; color_scheme?: ("light" | "dark")[] | undefined; }>>; }, "strip", z.ZodTypeAny, { config?: { delegate?: string[] | undefined; color_scheme?: ("light" | "dark")[] | undefined; } | undefined; transport?: "embedded" | undefined; }, { config?: { delegate?: string[] | undefined; color_scheme?: ("light" | "dark")[] | undefined; } | undefined; transport?: "embedded" | undefined; }>]>>, "many">>>; capabilities: z.ZodOptional; schema: z.ZodOptional; id: z.ZodOptional; config: z.ZodOptional>; }, "strip", z.ZodTypeAny, { version: string; spec?: string | undefined; schema?: string | undefined; id?: string | undefined; config?: Record | undefined; }, { version: string; spec?: string | undefined; schema?: string | undefined; id?: string | undefined; config?: Record | undefined; }>, z.ZodObject<{ extends: z.ZodOptional>; }, "strip", z.ZodTypeAny, { extends?: unknown; }, { extends?: unknown; }>>, "many">>>; payment_handlers: z.ZodRecord; schema: z.ZodOptional; id: z.ZodOptional; config: z.ZodOptional>; }, "strip", z.ZodTypeAny, { version: string; spec?: string | undefined; schema?: string | undefined; id?: string | undefined; config?: Record | undefined; }, { version: string; spec?: string | undefined; schema?: string | undefined; id?: string | undefined; config?: Record | undefined; }>, z.ZodIntersection, z.ZodObject<{ available_instruments: z.ZodOptional>; }, "strip", z.ZodTypeAny, { type: string; constraints?: Record | undefined; }, { type: string; constraints?: Record | undefined; }>, "many">>; }, "strip", z.ZodTypeAny, { available_instruments?: { type: string; constraints?: Record | undefined; }[] | undefined; }, { available_instruments?: { type: string; constraints?: Record | undefined; }[] | undefined; }>>>, "many">>; }, "strip", z.ZodTypeAny, { payment_handlers: Record | undefined; } & Record & { available_instruments?: { type: string; constraints?: Record | undefined; }[] | undefined; })[]>; services?: Record | undefined; } & { transport: "rest" | "mcp" | "a2a" | "embedded"; endpoint?: string | undefined; } & ({ transport?: "rest" | undefined; } | { transport?: "mcp" | undefined; } | { transport?: "a2a" | undefined; } | { config?: { delegate?: string[] | undefined; color_scheme?: ("light" | "dark")[] | undefined; } | undefined; transport?: "embedded" | undefined; }))[]> | undefined; capabilities?: Record | undefined; } & { extends?: unknown; })[]> | undefined; }, { payment_handlers: Record | undefined; } & Record & { available_instruments?: { type: string; constraints?: Record | undefined; }[] | undefined; })[]>; services?: Record | undefined; } & { transport: "rest" | "mcp" | "a2a" | "embedded"; endpoint?: string | undefined; } & ({ transport?: "rest" | undefined; } | { transport?: "mcp" | undefined; } | { transport?: "a2a" | undefined; } | { config?: { delegate?: string[] | undefined; color_scheme?: ("light" | "dark")[] | undefined; } | undefined; transport?: "embedded" | undefined; }))[]> | undefined; capabilities?: Record | undefined; } & { extends?: unknown; })[]> | undefined; }>>; id: z.ZodString; line_items: z.ZodArray; }, "strip", z.ZodTypeAny, { id: string; title: string; price: number; image_url?: string | undefined; }, { id: string; title: string; price: number; image_url?: string | undefined; }>; quantity: z.ZodNumber; totals: z.ZodArray; amount: z.ZodNumber; }, "strip", z.ZodTypeAny, { type: string; amount: number; display_text?: string | undefined; }, { type: string; amount: number; display_text?: string | undefined; }>, z.ZodIntersection>, "many">; parent_id: z.ZodOptional; }, "strip", z.ZodTypeAny, { id: string; item: { id: string; title: string; price: number; image_url?: string | undefined; }; quantity: number; totals: any[]; parent_id?: string | undefined; }, { id: string; item: { id: string; title: string; price: number; image_url?: string | undefined; }; quantity: number; totals: any[]; parent_id?: string | undefined; }>, "many">; buyer: z.ZodOptional; last_name: z.ZodOptional; email: z.ZodOptional; phone_number: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ first_name: z.ZodOptional; last_name: z.ZodOptional; email: z.ZodOptional; phone_number: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ first_name: z.ZodOptional; last_name: z.ZodOptional; email: z.ZodOptional; phone_number: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; context: z.ZodOptional; address_region: z.ZodOptional; postal_code: z.ZodOptional; intent: z.ZodOptional; language: z.ZodOptional; currency: z.ZodOptional; eligibility: z.ZodOptional, string[], string[]>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ address_country: z.ZodOptional; address_region: z.ZodOptional; postal_code: z.ZodOptional; intent: z.ZodOptional; language: z.ZodOptional; currency: z.ZodOptional; eligibility: z.ZodOptional, string[], string[]>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ address_country: z.ZodOptional; address_region: z.ZodOptional; postal_code: z.ZodOptional; intent: z.ZodOptional; language: z.ZodOptional; currency: z.ZodOptional; eligibility: z.ZodOptional, string[], string[]>>; }, z.ZodTypeAny, "passthrough">>>; signals: z.ZodOptional; "dev.ucp.user_agent": z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ "dev.ucp.buyer_ip": z.ZodOptional; "dev.ucp.user_agent": z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ "dev.ucp.buyer_ip": z.ZodOptional; "dev.ucp.user_agent": z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; status: z.ZodEnum<["incomplete", "requires_escalation", "ready_for_complete", "complete_in_progress", "completed", "canceled"]>; currency: z.ZodString; totals: z.ZodArray; amount: z.ZodNumber; }, "strip", z.ZodTypeAny, { type: string; amount: number; display_text?: string | undefined; }, { type: string; amount: number; display_text?: string | undefined; }>, z.ZodIntersection>, z.ZodIntersection, "many">>; }, "strip", z.ZodTypeAny, { lines?: { display_text: string; amount: number; }[] | undefined; }, { lines?: { display_text: string; amount: number; }[] | undefined; }>, z.ZodAny>>, "many">; messages: z.ZodOptional, z.ZodEffects>, "many">>; links: z.ZodArray; }, "strip", z.ZodTypeAny, { type: string; url: string; title?: string | undefined; }, { type: string; url: string; title?: string | undefined; }>, "many">; expires_at: z.ZodOptional; continue_url: z.ZodOptional; payment: z.ZodOptional; street_address: z.ZodOptional; address_locality: z.ZodOptional; address_region: z.ZodOptional; address_country: z.ZodOptional; postal_code: z.ZodOptional; first_name: z.ZodOptional; last_name: z.ZodOptional; phone_number: z.ZodOptional; }, "strip", z.ZodTypeAny, { first_name?: string | undefined; last_name?: string | undefined; phone_number?: string | undefined; address_country?: string | undefined; address_region?: string | undefined; postal_code?: string | undefined; extended_address?: string | undefined; street_address?: string | undefined; address_locality?: string | undefined; }, { first_name?: string | undefined; last_name?: string | undefined; phone_number?: string | undefined; address_country?: string | undefined; address_region?: string | undefined; postal_code?: string | undefined; extended_address?: string | undefined; street_address?: string | undefined; address_locality?: string | undefined; }>>; credential: z.ZodOptional, z.objectInputType<{ type: z.ZodString; }, z.ZodTypeAny, "passthrough">>>; display: z.ZodOptional>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ id: z.ZodString; handler_id: z.ZodString; type: z.ZodString; billing_address: z.ZodOptional; street_address: z.ZodOptional; address_locality: z.ZodOptional; address_region: z.ZodOptional; address_country: z.ZodOptional; postal_code: z.ZodOptional; first_name: z.ZodOptional; last_name: z.ZodOptional; phone_number: z.ZodOptional; }, "strip", z.ZodTypeAny, { first_name?: string | undefined; last_name?: string | undefined; phone_number?: string | undefined; address_country?: string | undefined; address_region?: string | undefined; postal_code?: string | undefined; extended_address?: string | undefined; street_address?: string | undefined; address_locality?: string | undefined; }, { first_name?: string | undefined; last_name?: string | undefined; phone_number?: string | undefined; address_country?: string | undefined; address_region?: string | undefined; postal_code?: string | undefined; extended_address?: string | undefined; street_address?: string | undefined; address_locality?: string | undefined; }>>; credential: z.ZodOptional, z.objectInputType<{ type: z.ZodString; }, z.ZodTypeAny, "passthrough">>>; display: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ id: z.ZodString; handler_id: z.ZodString; type: z.ZodString; billing_address: z.ZodOptional; street_address: z.ZodOptional; address_locality: z.ZodOptional; address_region: z.ZodOptional; address_country: z.ZodOptional; postal_code: z.ZodOptional; first_name: z.ZodOptional; last_name: z.ZodOptional; phone_number: z.ZodOptional; }, "strip", z.ZodTypeAny, { first_name?: string | undefined; last_name?: string | undefined; phone_number?: string | undefined; address_country?: string | undefined; address_region?: string | undefined; postal_code?: string | undefined; extended_address?: string | undefined; street_address?: string | undefined; address_locality?: string | undefined; }, { first_name?: string | undefined; last_name?: string | undefined; phone_number?: string | undefined; address_country?: string | undefined; address_region?: string | undefined; postal_code?: string | undefined; extended_address?: string | undefined; street_address?: string | undefined; address_locality?: string | undefined; }>>; credential: z.ZodOptional, z.objectInputType<{ type: z.ZodString; }, z.ZodTypeAny, "passthrough">>>; display: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{ selected: z.ZodOptional; }, "strip", z.ZodTypeAny, { selected?: boolean | undefined; }, { selected?: boolean | undefined; }>>, "many">>; }, "strip", z.ZodTypeAny, { instruments?: ({ id: string; type: string; handler_id: string; billing_address?: { first_name?: string | undefined; last_name?: string | undefined; phone_number?: string | undefined; address_country?: string | undefined; address_region?: string | undefined; postal_code?: string | undefined; extended_address?: string | undefined; street_address?: string | undefined; address_locality?: string | undefined; } | undefined; credential?: z.objectOutputType<{ type: z.ZodString; }, z.ZodTypeAny, "passthrough"> | undefined; display?: Record | undefined; } & { [k: string]: unknown; } & { selected?: boolean | undefined; })[] | undefined; }, { instruments?: ({ id: string; type: string; handler_id: string; billing_address?: { first_name?: string | undefined; last_name?: string | undefined; phone_number?: string | undefined; address_country?: string | undefined; address_region?: string | undefined; postal_code?: string | undefined; extended_address?: string | undefined; street_address?: string | undefined; address_locality?: string | undefined; } | undefined; credential?: z.objectInputType<{ type: z.ZodString; }, z.ZodTypeAny, "passthrough"> | undefined; display?: Record | undefined; } & { [k: string]: unknown; } & { selected?: boolean | undefined; })[] | undefined; }>>; order: z.ZodOptional; permalink_url: z.ZodString; }, "strip", z.ZodTypeAny, { id: string; permalink_url: string; label?: string | undefined; }, { id: string; permalink_url: string; label?: string | undefined; }>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ ucp: z.ZodIntersection>; services: z.ZodOptional; schema: z.ZodOptional; id: z.ZodOptional; config: z.ZodOptional>; }, "strip", z.ZodTypeAny, { version: string; spec?: string | undefined; schema?: string | undefined; id?: string | undefined; config?: Record | undefined; }, { version: string; spec?: string | undefined; schema?: string | undefined; id?: string | undefined; config?: Record | undefined; }>, z.ZodObject<{ transport: z.ZodEnum<["rest", "mcp", "a2a", "embedded"]>; endpoint: z.ZodOptional; }, "strip", z.ZodTypeAny, { transport: "rest" | "mcp" | "a2a" | "embedded"; endpoint?: string | undefined; }, { transport: "rest" | "mcp" | "a2a" | "embedded"; endpoint?: string | undefined; }>>, "many">>>; capabilities: z.ZodOptional; schema: z.ZodOptional; id: z.ZodOptional; config: z.ZodOptional>; }, "strip", z.ZodTypeAny, { version: string; spec?: string | undefined; schema?: string | undefined; id?: string | undefined; config?: Record | undefined; }, { version: string; spec?: string | undefined; schema?: string | undefined; id?: string | undefined; config?: Record | undefined; }>, z.ZodObject<{ extends: z.ZodOptional>; }, "strip", z.ZodTypeAny, { extends?: unknown; }, { extends?: unknown; }>>, "many">>>; payment_handlers: z.ZodOptional; schema: z.ZodOptional; id: z.ZodOptional; config: z.ZodOptional>; }, "strip", z.ZodTypeAny, { version: string; spec?: string | undefined; schema?: string | undefined; id?: string | undefined; config?: Record | undefined; }, { version: string; spec?: string | undefined; schema?: string | undefined; id?: string | undefined; config?: Record | undefined; }>, z.ZodIntersection, z.ZodObject<{ available_instruments: z.ZodOptional>; }, "strip", z.ZodTypeAny, { type: string; constraints?: Record | undefined; }, { type: string; constraints?: Record | undefined; }>, "many">>; }, "strip", z.ZodTypeAny, { available_instruments?: { type: string; constraints?: Record | undefined; }[] | undefined; }, { available_instruments?: { type: string; constraints?: Record | undefined; }[] | undefined; }>>>, "many">>>; }, "strip", z.ZodTypeAny, { version: string; status: "success" | "error"; services?: Record | undefined; } & { transport: "rest" | "mcp" | "a2a" | "embedded"; endpoint?: string | undefined; })[]> | undefined; capabilities?: Record | undefined; } & { extends?: unknown; })[]> | undefined; payment_handlers?: Record | undefined; } & Record & { available_instruments?: { type: string; constraints?: Record | undefined; }[] | undefined; })[]> | undefined; }, { version: string; status?: "success" | "error" | undefined; services?: Record | undefined; } & { transport: "rest" | "mcp" | "a2a" | "embedded"; endpoint?: string | undefined; })[]> | undefined; capabilities?: Record | undefined; } & { extends?: unknown; })[]> | undefined; payment_handlers?: Record | undefined; } & Record & { available_instruments?: { type: string; constraints?: Record | undefined; }[] | undefined; })[]> | undefined; }>, z.ZodObject<{ services: z.ZodOptional; schema: z.ZodOptional; id: z.ZodOptional; config: z.ZodOptional>; }, "strip", z.ZodTypeAny, { version: string; spec?: string | undefined; schema?: string | undefined; id?: string | undefined; config?: Record | undefined; }, { version: string; spec?: string | undefined; schema?: string | undefined; id?: string | undefined; config?: Record | undefined; }>, z.ZodObject<{ transport: z.ZodEnum<["rest", "mcp", "a2a", "embedded"]>; endpoint: z.ZodOptional; }, "strip", z.ZodTypeAny, { transport: "rest" | "mcp" | "a2a" | "embedded"; endpoint?: string | undefined; }, { transport: "rest" | "mcp" | "a2a" | "embedded"; endpoint?: string | undefined; }>>, z.ZodUnion<[z.ZodObject<{ transport: z.ZodOptional>; }, "strip", z.ZodTypeAny, { transport?: "rest" | undefined; }, { transport?: "rest" | undefined; }>, z.ZodObject<{ transport: z.ZodOptional>; }, "strip", z.ZodTypeAny, { transport?: "mcp" | undefined; }, { transport?: "mcp" | undefined; }>, z.ZodObject<{ transport: z.ZodOptional>; }, "strip", z.ZodTypeAny, { transport?: "a2a" | undefined; }, { transport?: "a2a" | undefined; }>, z.ZodObject<{ transport: z.ZodOptional>; config: z.ZodOptional>; color_scheme: z.ZodOptional, "many">>; }, "strip", z.ZodTypeAny, { delegate?: string[] | undefined; color_scheme?: ("light" | "dark")[] | undefined; }, { delegate?: string[] | undefined; color_scheme?: ("light" | "dark")[] | undefined; }>>; }, "strip", z.ZodTypeAny, { config?: { delegate?: string[] | undefined; color_scheme?: ("light" | "dark")[] | undefined; } | undefined; transport?: "embedded" | undefined; }, { config?: { delegate?: string[] | undefined; color_scheme?: ("light" | "dark")[] | undefined; } | undefined; transport?: "embedded" | undefined; }>]>>, "many">>>; capabilities: z.ZodOptional; schema: z.ZodOptional; id: z.ZodOptional; config: z.ZodOptional>; }, "strip", z.ZodTypeAny, { version: string; spec?: string | undefined; schema?: string | undefined; id?: string | undefined; config?: Record | undefined; }, { version: string; spec?: string | undefined; schema?: string | undefined; id?: string | undefined; config?: Record | undefined; }>, z.ZodObject<{ extends: z.ZodOptional>; }, "strip", z.ZodTypeAny, { extends?: unknown; }, { extends?: unknown; }>>, "many">>>; payment_handlers: z.ZodRecord; schema: z.ZodOptional; id: z.ZodOptional; config: z.ZodOptional>; }, "strip", z.ZodTypeAny, { version: string; spec?: string | undefined; schema?: string | undefined; id?: string | undefined; config?: Record | undefined; }, { version: string; spec?: string | undefined; schema?: string | undefined; id?: string | undefined; config?: Record | undefined; }>, z.ZodIntersection, z.ZodObject<{ available_instruments: z.ZodOptional>; }, "strip", z.ZodTypeAny, { type: string; constraints?: Record | undefined; }, { type: string; constraints?: Record | undefined; }>, "many">>; }, "strip", z.ZodTypeAny, { available_instruments?: { type: string; constraints?: Record | undefined; }[] | undefined; }, { available_instruments?: { type: string; constraints?: Record | undefined; }[] | undefined; }>>>, "many">>; }, "strip", z.ZodTypeAny, { payment_handlers: Record | undefined; } & Record & { available_instruments?: { type: string; constraints?: Record | undefined; }[] | undefined; })[]>; services?: Record | undefined; } & { transport: "rest" | "mcp" | "a2a" | "embedded"; endpoint?: string | undefined; } & ({ transport?: "rest" | undefined; } | { transport?: "mcp" | undefined; } | { transport?: "a2a" | undefined; } | { config?: { delegate?: string[] | undefined; color_scheme?: ("light" | "dark")[] | undefined; } | undefined; transport?: "embedded" | undefined; }))[]> | undefined; capabilities?: Record | undefined; } & { extends?: unknown; })[]> | undefined; }, { payment_handlers: Record | undefined; } & Record & { available_instruments?: { type: string; constraints?: Record | undefined; }[] | undefined; })[]>; services?: Record | undefined; } & { transport: "rest" | "mcp" | "a2a" | "embedded"; endpoint?: string | undefined; } & ({ transport?: "rest" | undefined; } | { transport?: "mcp" | undefined; } | { transport?: "a2a" | undefined; } | { config?: { delegate?: string[] | undefined; color_scheme?: ("light" | "dark")[] | undefined; } | undefined; transport?: "embedded" | undefined; }))[]> | undefined; capabilities?: Record | undefined; } & { extends?: unknown; })[]> | undefined; }>>; id: z.ZodString; line_items: z.ZodArray; }, "strip", z.ZodTypeAny, { id: string; title: string; price: number; image_url?: string | undefined; }, { id: string; title: string; price: number; image_url?: string | undefined; }>; quantity: z.ZodNumber; totals: z.ZodArray; amount: z.ZodNumber; }, "strip", z.ZodTypeAny, { type: string; amount: number; display_text?: string | undefined; }, { type: string; amount: number; display_text?: string | undefined; }>, z.ZodIntersection>, "many">; parent_id: z.ZodOptional; }, "strip", z.ZodTypeAny, { id: string; item: { id: string; title: string; price: number; image_url?: string | undefined; }; quantity: number; totals: any[]; parent_id?: string | undefined; }, { id: string; item: { id: string; title: string; price: number; image_url?: string | undefined; }; quantity: number; totals: any[]; parent_id?: string | undefined; }>, "many">; buyer: z.ZodOptional; last_name: z.ZodOptional; email: z.ZodOptional; phone_number: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ first_name: z.ZodOptional; last_name: z.ZodOptional; email: z.ZodOptional; phone_number: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ first_name: z.ZodOptional; last_name: z.ZodOptional; email: z.ZodOptional; phone_number: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; context: z.ZodOptional; address_region: z.ZodOptional; postal_code: z.ZodOptional; intent: z.ZodOptional; language: z.ZodOptional; currency: z.ZodOptional; eligibility: z.ZodOptional, string[], string[]>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ address_country: z.ZodOptional; address_region: z.ZodOptional; postal_code: z.ZodOptional; intent: z.ZodOptional; language: z.ZodOptional; currency: z.ZodOptional; eligibility: z.ZodOptional, string[], string[]>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ address_country: z.ZodOptional; address_region: z.ZodOptional; postal_code: z.ZodOptional; intent: z.ZodOptional; language: z.ZodOptional; currency: z.ZodOptional; eligibility: z.ZodOptional, string[], string[]>>; }, z.ZodTypeAny, "passthrough">>>; signals: z.ZodOptional; "dev.ucp.user_agent": z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ "dev.ucp.buyer_ip": z.ZodOptional; "dev.ucp.user_agent": z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ "dev.ucp.buyer_ip": z.ZodOptional; "dev.ucp.user_agent": z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; status: z.ZodEnum<["incomplete", "requires_escalation", "ready_for_complete", "complete_in_progress", "completed", "canceled"]>; currency: z.ZodString; totals: z.ZodArray; amount: z.ZodNumber; }, "strip", z.ZodTypeAny, { type: string; amount: number; display_text?: string | undefined; }, { type: string; amount: number; display_text?: string | undefined; }>, z.ZodIntersection>, z.ZodIntersection, "many">>; }, "strip", z.ZodTypeAny, { lines?: { display_text: string; amount: number; }[] | undefined; }, { lines?: { display_text: string; amount: number; }[] | undefined; }>, z.ZodAny>>, "many">; messages: z.ZodOptional, z.ZodEffects>, "many">>; links: z.ZodArray; }, "strip", z.ZodTypeAny, { type: string; url: string; title?: string | undefined; }, { type: string; url: string; title?: string | undefined; }>, "many">; expires_at: z.ZodOptional; continue_url: z.ZodOptional; payment: z.ZodOptional; street_address: z.ZodOptional; address_locality: z.ZodOptional; address_region: z.ZodOptional; address_country: z.ZodOptional; postal_code: z.ZodOptional; first_name: z.ZodOptional; last_name: z.ZodOptional; phone_number: z.ZodOptional; }, "strip", z.ZodTypeAny, { first_name?: string | undefined; last_name?: string | undefined; phone_number?: string | undefined; address_country?: string | undefined; address_region?: string | undefined; postal_code?: string | undefined; extended_address?: string | undefined; street_address?: string | undefined; address_locality?: string | undefined; }, { first_name?: string | undefined; last_name?: string | undefined; phone_number?: string | undefined; address_country?: string | undefined; address_region?: string | undefined; postal_code?: string | undefined; extended_address?: string | undefined; street_address?: string | undefined; address_locality?: string | undefined; }>>; credential: z.ZodOptional, z.objectInputType<{ type: z.ZodString; }, z.ZodTypeAny, "passthrough">>>; display: z.ZodOptional>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ id: z.ZodString; handler_id: z.ZodString; type: z.ZodString; billing_address: z.ZodOptional; street_address: z.ZodOptional; address_locality: z.ZodOptional; address_region: z.ZodOptional; address_country: z.ZodOptional; postal_code: z.ZodOptional; first_name: z.ZodOptional; last_name: z.ZodOptional; phone_number: z.ZodOptional; }, "strip", z.ZodTypeAny, { first_name?: string | undefined; last_name?: string | undefined; phone_number?: string | undefined; address_country?: string | undefined; address_region?: string | undefined; postal_code?: string | undefined; extended_address?: string | undefined; street_address?: string | undefined; address_locality?: string | undefined; }, { first_name?: string | undefined; last_name?: string | undefined; phone_number?: string | undefined; address_country?: string | undefined; address_region?: string | undefined; postal_code?: string | undefined; extended_address?: string | undefined; street_address?: string | undefined; address_locality?: string | undefined; }>>; credential: z.ZodOptional, z.objectInputType<{ type: z.ZodString; }, z.ZodTypeAny, "passthrough">>>; display: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ id: z.ZodString; handler_id: z.ZodString; type: z.ZodString; billing_address: z.ZodOptional; street_address: z.ZodOptional; address_locality: z.ZodOptional; address_region: z.ZodOptional; address_country: z.ZodOptional; postal_code: z.ZodOptional; first_name: z.ZodOptional; last_name: z.ZodOptional; phone_number: z.ZodOptional; }, "strip", z.ZodTypeAny, { first_name?: string | undefined; last_name?: string | undefined; phone_number?: string | undefined; address_country?: string | undefined; address_region?: string | undefined; postal_code?: string | undefined; extended_address?: string | undefined; street_address?: string | undefined; address_locality?: string | undefined; }, { first_name?: string | undefined; last_name?: string | undefined; phone_number?: string | undefined; address_country?: string | undefined; address_region?: string | undefined; postal_code?: string | undefined; extended_address?: string | undefined; street_address?: string | undefined; address_locality?: string | undefined; }>>; credential: z.ZodOptional, z.objectInputType<{ type: z.ZodString; }, z.ZodTypeAny, "passthrough">>>; display: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{ selected: z.ZodOptional; }, "strip", z.ZodTypeAny, { selected?: boolean | undefined; }, { selected?: boolean | undefined; }>>, "many">>; }, "strip", z.ZodTypeAny, { instruments?: ({ id: string; type: string; handler_id: string; billing_address?: { first_name?: string | undefined; last_name?: string | undefined; phone_number?: string | undefined; address_country?: string | undefined; address_region?: string | undefined; postal_code?: string | undefined; extended_address?: string | undefined; street_address?: string | undefined; address_locality?: string | undefined; } | undefined; credential?: z.objectOutputType<{ type: z.ZodString; }, z.ZodTypeAny, "passthrough"> | undefined; display?: Record | undefined; } & { [k: string]: unknown; } & { selected?: boolean | undefined; })[] | undefined; }, { instruments?: ({ id: string; type: string; handler_id: string; billing_address?: { first_name?: string | undefined; last_name?: string | undefined; phone_number?: string | undefined; address_country?: string | undefined; address_region?: string | undefined; postal_code?: string | undefined; extended_address?: string | undefined; street_address?: string | undefined; address_locality?: string | undefined; } | undefined; credential?: z.objectInputType<{ type: z.ZodString; }, z.ZodTypeAny, "passthrough"> | undefined; display?: Record | undefined; } & { [k: string]: unknown; } & { selected?: boolean | undefined; })[] | undefined; }>>; order: z.ZodOptional; permalink_url: z.ZodString; }, "strip", z.ZodTypeAny, { id: string; permalink_url: string; label?: string | undefined; }, { id: string; permalink_url: string; label?: string | undefined; }>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ ucp: z.ZodIntersection>; services: z.ZodOptional; schema: z.ZodOptional; id: z.ZodOptional; config: z.ZodOptional>; }, "strip", z.ZodTypeAny, { version: string; spec?: string | undefined; schema?: string | undefined; id?: string | undefined; config?: Record | undefined; }, { version: string; spec?: string | undefined; schema?: string | undefined; id?: string | undefined; config?: Record | undefined; }>, z.ZodObject<{ transport: z.ZodEnum<["rest", "mcp", "a2a", "embedded"]>; endpoint: z.ZodOptional; }, "strip", z.ZodTypeAny, { transport: "rest" | "mcp" | "a2a" | "embedded"; endpoint?: string | undefined; }, { transport: "rest" | "mcp" | "a2a" | "embedded"; endpoint?: string | undefined; }>>, "many">>>; capabilities: z.ZodOptional; schema: z.ZodOptional; id: z.ZodOptional; config: z.ZodOptional>; }, "strip", z.ZodTypeAny, { version: string; spec?: string | undefined; schema?: string | undefined; id?: string | undefined; config?: Record | undefined; }, { version: string; spec?: string | undefined; schema?: string | undefined; id?: string | undefined; config?: Record | undefined; }>, z.ZodObject<{ extends: z.ZodOptional>; }, "strip", z.ZodTypeAny, { extends?: unknown; }, { extends?: unknown; }>>, "many">>>; payment_handlers: z.ZodOptional; schema: z.ZodOptional; id: z.ZodOptional; config: z.ZodOptional>; }, "strip", z.ZodTypeAny, { version: string; spec?: string | undefined; schema?: string | undefined; id?: string | undefined; config?: Record | undefined; }, { version: string; spec?: string | undefined; schema?: string | undefined; id?: string | undefined; config?: Record | undefined; }>, z.ZodIntersection, z.ZodObject<{ available_instruments: z.ZodOptional>; }, "strip", z.ZodTypeAny, { type: string; constraints?: Record | undefined; }, { type: string; constraints?: Record | undefined; }>, "many">>; }, "strip", z.ZodTypeAny, { available_instruments?: { type: string; constraints?: Record | undefined; }[] | undefined; }, { available_instruments?: { type: string; constraints?: Record | undefined; }[] | undefined; }>>>, "many">>>; }, "strip", z.ZodTypeAny, { version: string; status: "success" | "error"; services?: Record | undefined; } & { transport: "rest" | "mcp" | "a2a" | "embedded"; endpoint?: string | undefined; })[]> | undefined; capabilities?: Record | undefined; } & { extends?: unknown; })[]> | undefined; payment_handlers?: Record | undefined; } & Record & { available_instruments?: { type: string; constraints?: Record | undefined; }[] | undefined; })[]> | undefined; }, { version: string; status?: "success" | "error" | undefined; services?: Record | undefined; } & { transport: "rest" | "mcp" | "a2a" | "embedded"; endpoint?: string | undefined; })[]> | undefined; capabilities?: Record | undefined; } & { extends?: unknown; })[]> | undefined; payment_handlers?: Record | undefined; } & Record & { available_instruments?: { type: string; constraints?: Record | undefined; }[] | undefined; })[]> | undefined; }>, z.ZodObject<{ services: z.ZodOptional; schema: z.ZodOptional; id: z.ZodOptional; config: z.ZodOptional>; }, "strip", z.ZodTypeAny, { version: string; spec?: string | undefined; schema?: string | undefined; id?: string | undefined; config?: Record | undefined; }, { version: string; spec?: string | undefined; schema?: string | undefined; id?: string | undefined; config?: Record | undefined; }>, z.ZodObject<{ transport: z.ZodEnum<["rest", "mcp", "a2a", "embedded"]>; endpoint: z.ZodOptional; }, "strip", z.ZodTypeAny, { transport: "rest" | "mcp" | "a2a" | "embedded"; endpoint?: string | undefined; }, { transport: "rest" | "mcp" | "a2a" | "embedded"; endpoint?: string | undefined; }>>, z.ZodUnion<[z.ZodObject<{ transport: z.ZodOptional>; }, "strip", z.ZodTypeAny, { transport?: "rest" | undefined; }, { transport?: "rest" | undefined; }>, z.ZodObject<{ transport: z.ZodOptional>; }, "strip", z.ZodTypeAny, { transport?: "mcp" | undefined; }, { transport?: "mcp" | undefined; }>, z.ZodObject<{ transport: z.ZodOptional>; }, "strip", z.ZodTypeAny, { transport?: "a2a" | undefined; }, { transport?: "a2a" | undefined; }>, z.ZodObject<{ transport: z.ZodOptional>; config: z.ZodOptional>; color_scheme: z.ZodOptional, "many">>; }, "strip", z.ZodTypeAny, { delegate?: string[] | undefined; color_scheme?: ("light" | "dark")[] | undefined; }, { delegate?: string[] | undefined; color_scheme?: ("light" | "dark")[] | undefined; }>>; }, "strip", z.ZodTypeAny, { config?: { delegate?: string[] | undefined; color_scheme?: ("light" | "dark")[] | undefined; } | undefined; transport?: "embedded" | undefined; }, { config?: { delegate?: string[] | undefined; color_scheme?: ("light" | "dark")[] | undefined; } | undefined; transport?: "embedded" | undefined; }>]>>, "many">>>; capabilities: z.ZodOptional; schema: z.ZodOptional; id: z.ZodOptional; config: z.ZodOptional>; }, "strip", z.ZodTypeAny, { version: string; spec?: string | undefined; schema?: string | undefined; id?: string | undefined; config?: Record | undefined; }, { version: string; spec?: string | undefined; schema?: string | undefined; id?: string | undefined; config?: Record | undefined; }>, z.ZodObject<{ extends: z.ZodOptional>; }, "strip", z.ZodTypeAny, { extends?: unknown; }, { extends?: unknown; }>>, "many">>>; payment_handlers: z.ZodRecord; schema: z.ZodOptional; id: z.ZodOptional; config: z.ZodOptional>; }, "strip", z.ZodTypeAny, { version: string; spec?: string | undefined; schema?: string | undefined; id?: string | undefined; config?: Record | undefined; }, { version: string; spec?: string | undefined; schema?: string | undefined; id?: string | undefined; config?: Record | undefined; }>, z.ZodIntersection, z.ZodObject<{ available_instruments: z.ZodOptional>; }, "strip", z.ZodTypeAny, { type: string; constraints?: Record | undefined; }, { type: string; constraints?: Record | undefined; }>, "many">>; }, "strip", z.ZodTypeAny, { available_instruments?: { type: string; constraints?: Record | undefined; }[] | undefined; }, { available_instruments?: { type: string; constraints?: Record | undefined; }[] | undefined; }>>>, "many">>; }, "strip", z.ZodTypeAny, { payment_handlers: Record | undefined; } & Record & { available_instruments?: { type: string; constraints?: Record | undefined; }[] | undefined; })[]>; services?: Record | undefined; } & { transport: "rest" | "mcp" | "a2a" | "embedded"; endpoint?: string | undefined; } & ({ transport?: "rest" | undefined; } | { transport?: "mcp" | undefined; } | { transport?: "a2a" | undefined; } | { config?: { delegate?: string[] | undefined; color_scheme?: ("light" | "dark")[] | undefined; } | undefined; transport?: "embedded" | undefined; }))[]> | undefined; capabilities?: Record | undefined; } & { extends?: unknown; })[]> | undefined; }, { payment_handlers: Record | undefined; } & Record & { available_instruments?: { type: string; constraints?: Record | undefined; }[] | undefined; })[]>; services?: Record | undefined; } & { transport: "rest" | "mcp" | "a2a" | "embedded"; endpoint?: string | undefined; } & ({ transport?: "rest" | undefined; } | { transport?: "mcp" | undefined; } | { transport?: "a2a" | undefined; } | { config?: { delegate?: string[] | undefined; color_scheme?: ("light" | "dark")[] | undefined; } | undefined; transport?: "embedded" | undefined; }))[]> | undefined; capabilities?: Record | undefined; } & { extends?: unknown; })[]> | undefined; }>>; id: z.ZodString; line_items: z.ZodArray; }, "strip", z.ZodTypeAny, { id: string; title: string; price: number; image_url?: string | undefined; }, { id: string; title: string; price: number; image_url?: string | undefined; }>; quantity: z.ZodNumber; totals: z.ZodArray; amount: z.ZodNumber; }, "strip", z.ZodTypeAny, { type: string; amount: number; display_text?: string | undefined; }, { type: string; amount: number; display_text?: string | undefined; }>, z.ZodIntersection>, "many">; parent_id: z.ZodOptional; }, "strip", z.ZodTypeAny, { id: string; item: { id: string; title: string; price: number; image_url?: string | undefined; }; quantity: number; totals: any[]; parent_id?: string | undefined; }, { id: string; item: { id: string; title: string; price: number; image_url?: string | undefined; }; quantity: number; totals: any[]; parent_id?: string | undefined; }>, "many">; buyer: z.ZodOptional; last_name: z.ZodOptional; email: z.ZodOptional; phone_number: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ first_name: z.ZodOptional; last_name: z.ZodOptional; email: z.ZodOptional; phone_number: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ first_name: z.ZodOptional; last_name: z.ZodOptional; email: z.ZodOptional; phone_number: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; context: z.ZodOptional; address_region: z.ZodOptional; postal_code: z.ZodOptional; intent: z.ZodOptional; language: z.ZodOptional; currency: z.ZodOptional; eligibility: z.ZodOptional, string[], string[]>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ address_country: z.ZodOptional; address_region: z.ZodOptional; postal_code: z.ZodOptional; intent: z.ZodOptional; language: z.ZodOptional; currency: z.ZodOptional; eligibility: z.ZodOptional, string[], string[]>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ address_country: z.ZodOptional; address_region: z.ZodOptional; postal_code: z.ZodOptional; intent: z.ZodOptional; language: z.ZodOptional; currency: z.ZodOptional; eligibility: z.ZodOptional, string[], string[]>>; }, z.ZodTypeAny, "passthrough">>>; signals: z.ZodOptional; "dev.ucp.user_agent": z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ "dev.ucp.buyer_ip": z.ZodOptional; "dev.ucp.user_agent": z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ "dev.ucp.buyer_ip": z.ZodOptional; "dev.ucp.user_agent": z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; status: z.ZodEnum<["incomplete", "requires_escalation", "ready_for_complete", "complete_in_progress", "completed", "canceled"]>; currency: z.ZodString; totals: z.ZodArray; amount: z.ZodNumber; }, "strip", z.ZodTypeAny, { type: string; amount: number; display_text?: string | undefined; }, { type: string; amount: number; display_text?: string | undefined; }>, z.ZodIntersection>, z.ZodIntersection, "many">>; }, "strip", z.ZodTypeAny, { lines?: { display_text: string; amount: number; }[] | undefined; }, { lines?: { display_text: string; amount: number; }[] | undefined; }>, z.ZodAny>>, "many">; messages: z.ZodOptional, z.ZodEffects>, "many">>; links: z.ZodArray; }, "strip", z.ZodTypeAny, { type: string; url: string; title?: string | undefined; }, { type: string; url: string; title?: string | undefined; }>, "many">; expires_at: z.ZodOptional; continue_url: z.ZodOptional; payment: z.ZodOptional; street_address: z.ZodOptional; address_locality: z.ZodOptional; address_region: z.ZodOptional; address_country: z.ZodOptional; postal_code: z.ZodOptional; first_name: z.ZodOptional; last_name: z.ZodOptional; phone_number: z.ZodOptional; }, "strip", z.ZodTypeAny, { first_name?: string | undefined; last_name?: string | undefined; phone_number?: string | undefined; address_country?: string | undefined; address_region?: string | undefined; postal_code?: string | undefined; extended_address?: string | undefined; street_address?: string | undefined; address_locality?: string | undefined; }, { first_name?: string | undefined; last_name?: string | undefined; phone_number?: string | undefined; address_country?: string | undefined; address_region?: string | undefined; postal_code?: string | undefined; extended_address?: string | undefined; street_address?: string | undefined; address_locality?: string | undefined; }>>; credential: z.ZodOptional, z.objectInputType<{ type: z.ZodString; }, z.ZodTypeAny, "passthrough">>>; display: z.ZodOptional>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ id: z.ZodString; handler_id: z.ZodString; type: z.ZodString; billing_address: z.ZodOptional; street_address: z.ZodOptional; address_locality: z.ZodOptional; address_region: z.ZodOptional; address_country: z.ZodOptional; postal_code: z.ZodOptional; first_name: z.ZodOptional; last_name: z.ZodOptional; phone_number: z.ZodOptional; }, "strip", z.ZodTypeAny, { first_name?: string | undefined; last_name?: string | undefined; phone_number?: string | undefined; address_country?: string | undefined; address_region?: string | undefined; postal_code?: string | undefined; extended_address?: string | undefined; street_address?: string | undefined; address_locality?: string | undefined; }, { first_name?: string | undefined; last_name?: string | undefined; phone_number?: string | undefined; address_country?: string | undefined; address_region?: string | undefined; postal_code?: string | undefined; extended_address?: string | undefined; street_address?: string | undefined; address_locality?: string | undefined; }>>; credential: z.ZodOptional, z.objectInputType<{ type: z.ZodString; }, z.ZodTypeAny, "passthrough">>>; display: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ id: z.ZodString; handler_id: z.ZodString; type: z.ZodString; billing_address: z.ZodOptional; street_address: z.ZodOptional; address_locality: z.ZodOptional; address_region: z.ZodOptional; address_country: z.ZodOptional; postal_code: z.ZodOptional; first_name: z.ZodOptional; last_name: z.ZodOptional; phone_number: z.ZodOptional; }, "strip", z.ZodTypeAny, { first_name?: string | undefined; last_name?: string | undefined; phone_number?: string | undefined; address_country?: string | undefined; address_region?: string | undefined; postal_code?: string | undefined; extended_address?: string | undefined; street_address?: string | undefined; address_locality?: string | undefined; }, { first_name?: string | undefined; last_name?: string | undefined; phone_number?: string | undefined; address_country?: string | undefined; address_region?: string | undefined; postal_code?: string | undefined; extended_address?: string | undefined; street_address?: string | undefined; address_locality?: string | undefined; }>>; credential: z.ZodOptional, z.objectInputType<{ type: z.ZodString; }, z.ZodTypeAny, "passthrough">>>; display: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{ selected: z.ZodOptional; }, "strip", z.ZodTypeAny, { selected?: boolean | undefined; }, { selected?: boolean | undefined; }>>, "many">>; }, "strip", z.ZodTypeAny, { instruments?: ({ id: string; type: string; handler_id: string; billing_address?: { first_name?: string | undefined; last_name?: string | undefined; phone_number?: string | undefined; address_country?: string | undefined; address_region?: string | undefined; postal_code?: string | undefined; extended_address?: string | undefined; street_address?: string | undefined; address_locality?: string | undefined; } | undefined; credential?: z.objectOutputType<{ type: z.ZodString; }, z.ZodTypeAny, "passthrough"> | undefined; display?: Record | undefined; } & { [k: string]: unknown; } & { selected?: boolean | undefined; })[] | undefined; }, { instruments?: ({ id: string; type: string; handler_id: string; billing_address?: { first_name?: string | undefined; last_name?: string | undefined; phone_number?: string | undefined; address_country?: string | undefined; address_region?: string | undefined; postal_code?: string | undefined; extended_address?: string | undefined; street_address?: string | undefined; address_locality?: string | undefined; } | undefined; credential?: z.objectInputType<{ type: z.ZodString; }, z.ZodTypeAny, "passthrough"> | undefined; display?: Record | undefined; } & { [k: string]: unknown; } & { selected?: boolean | undefined; })[] | undefined; }>>; order: z.ZodOptional; permalink_url: z.ZodString; }, "strip", z.ZodTypeAny, { id: string; permalink_url: string; label?: string | undefined; }, { id: string; permalink_url: string; label?: string | undefined; }>>; }, z.ZodTypeAny, "passthrough">>; declare const UCPProfileSchema: z.ZodObject<{ ucp: z.ZodObject<{ version: z.ZodString; status: z.ZodDefault>; services: z.ZodOptional; schema: z.ZodOptional; id: z.ZodOptional; config: z.ZodOptional>; }, "strip", z.ZodTypeAny, { version: string; spec?: string | undefined; schema?: string | undefined; id?: string | undefined; config?: Record | undefined; }, { version: string; spec?: string | undefined; schema?: string | undefined; id?: string | undefined; config?: Record | undefined; }>, z.ZodObject<{ transport: z.ZodEnum<["rest", "mcp", "a2a", "embedded"]>; endpoint: z.ZodOptional; }, "strip", z.ZodTypeAny, { transport: "rest" | "mcp" | "a2a" | "embedded"; endpoint?: string | undefined; }, { transport: "rest" | "mcp" | "a2a" | "embedded"; endpoint?: string | undefined; }>>, "many">>>; capabilities: z.ZodOptional; schema: z.ZodOptional; id: z.ZodOptional; config: z.ZodOptional>; }, "strip", z.ZodTypeAny, { version: string; spec?: string | undefined; schema?: string | undefined; id?: string | undefined; config?: Record | undefined; }, { version: string; spec?: string | undefined; schema?: string | undefined; id?: string | undefined; config?: Record | undefined; }>, z.ZodObject<{ extends: z.ZodOptional>; }, "strip", z.ZodTypeAny, { extends?: unknown; }, { extends?: unknown; }>>, "many">>>; payment_handlers: z.ZodOptional; schema: z.ZodOptional; id: z.ZodOptional; config: z.ZodOptional>; }, "strip", z.ZodTypeAny, { version: string; spec?: string | undefined; schema?: string | undefined; id?: string | undefined; config?: Record | undefined; }, { version: string; spec?: string | undefined; schema?: string | undefined; id?: string | undefined; config?: Record | undefined; }>, z.ZodIntersection, z.ZodObject<{ available_instruments: z.ZodOptional>; }, "strip", z.ZodTypeAny, { type: string; constraints?: Record | undefined; }, { type: string; constraints?: Record | undefined; }>, "many">>; }, "strip", z.ZodTypeAny, { available_instruments?: { type: string; constraints?: Record | undefined; }[] | undefined; }, { available_instruments?: { type: string; constraints?: Record | undefined; }[] | undefined; }>>>, "many">>>; }, "strip", z.ZodTypeAny, { version: string; status: "success" | "error"; services?: Record | undefined; } & { transport: "rest" | "mcp" | "a2a" | "embedded"; endpoint?: string | undefined; })[]> | undefined; capabilities?: Record | undefined; } & { extends?: unknown; })[]> | undefined; payment_handlers?: Record | undefined; } & Record & { available_instruments?: { type: string; constraints?: Record | undefined; }[] | undefined; })[]> | undefined; }, { version: string; status?: "success" | "error" | undefined; services?: Record | undefined; } & { transport: "rest" | "mcp" | "a2a" | "embedded"; endpoint?: string | undefined; })[]> | undefined; capabilities?: Record | undefined; } & { extends?: unknown; })[]> | undefined; payment_handlers?: Record | undefined; } & Record & { available_instruments?: { type: string; constraints?: Record | undefined; }[] | undefined; })[]> | undefined; }>; signing_keys: z.ZodOptional; x: z.ZodOptional; y: z.ZodOptional; n: z.ZodOptional; e: z.ZodOptional; use: z.ZodOptional>; alg: z.ZodOptional; }, "strip", z.ZodTypeAny, { kid: string; kty: string; crv?: string | undefined; x?: string | undefined; y?: string | undefined; n?: string | undefined; e?: string | undefined; use?: "sig" | "enc" | undefined; alg?: string | undefined; }, { kid: string; kty: string; crv?: string | undefined; x?: string | undefined; y?: string | undefined; n?: string | undefined; e?: string | undefined; use?: "sig" | "enc" | undefined; alg?: string | undefined; }>, "many">>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ ucp: z.ZodObject<{ version: z.ZodString; status: z.ZodDefault>; services: z.ZodOptional; schema: z.ZodOptional; id: z.ZodOptional; config: z.ZodOptional>; }, "strip", z.ZodTypeAny, { version: string; spec?: string | undefined; schema?: string | undefined; id?: string | undefined; config?: Record | undefined; }, { version: string; spec?: string | undefined; schema?: string | undefined; id?: string | undefined; config?: Record | undefined; }>, z.ZodObject<{ transport: z.ZodEnum<["rest", "mcp", "a2a", "embedded"]>; endpoint: z.ZodOptional; }, "strip", z.ZodTypeAny, { transport: "rest" | "mcp" | "a2a" | "embedded"; endpoint?: string | undefined; }, { transport: "rest" | "mcp" | "a2a" | "embedded"; endpoint?: string | undefined; }>>, "many">>>; capabilities: z.ZodOptional; schema: z.ZodOptional; id: z.ZodOptional; config: z.ZodOptional>; }, "strip", z.ZodTypeAny, { version: string; spec?: string | undefined; schema?: string | undefined; id?: string | undefined; config?: Record | undefined; }, { version: string; spec?: string | undefined; schema?: string | undefined; id?: string | undefined; config?: Record | undefined; }>, z.ZodObject<{ extends: z.ZodOptional>; }, "strip", z.ZodTypeAny, { extends?: unknown; }, { extends?: unknown; }>>, "many">>>; payment_handlers: z.ZodOptional; schema: z.ZodOptional; id: z.ZodOptional; config: z.ZodOptional>; }, "strip", z.ZodTypeAny, { version: string; spec?: string | undefined; schema?: string | undefined; id?: string | undefined; config?: Record | undefined; }, { version: string; spec?: string | undefined; schema?: string | undefined; id?: string | undefined; config?: Record | undefined; }>, z.ZodIntersection, z.ZodObject<{ available_instruments: z.ZodOptional>; }, "strip", z.ZodTypeAny, { type: string; constraints?: Record | undefined; }, { type: string; constraints?: Record | undefined; }>, "many">>; }, "strip", z.ZodTypeAny, { available_instruments?: { type: string; constraints?: Record | undefined; }[] | undefined; }, { available_instruments?: { type: string; constraints?: Record | undefined; }[] | undefined; }>>>, "many">>>; }, "strip", z.ZodTypeAny, { version: string; status: "success" | "error"; services?: Record | undefined; } & { transport: "rest" | "mcp" | "a2a" | "embedded"; endpoint?: string | undefined; })[]> | undefined; capabilities?: Record | undefined; } & { extends?: unknown; })[]> | undefined; payment_handlers?: Record | undefined; } & Record & { available_instruments?: { type: string; constraints?: Record | undefined; }[] | undefined; })[]> | undefined; }, { version: string; status?: "success" | "error" | undefined; services?: Record | undefined; } & { transport: "rest" | "mcp" | "a2a" | "embedded"; endpoint?: string | undefined; })[]> | undefined; capabilities?: Record | undefined; } & { extends?: unknown; })[]> | undefined; payment_handlers?: Record | undefined; } & Record & { available_instruments?: { type: string; constraints?: Record | undefined; }[] | undefined; })[]> | undefined; }>; signing_keys: z.ZodOptional; x: z.ZodOptional; y: z.ZodOptional; n: z.ZodOptional; e: z.ZodOptional; use: z.ZodOptional>; alg: z.ZodOptional; }, "strip", z.ZodTypeAny, { kid: string; kty: string; crv?: string | undefined; x?: string | undefined; y?: string | undefined; n?: string | undefined; e?: string | undefined; use?: "sig" | "enc" | undefined; alg?: string | undefined; }, { kid: string; kty: string; crv?: string | undefined; x?: string | undefined; y?: string | undefined; n?: string | undefined; e?: string | undefined; use?: "sig" | "enc" | undefined; alg?: string | undefined; }>, "many">>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ ucp: z.ZodObject<{ version: z.ZodString; status: z.ZodDefault>; services: z.ZodOptional; schema: z.ZodOptional; id: z.ZodOptional; config: z.ZodOptional>; }, "strip", z.ZodTypeAny, { version: string; spec?: string | undefined; schema?: string | undefined; id?: string | undefined; config?: Record | undefined; }, { version: string; spec?: string | undefined; schema?: string | undefined; id?: string | undefined; config?: Record | undefined; }>, z.ZodObject<{ transport: z.ZodEnum<["rest", "mcp", "a2a", "embedded"]>; endpoint: z.ZodOptional; }, "strip", z.ZodTypeAny, { transport: "rest" | "mcp" | "a2a" | "embedded"; endpoint?: string | undefined; }, { transport: "rest" | "mcp" | "a2a" | "embedded"; endpoint?: string | undefined; }>>, "many">>>; capabilities: z.ZodOptional; schema: z.ZodOptional; id: z.ZodOptional; config: z.ZodOptional>; }, "strip", z.ZodTypeAny, { version: string; spec?: string | undefined; schema?: string | undefined; id?: string | undefined; config?: Record | undefined; }, { version: string; spec?: string | undefined; schema?: string | undefined; id?: string | undefined; config?: Record | undefined; }>, z.ZodObject<{ extends: z.ZodOptional>; }, "strip", z.ZodTypeAny, { extends?: unknown; }, { extends?: unknown; }>>, "many">>>; payment_handlers: z.ZodOptional; schema: z.ZodOptional; id: z.ZodOptional; config: z.ZodOptional>; }, "strip", z.ZodTypeAny, { version: string; spec?: string | undefined; schema?: string | undefined; id?: string | undefined; config?: Record | undefined; }, { version: string; spec?: string | undefined; schema?: string | undefined; id?: string | undefined; config?: Record | undefined; }>, z.ZodIntersection, z.ZodObject<{ available_instruments: z.ZodOptional>; }, "strip", z.ZodTypeAny, { type: string; constraints?: Record | undefined; }, { type: string; constraints?: Record | undefined; }>, "many">>; }, "strip", z.ZodTypeAny, { available_instruments?: { type: string; constraints?: Record | undefined; }[] | undefined; }, { available_instruments?: { type: string; constraints?: Record | undefined; }[] | undefined; }>>>, "many">>>; }, "strip", z.ZodTypeAny, { version: string; status: "success" | "error"; services?: Record | undefined; } & { transport: "rest" | "mcp" | "a2a" | "embedded"; endpoint?: string | undefined; })[]> | undefined; capabilities?: Record | undefined; } & { extends?: unknown; })[]> | undefined; payment_handlers?: Record | undefined; } & Record & { available_instruments?: { type: string; constraints?: Record | undefined; }[] | undefined; })[]> | undefined; }, { version: string; status?: "success" | "error" | undefined; services?: Record | undefined; } & { transport: "rest" | "mcp" | "a2a" | "embedded"; endpoint?: string | undefined; })[]> | undefined; capabilities?: Record | undefined; } & { extends?: unknown; })[]> | undefined; payment_handlers?: Record | undefined; } & Record & { available_instruments?: { type: string; constraints?: Record | undefined; }[] | undefined; })[]> | undefined; }>; signing_keys: z.ZodOptional; x: z.ZodOptional; y: z.ZodOptional; n: z.ZodOptional; e: z.ZodOptional; use: z.ZodOptional>; alg: z.ZodOptional; }, "strip", z.ZodTypeAny, { kid: string; kty: string; crv?: string | undefined; x?: string | undefined; y?: string | undefined; n?: string | undefined; e?: string | undefined; use?: "sig" | "enc" | undefined; alg?: string | undefined; }, { kid: string; kty: string; crv?: string | undefined; x?: string | undefined; y?: string | undefined; n?: string | undefined; e?: string | undefined; use?: "sig" | "enc" | undefined; alg?: string | undefined; }>, "many">>; }, z.ZodTypeAny, "passthrough">>; declare const CartResponseSchema: z.ZodObject<{ ucp: z.ZodIntersection>; services: z.ZodOptional; schema: z.ZodOptional; id: z.ZodOptional; config: z.ZodOptional>; }, "strip", z.ZodTypeAny, { version: string; spec?: string | undefined; schema?: string | undefined; id?: string | undefined; config?: Record | undefined; }, { version: string; spec?: string | undefined; schema?: string | undefined; id?: string | undefined; config?: Record | undefined; }>, z.ZodObject<{ transport: z.ZodEnum<["rest", "mcp", "a2a", "embedded"]>; endpoint: z.ZodOptional; }, "strip", z.ZodTypeAny, { transport: "rest" | "mcp" | "a2a" | "embedded"; endpoint?: string | undefined; }, { transport: "rest" | "mcp" | "a2a" | "embedded"; endpoint?: string | undefined; }>>, "many">>>; capabilities: z.ZodOptional; schema: z.ZodOptional; id: z.ZodOptional; config: z.ZodOptional>; }, "strip", z.ZodTypeAny, { version: string; spec?: string | undefined; schema?: string | undefined; id?: string | undefined; config?: Record | undefined; }, { version: string; spec?: string | undefined; schema?: string | undefined; id?: string | undefined; config?: Record | undefined; }>, z.ZodObject<{ extends: z.ZodOptional>; }, "strip", z.ZodTypeAny, { extends?: unknown; }, { extends?: unknown; }>>, "many">>>; payment_handlers: z.ZodOptional; schema: z.ZodOptional; id: z.ZodOptional; config: z.ZodOptional>; }, "strip", z.ZodTypeAny, { version: string; spec?: string | undefined; schema?: string | undefined; id?: string | undefined; config?: Record | undefined; }, { version: string; spec?: string | undefined; schema?: string | undefined; id?: string | undefined; config?: Record | undefined; }>, z.ZodIntersection, z.ZodObject<{ available_instruments: z.ZodOptional>; }, "strip", z.ZodTypeAny, { type: string; constraints?: Record | undefined; }, { type: string; constraints?: Record | undefined; }>, "many">>; }, "strip", z.ZodTypeAny, { available_instruments?: { type: string; constraints?: Record | undefined; }[] | undefined; }, { available_instruments?: { type: string; constraints?: Record | undefined; }[] | undefined; }>>>, "many">>>; }, "strip", z.ZodTypeAny, { version: string; status: "success" | "error"; services?: Record | undefined; } & { transport: "rest" | "mcp" | "a2a" | "embedded"; endpoint?: string | undefined; })[]> | undefined; capabilities?: Record | undefined; } & { extends?: unknown; })[]> | undefined; payment_handlers?: Record | undefined; } & Record & { available_instruments?: { type: string; constraints?: Record | undefined; }[] | undefined; })[]> | undefined; }, { version: string; status?: "success" | "error" | undefined; services?: Record | undefined; } & { transport: "rest" | "mcp" | "a2a" | "embedded"; endpoint?: string | undefined; })[]> | undefined; capabilities?: Record | undefined; } & { extends?: unknown; })[]> | undefined; payment_handlers?: Record | undefined; } & Record & { available_instruments?: { type: string; constraints?: Record | undefined; }[] | undefined; })[]> | undefined; }>, z.ZodObject<{ capabilities: z.ZodOptional; schema: z.ZodOptional; id: z.ZodOptional; config: z.ZodOptional>; }, "strip", z.ZodTypeAny, { version: string; spec?: string | undefined; schema?: string | undefined; id?: string | undefined; config?: Record | undefined; }, { version: string; spec?: string | undefined; schema?: string | undefined; id?: string | undefined; config?: Record | undefined; }>, z.ZodObject<{ extends: z.ZodOptional>; }, "strip", z.ZodTypeAny, { extends?: unknown; }, { extends?: unknown; }>>, "many">>>; }, "strip", z.ZodTypeAny, { capabilities?: Record | undefined; } & { extends?: unknown; })[]> | undefined; }, { capabilities?: Record | undefined; } & { extends?: unknown; })[]> | undefined; }>>; id: z.ZodString; line_items: z.ZodArray; }, "strip", z.ZodTypeAny, { id: string; title: string; price: number; image_url?: string | undefined; }, { id: string; title: string; price: number; image_url?: string | undefined; }>; quantity: z.ZodNumber; totals: z.ZodArray; amount: z.ZodNumber; }, "strip", z.ZodTypeAny, { type: string; amount: number; display_text?: string | undefined; }, { type: string; amount: number; display_text?: string | undefined; }>, z.ZodIntersection>, "many">; parent_id: z.ZodOptional; }, "strip", z.ZodTypeAny, { id: string; item: { id: string; title: string; price: number; image_url?: string | undefined; }; quantity: number; totals: any[]; parent_id?: string | undefined; }, { id: string; item: { id: string; title: string; price: number; image_url?: string | undefined; }; quantity: number; totals: any[]; parent_id?: string | undefined; }>, "many">; context: z.ZodOptional; address_region: z.ZodOptional; postal_code: z.ZodOptional; intent: z.ZodOptional; language: z.ZodOptional; currency: z.ZodOptional; eligibility: z.ZodOptional, string[], string[]>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ address_country: z.ZodOptional; address_region: z.ZodOptional; postal_code: z.ZodOptional; intent: z.ZodOptional; language: z.ZodOptional; currency: z.ZodOptional; eligibility: z.ZodOptional, string[], string[]>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ address_country: z.ZodOptional; address_region: z.ZodOptional; postal_code: z.ZodOptional; intent: z.ZodOptional; language: z.ZodOptional; currency: z.ZodOptional; eligibility: z.ZodOptional, string[], string[]>>; }, z.ZodTypeAny, "passthrough">>>; signals: z.ZodOptional; "dev.ucp.user_agent": z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ "dev.ucp.buyer_ip": z.ZodOptional; "dev.ucp.user_agent": z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ "dev.ucp.buyer_ip": z.ZodOptional; "dev.ucp.user_agent": z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; buyer: z.ZodOptional; last_name: z.ZodOptional; email: z.ZodOptional; phone_number: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ first_name: z.ZodOptional; last_name: z.ZodOptional; email: z.ZodOptional; phone_number: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ first_name: z.ZodOptional; last_name: z.ZodOptional; email: z.ZodOptional; phone_number: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; currency: z.ZodString; totals: z.ZodArray; amount: z.ZodNumber; }, "strip", z.ZodTypeAny, { type: string; amount: number; display_text?: string | undefined; }, { type: string; amount: number; display_text?: string | undefined; }>, z.ZodIntersection>, z.ZodIntersection, "many">>; }, "strip", z.ZodTypeAny, { lines?: { display_text: string; amount: number; }[] | undefined; }, { lines?: { display_text: string; amount: number; }[] | undefined; }>, z.ZodAny>>, "many">; messages: z.ZodOptional, z.ZodEffects>, "many">>; links: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: string; url: string; title?: string | undefined; }, { type: string; url: string; title?: string | undefined; }>, "many">>; continue_url: z.ZodOptional; expires_at: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ ucp: z.ZodIntersection>; services: z.ZodOptional; schema: z.ZodOptional; id: z.ZodOptional; config: z.ZodOptional>; }, "strip", z.ZodTypeAny, { version: string; spec?: string | undefined; schema?: string | undefined; id?: string | undefined; config?: Record | undefined; }, { version: string; spec?: string | undefined; schema?: string | undefined; id?: string | undefined; config?: Record | undefined; }>, z.ZodObject<{ transport: z.ZodEnum<["rest", "mcp", "a2a", "embedded"]>; endpoint: z.ZodOptional; }, "strip", z.ZodTypeAny, { transport: "rest" | "mcp" | "a2a" | "embedded"; endpoint?: string | undefined; }, { transport: "rest" | "mcp" | "a2a" | "embedded"; endpoint?: string | undefined; }>>, "many">>>; capabilities: z.ZodOptional; schema: z.ZodOptional; id: z.ZodOptional; config: z.ZodOptional>; }, "strip", z.ZodTypeAny, { version: string; spec?: string | undefined; schema?: string | undefined; id?: string | undefined; config?: Record | undefined; }, { version: string; spec?: string | undefined; schema?: string | undefined; id?: string | undefined; config?: Record | undefined; }>, z.ZodObject<{ extends: z.ZodOptional>; }, "strip", z.ZodTypeAny, { extends?: unknown; }, { extends?: unknown; }>>, "many">>>; payment_handlers: z.ZodOptional; schema: z.ZodOptional; id: z.ZodOptional; config: z.ZodOptional>; }, "strip", z.ZodTypeAny, { version: string; spec?: string | undefined; schema?: string | undefined; id?: string | undefined; config?: Record | undefined; }, { version: string; spec?: string | undefined; schema?: string | undefined; id?: string | undefined; config?: Record | undefined; }>, z.ZodIntersection, z.ZodObject<{ available_instruments: z.ZodOptional>; }, "strip", z.ZodTypeAny, { type: string; constraints?: Record | undefined; }, { type: string; constraints?: Record | undefined; }>, "many">>; }, "strip", z.ZodTypeAny, { available_instruments?: { type: string; constraints?: Record | undefined; }[] | undefined; }, { available_instruments?: { type: string; constraints?: Record | undefined; }[] | undefined; }>>>, "many">>>; }, "strip", z.ZodTypeAny, { version: string; status: "success" | "error"; services?: Record | undefined; } & { transport: "rest" | "mcp" | "a2a" | "embedded"; endpoint?: string | undefined; })[]> | undefined; capabilities?: Record | undefined; } & { extends?: unknown; })[]> | undefined; payment_handlers?: Record | undefined; } & Record & { available_instruments?: { type: string; constraints?: Record | undefined; }[] | undefined; })[]> | undefined; }, { version: string; status?: "success" | "error" | undefined; services?: Record | undefined; } & { transport: "rest" | "mcp" | "a2a" | "embedded"; endpoint?: string | undefined; })[]> | undefined; capabilities?: Record | undefined; } & { extends?: unknown; })[]> | undefined; payment_handlers?: Record | undefined; } & Record & { available_instruments?: { type: string; constraints?: Record | undefined; }[] | undefined; })[]> | undefined; }>, z.ZodObject<{ capabilities: z.ZodOptional; schema: z.ZodOptional; id: z.ZodOptional; config: z.ZodOptional>; }, "strip", z.ZodTypeAny, { version: string; spec?: string | undefined; schema?: string | undefined; id?: string | undefined; config?: Record | undefined; }, { version: string; spec?: string | undefined; schema?: string | undefined; id?: string | undefined; config?: Record | undefined; }>, z.ZodObject<{ extends: z.ZodOptional>; }, "strip", z.ZodTypeAny, { extends?: unknown; }, { extends?: unknown; }>>, "many">>>; }, "strip", z.ZodTypeAny, { capabilities?: Record | undefined; } & { extends?: unknown; })[]> | undefined; }, { capabilities?: Record | undefined; } & { extends?: unknown; })[]> | undefined; }>>; id: z.ZodString; line_items: z.ZodArray; }, "strip", z.ZodTypeAny, { id: string; title: string; price: number; image_url?: string | undefined; }, { id: string; title: string; price: number; image_url?: string | undefined; }>; quantity: z.ZodNumber; totals: z.ZodArray; amount: z.ZodNumber; }, "strip", z.ZodTypeAny, { type: string; amount: number; display_text?: string | undefined; }, { type: string; amount: number; display_text?: string | undefined; }>, z.ZodIntersection>, "many">; parent_id: z.ZodOptional; }, "strip", z.ZodTypeAny, { id: string; item: { id: string; title: string; price: number; image_url?: string | undefined; }; quantity: number; totals: any[]; parent_id?: string | undefined; }, { id: string; item: { id: string; title: string; price: number; image_url?: string | undefined; }; quantity: number; totals: any[]; parent_id?: string | undefined; }>, "many">; context: z.ZodOptional; address_region: z.ZodOptional; postal_code: z.ZodOptional; intent: z.ZodOptional; language: z.ZodOptional; currency: z.ZodOptional; eligibility: z.ZodOptional, string[], string[]>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ address_country: z.ZodOptional; address_region: z.ZodOptional; postal_code: z.ZodOptional; intent: z.ZodOptional; language: z.ZodOptional; currency: z.ZodOptional; eligibility: z.ZodOptional, string[], string[]>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ address_country: z.ZodOptional; address_region: z.ZodOptional; postal_code: z.ZodOptional; intent: z.ZodOptional; language: z.ZodOptional; currency: z.ZodOptional; eligibility: z.ZodOptional, string[], string[]>>; }, z.ZodTypeAny, "passthrough">>>; signals: z.ZodOptional; "dev.ucp.user_agent": z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ "dev.ucp.buyer_ip": z.ZodOptional; "dev.ucp.user_agent": z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ "dev.ucp.buyer_ip": z.ZodOptional; "dev.ucp.user_agent": z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; buyer: z.ZodOptional; last_name: z.ZodOptional; email: z.ZodOptional; phone_number: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ first_name: z.ZodOptional; last_name: z.ZodOptional; email: z.ZodOptional; phone_number: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ first_name: z.ZodOptional; last_name: z.ZodOptional; email: z.ZodOptional; phone_number: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; currency: z.ZodString; totals: z.ZodArray; amount: z.ZodNumber; }, "strip", z.ZodTypeAny, { type: string; amount: number; display_text?: string | undefined; }, { type: string; amount: number; display_text?: string | undefined; }>, z.ZodIntersection>, z.ZodIntersection, "many">>; }, "strip", z.ZodTypeAny, { lines?: { display_text: string; amount: number; }[] | undefined; }, { lines?: { display_text: string; amount: number; }[] | undefined; }>, z.ZodAny>>, "many">; messages: z.ZodOptional, z.ZodEffects>, "many">>; links: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: string; url: string; title?: string | undefined; }, { type: string; url: string; title?: string | undefined; }>, "many">>; continue_url: z.ZodOptional; expires_at: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ ucp: z.ZodIntersection>; services: z.ZodOptional; schema: z.ZodOptional; id: z.ZodOptional; config: z.ZodOptional>; }, "strip", z.ZodTypeAny, { version: string; spec?: string | undefined; schema?: string | undefined; id?: string | undefined; config?: Record | undefined; }, { version: string; spec?: string | undefined; schema?: string | undefined; id?: string | undefined; config?: Record | undefined; }>, z.ZodObject<{ transport: z.ZodEnum<["rest", "mcp", "a2a", "embedded"]>; endpoint: z.ZodOptional; }, "strip", z.ZodTypeAny, { transport: "rest" | "mcp" | "a2a" | "embedded"; endpoint?: string | undefined; }, { transport: "rest" | "mcp" | "a2a" | "embedded"; endpoint?: string | undefined; }>>, "many">>>; capabilities: z.ZodOptional; schema: z.ZodOptional; id: z.ZodOptional; config: z.ZodOptional>; }, "strip", z.ZodTypeAny, { version: string; spec?: string | undefined; schema?: string | undefined; id?: string | undefined; config?: Record | undefined; }, { version: string; spec?: string | undefined; schema?: string | undefined; id?: string | undefined; config?: Record | undefined; }>, z.ZodObject<{ extends: z.ZodOptional>; }, "strip", z.ZodTypeAny, { extends?: unknown; }, { extends?: unknown; }>>, "many">>>; payment_handlers: z.ZodOptional; schema: z.ZodOptional; id: z.ZodOptional; config: z.ZodOptional>; }, "strip", z.ZodTypeAny, { version: string; spec?: string | undefined; schema?: string | undefined; id?: string | undefined; config?: Record | undefined; }, { version: string; spec?: string | undefined; schema?: string | undefined; id?: string | undefined; config?: Record | undefined; }>, z.ZodIntersection, z.ZodObject<{ available_instruments: z.ZodOptional>; }, "strip", z.ZodTypeAny, { type: string; constraints?: Record | undefined; }, { type: string; constraints?: Record | undefined; }>, "many">>; }, "strip", z.ZodTypeAny, { available_instruments?: { type: string; constraints?: Record | undefined; }[] | undefined; }, { available_instruments?: { type: string; constraints?: Record | undefined; }[] | undefined; }>>>, "many">>>; }, "strip", z.ZodTypeAny, { version: string; status: "success" | "error"; services?: Record | undefined; } & { transport: "rest" | "mcp" | "a2a" | "embedded"; endpoint?: string | undefined; })[]> | undefined; capabilities?: Record | undefined; } & { extends?: unknown; })[]> | undefined; payment_handlers?: Record | undefined; } & Record & { available_instruments?: { type: string; constraints?: Record | undefined; }[] | undefined; })[]> | undefined; }, { version: string; status?: "success" | "error" | undefined; services?: Record | undefined; } & { transport: "rest" | "mcp" | "a2a" | "embedded"; endpoint?: string | undefined; })[]> | undefined; capabilities?: Record | undefined; } & { extends?: unknown; })[]> | undefined; payment_handlers?: Record | undefined; } & Record & { available_instruments?: { type: string; constraints?: Record | undefined; }[] | undefined; })[]> | undefined; }>, z.ZodObject<{ capabilities: z.ZodOptional; schema: z.ZodOptional; id: z.ZodOptional; config: z.ZodOptional>; }, "strip", z.ZodTypeAny, { version: string; spec?: string | undefined; schema?: string | undefined; id?: string | undefined; config?: Record | undefined; }, { version: string; spec?: string | undefined; schema?: string | undefined; id?: string | undefined; config?: Record | undefined; }>, z.ZodObject<{ extends: z.ZodOptional>; }, "strip", z.ZodTypeAny, { extends?: unknown; }, { extends?: unknown; }>>, "many">>>; }, "strip", z.ZodTypeAny, { capabilities?: Record | undefined; } & { extends?: unknown; })[]> | undefined; }, { capabilities?: Record | undefined; } & { extends?: unknown; })[]> | undefined; }>>; id: z.ZodString; line_items: z.ZodArray; }, "strip", z.ZodTypeAny, { id: string; title: string; price: number; image_url?: string | undefined; }, { id: string; title: string; price: number; image_url?: string | undefined; }>; quantity: z.ZodNumber; totals: z.ZodArray; amount: z.ZodNumber; }, "strip", z.ZodTypeAny, { type: string; amount: number; display_text?: string | undefined; }, { type: string; amount: number; display_text?: string | undefined; }>, z.ZodIntersection>, "many">; parent_id: z.ZodOptional; }, "strip", z.ZodTypeAny, { id: string; item: { id: string; title: string; price: number; image_url?: string | undefined; }; quantity: number; totals: any[]; parent_id?: string | undefined; }, { id: string; item: { id: string; title: string; price: number; image_url?: string | undefined; }; quantity: number; totals: any[]; parent_id?: string | undefined; }>, "many">; context: z.ZodOptional; address_region: z.ZodOptional; postal_code: z.ZodOptional; intent: z.ZodOptional; language: z.ZodOptional; currency: z.ZodOptional; eligibility: z.ZodOptional, string[], string[]>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ address_country: z.ZodOptional; address_region: z.ZodOptional; postal_code: z.ZodOptional; intent: z.ZodOptional; language: z.ZodOptional; currency: z.ZodOptional; eligibility: z.ZodOptional, string[], string[]>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ address_country: z.ZodOptional; address_region: z.ZodOptional; postal_code: z.ZodOptional; intent: z.ZodOptional; language: z.ZodOptional; currency: z.ZodOptional; eligibility: z.ZodOptional, string[], string[]>>; }, z.ZodTypeAny, "passthrough">>>; signals: z.ZodOptional; "dev.ucp.user_agent": z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ "dev.ucp.buyer_ip": z.ZodOptional; "dev.ucp.user_agent": z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ "dev.ucp.buyer_ip": z.ZodOptional; "dev.ucp.user_agent": z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; buyer: z.ZodOptional; last_name: z.ZodOptional; email: z.ZodOptional; phone_number: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ first_name: z.ZodOptional; last_name: z.ZodOptional; email: z.ZodOptional; phone_number: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ first_name: z.ZodOptional; last_name: z.ZodOptional; email: z.ZodOptional; phone_number: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; currency: z.ZodString; totals: z.ZodArray; amount: z.ZodNumber; }, "strip", z.ZodTypeAny, { type: string; amount: number; display_text?: string | undefined; }, { type: string; amount: number; display_text?: string | undefined; }>, z.ZodIntersection>, z.ZodIntersection, "many">>; }, "strip", z.ZodTypeAny, { lines?: { display_text: string; amount: number; }[] | undefined; }, { lines?: { display_text: string; amount: number; }[] | undefined; }>, z.ZodAny>>, "many">; messages: z.ZodOptional, z.ZodEffects>, "many">>; links: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: string; url: string; title?: string | undefined; }, { type: string; url: string; title?: string | undefined; }>, "many">>; continue_url: z.ZodOptional; expires_at: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>; declare const CreateCheckoutRequestSchema: z.ZodObject<{ line_items: z.ZodArray; }, "strip", z.ZodTypeAny, { id: string; title: string; price: number; image_url?: string | undefined; }, { id: string; title: string; price: number; image_url?: string | undefined; }>; quantity: z.ZodNumber; totals: z.ZodArray; amount: z.ZodNumber; }, "strip", z.ZodTypeAny, { type: string; amount: number; display_text?: string | undefined; }, { type: string; amount: number; display_text?: string | undefined; }>, z.ZodIntersection>, "many">; parent_id: z.ZodOptional; }, "strip", z.ZodTypeAny, { id: string; item: { id: string; title: string; price: number; image_url?: string | undefined; }; quantity: number; totals: any[]; parent_id?: string | undefined; }, { id: string; item: { id: string; title: string; price: number; image_url?: string | undefined; }; quantity: number; totals: any[]; parent_id?: string | undefined; }>, "many">; buyer: z.ZodOptional; last_name: z.ZodOptional; email: z.ZodOptional; phone_number: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ first_name: z.ZodOptional; last_name: z.ZodOptional; email: z.ZodOptional; phone_number: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ first_name: z.ZodOptional; last_name: z.ZodOptional; email: z.ZodOptional; phone_number: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; context: z.ZodOptional; address_region: z.ZodOptional; postal_code: z.ZodOptional; intent: z.ZodOptional; language: z.ZodOptional; currency: z.ZodOptional; eligibility: z.ZodOptional, string[], string[]>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ address_country: z.ZodOptional; address_region: z.ZodOptional; postal_code: z.ZodOptional; intent: z.ZodOptional; language: z.ZodOptional; currency: z.ZodOptional; eligibility: z.ZodOptional, string[], string[]>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ address_country: z.ZodOptional; address_region: z.ZodOptional; postal_code: z.ZodOptional; intent: z.ZodOptional; language: z.ZodOptional; currency: z.ZodOptional; eligibility: z.ZodOptional, string[], string[]>>; }, z.ZodTypeAny, "passthrough">>>; signals: z.ZodOptional; "dev.ucp.user_agent": z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ "dev.ucp.buyer_ip": z.ZodOptional; "dev.ucp.user_agent": z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ "dev.ucp.buyer_ip": z.ZodOptional; "dev.ucp.user_agent": z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; payment: z.ZodOptional; street_address: z.ZodOptional; address_locality: z.ZodOptional; address_region: z.ZodOptional; address_country: z.ZodOptional; postal_code: z.ZodOptional; first_name: z.ZodOptional; last_name: z.ZodOptional; phone_number: z.ZodOptional; }, "strip", z.ZodTypeAny, { first_name?: string | undefined; last_name?: string | undefined; phone_number?: string | undefined; address_country?: string | undefined; address_region?: string | undefined; postal_code?: string | undefined; extended_address?: string | undefined; street_address?: string | undefined; address_locality?: string | undefined; }, { first_name?: string | undefined; last_name?: string | undefined; phone_number?: string | undefined; address_country?: string | undefined; address_region?: string | undefined; postal_code?: string | undefined; extended_address?: string | undefined; street_address?: string | undefined; address_locality?: string | undefined; }>>; credential: z.ZodOptional, z.objectInputType<{ type: z.ZodString; }, z.ZodTypeAny, "passthrough">>>; display: z.ZodOptional>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ id: z.ZodString; handler_id: z.ZodString; type: z.ZodString; billing_address: z.ZodOptional; street_address: z.ZodOptional; address_locality: z.ZodOptional; address_region: z.ZodOptional; address_country: z.ZodOptional; postal_code: z.ZodOptional; first_name: z.ZodOptional; last_name: z.ZodOptional; phone_number: z.ZodOptional; }, "strip", z.ZodTypeAny, { first_name?: string | undefined; last_name?: string | undefined; phone_number?: string | undefined; address_country?: string | undefined; address_region?: string | undefined; postal_code?: string | undefined; extended_address?: string | undefined; street_address?: string | undefined; address_locality?: string | undefined; }, { first_name?: string | undefined; last_name?: string | undefined; phone_number?: string | undefined; address_country?: string | undefined; address_region?: string | undefined; postal_code?: string | undefined; extended_address?: string | undefined; street_address?: string | undefined; address_locality?: string | undefined; }>>; credential: z.ZodOptional, z.objectInputType<{ type: z.ZodString; }, z.ZodTypeAny, "passthrough">>>; display: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ id: z.ZodString; handler_id: z.ZodString; type: z.ZodString; billing_address: z.ZodOptional; street_address: z.ZodOptional; address_locality: z.ZodOptional; address_region: z.ZodOptional; address_country: z.ZodOptional; postal_code: z.ZodOptional; first_name: z.ZodOptional; last_name: z.ZodOptional; phone_number: z.ZodOptional; }, "strip", z.ZodTypeAny, { first_name?: string | undefined; last_name?: string | undefined; phone_number?: string | undefined; address_country?: string | undefined; address_region?: string | undefined; postal_code?: string | undefined; extended_address?: string | undefined; street_address?: string | undefined; address_locality?: string | undefined; }, { first_name?: string | undefined; last_name?: string | undefined; phone_number?: string | undefined; address_country?: string | undefined; address_region?: string | undefined; postal_code?: string | undefined; extended_address?: string | undefined; street_address?: string | undefined; address_locality?: string | undefined; }>>; credential: z.ZodOptional, z.objectInputType<{ type: z.ZodString; }, z.ZodTypeAny, "passthrough">>>; display: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{ selected: z.ZodOptional; }, "strip", z.ZodTypeAny, { selected?: boolean | undefined; }, { selected?: boolean | undefined; }>>, "many">>; }, "strip", z.ZodTypeAny, { instruments?: ({ id: string; type: string; handler_id: string; billing_address?: { first_name?: string | undefined; last_name?: string | undefined; phone_number?: string | undefined; address_country?: string | undefined; address_region?: string | undefined; postal_code?: string | undefined; extended_address?: string | undefined; street_address?: string | undefined; address_locality?: string | undefined; } | undefined; credential?: z.objectOutputType<{ type: z.ZodString; }, z.ZodTypeAny, "passthrough"> | undefined; display?: Record | undefined; } & { [k: string]: unknown; } & { selected?: boolean | undefined; })[] | undefined; }, { instruments?: ({ id: string; type: string; handler_id: string; billing_address?: { first_name?: string | undefined; last_name?: string | undefined; phone_number?: string | undefined; address_country?: string | undefined; address_region?: string | undefined; postal_code?: string | undefined; extended_address?: string | undefined; street_address?: string | undefined; address_locality?: string | undefined; } | undefined; credential?: z.objectInputType<{ type: z.ZodString; }, z.ZodTypeAny, "passthrough"> | undefined; display?: Record | undefined; } & { [k: string]: unknown; } & { selected?: boolean | undefined; })[] | undefined; }>>; }, "strict", z.ZodTypeAny, { line_items: { id: string; item: { id: string; title: string; price: number; image_url?: string | undefined; }; quantity: number; totals: any[]; parent_id?: string | undefined; }[]; context?: z.objectOutputType<{ address_country: z.ZodOptional; address_region: z.ZodOptional; postal_code: z.ZodOptional; intent: z.ZodOptional; language: z.ZodOptional; currency: z.ZodOptional; eligibility: z.ZodOptional, string[], string[]>>; }, z.ZodTypeAny, "passthrough"> | undefined; signals?: z.objectOutputType<{ "dev.ucp.buyer_ip": z.ZodOptional; "dev.ucp.user_agent": z.ZodOptional; }, z.ZodTypeAny, "passthrough"> | undefined; buyer?: z.objectOutputType<{ first_name: z.ZodOptional; last_name: z.ZodOptional; email: z.ZodOptional; phone_number: z.ZodOptional; }, z.ZodTypeAny, "passthrough"> | undefined; payment?: { instruments?: ({ id: string; type: string; handler_id: string; billing_address?: { first_name?: string | undefined; last_name?: string | undefined; phone_number?: string | undefined; address_country?: string | undefined; address_region?: string | undefined; postal_code?: string | undefined; extended_address?: string | undefined; street_address?: string | undefined; address_locality?: string | undefined; } | undefined; credential?: z.objectOutputType<{ type: z.ZodString; }, z.ZodTypeAny, "passthrough"> | undefined; display?: Record | undefined; } & { [k: string]: unknown; } & { selected?: boolean | undefined; })[] | undefined; } | undefined; }, { line_items: { id: string; item: { id: string; title: string; price: number; image_url?: string | undefined; }; quantity: number; totals: any[]; parent_id?: string | undefined; }[]; context?: z.objectInputType<{ address_country: z.ZodOptional; address_region: z.ZodOptional; postal_code: z.ZodOptional; intent: z.ZodOptional; language: z.ZodOptional; currency: z.ZodOptional; eligibility: z.ZodOptional, string[], string[]>>; }, z.ZodTypeAny, "passthrough"> | undefined; signals?: z.objectInputType<{ "dev.ucp.buyer_ip": z.ZodOptional; "dev.ucp.user_agent": z.ZodOptional; }, z.ZodTypeAny, "passthrough"> | undefined; buyer?: z.objectInputType<{ first_name: z.ZodOptional; last_name: z.ZodOptional; email: z.ZodOptional; phone_number: z.ZodOptional; }, z.ZodTypeAny, "passthrough"> | undefined; payment?: { instruments?: ({ id: string; type: string; handler_id: string; billing_address?: { first_name?: string | undefined; last_name?: string | undefined; phone_number?: string | undefined; address_country?: string | undefined; address_region?: string | undefined; postal_code?: string | undefined; extended_address?: string | undefined; street_address?: string | undefined; address_locality?: string | undefined; } | undefined; credential?: z.objectInputType<{ type: z.ZodString; }, z.ZodTypeAny, "passthrough"> | undefined; display?: Record | undefined; } & { [k: string]: unknown; } & { selected?: boolean | undefined; })[] | undefined; } | undefined; }>; declare const UpdateCheckoutRequestSchema: z.ZodObject<{ line_items: z.ZodArray; }, "strip", z.ZodTypeAny, { id: string; title: string; price: number; image_url?: string | undefined; }, { id: string; title: string; price: number; image_url?: string | undefined; }>; quantity: z.ZodNumber; totals: z.ZodArray; amount: z.ZodNumber; }, "strip", z.ZodTypeAny, { type: string; amount: number; display_text?: string | undefined; }, { type: string; amount: number; display_text?: string | undefined; }>, z.ZodIntersection>, "many">; parent_id: z.ZodOptional; }, "strip", z.ZodTypeAny, { id: string; item: { id: string; title: string; price: number; image_url?: string | undefined; }; quantity: number; totals: any[]; parent_id?: string | undefined; }, { id: string; item: { id: string; title: string; price: number; image_url?: string | undefined; }; quantity: number; totals: any[]; parent_id?: string | undefined; }>, "many">; buyer: z.ZodOptional; last_name: z.ZodOptional; email: z.ZodOptional; phone_number: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ first_name: z.ZodOptional; last_name: z.ZodOptional; email: z.ZodOptional; phone_number: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ first_name: z.ZodOptional; last_name: z.ZodOptional; email: z.ZodOptional; phone_number: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; context: z.ZodOptional; address_region: z.ZodOptional; postal_code: z.ZodOptional; intent: z.ZodOptional; language: z.ZodOptional; currency: z.ZodOptional; eligibility: z.ZodOptional, string[], string[]>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ address_country: z.ZodOptional; address_region: z.ZodOptional; postal_code: z.ZodOptional; intent: z.ZodOptional; language: z.ZodOptional; currency: z.ZodOptional; eligibility: z.ZodOptional, string[], string[]>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ address_country: z.ZodOptional; address_region: z.ZodOptional; postal_code: z.ZodOptional; intent: z.ZodOptional; language: z.ZodOptional; currency: z.ZodOptional; eligibility: z.ZodOptional, string[], string[]>>; }, z.ZodTypeAny, "passthrough">>>; signals: z.ZodOptional; "dev.ucp.user_agent": z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ "dev.ucp.buyer_ip": z.ZodOptional; "dev.ucp.user_agent": z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ "dev.ucp.buyer_ip": z.ZodOptional; "dev.ucp.user_agent": z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; payment: z.ZodOptional; street_address: z.ZodOptional; address_locality: z.ZodOptional; address_region: z.ZodOptional; address_country: z.ZodOptional; postal_code: z.ZodOptional; first_name: z.ZodOptional; last_name: z.ZodOptional; phone_number: z.ZodOptional; }, "strip", z.ZodTypeAny, { first_name?: string | undefined; last_name?: string | undefined; phone_number?: string | undefined; address_country?: string | undefined; address_region?: string | undefined; postal_code?: string | undefined; extended_address?: string | undefined; street_address?: string | undefined; address_locality?: string | undefined; }, { first_name?: string | undefined; last_name?: string | undefined; phone_number?: string | undefined; address_country?: string | undefined; address_region?: string | undefined; postal_code?: string | undefined; extended_address?: string | undefined; street_address?: string | undefined; address_locality?: string | undefined; }>>; credential: z.ZodOptional, z.objectInputType<{ type: z.ZodString; }, z.ZodTypeAny, "passthrough">>>; display: z.ZodOptional>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ id: z.ZodString; handler_id: z.ZodString; type: z.ZodString; billing_address: z.ZodOptional; street_address: z.ZodOptional; address_locality: z.ZodOptional; address_region: z.ZodOptional; address_country: z.ZodOptional; postal_code: z.ZodOptional; first_name: z.ZodOptional; last_name: z.ZodOptional; phone_number: z.ZodOptional; }, "strip", z.ZodTypeAny, { first_name?: string | undefined; last_name?: string | undefined; phone_number?: string | undefined; address_country?: string | undefined; address_region?: string | undefined; postal_code?: string | undefined; extended_address?: string | undefined; street_address?: string | undefined; address_locality?: string | undefined; }, { first_name?: string | undefined; last_name?: string | undefined; phone_number?: string | undefined; address_country?: string | undefined; address_region?: string | undefined; postal_code?: string | undefined; extended_address?: string | undefined; street_address?: string | undefined; address_locality?: string | undefined; }>>; credential: z.ZodOptional, z.objectInputType<{ type: z.ZodString; }, z.ZodTypeAny, "passthrough">>>; display: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ id: z.ZodString; handler_id: z.ZodString; type: z.ZodString; billing_address: z.ZodOptional; street_address: z.ZodOptional; address_locality: z.ZodOptional; address_region: z.ZodOptional; address_country: z.ZodOptional; postal_code: z.ZodOptional; first_name: z.ZodOptional; last_name: z.ZodOptional; phone_number: z.ZodOptional; }, "strip", z.ZodTypeAny, { first_name?: string | undefined; last_name?: string | undefined; phone_number?: string | undefined; address_country?: string | undefined; address_region?: string | undefined; postal_code?: string | undefined; extended_address?: string | undefined; street_address?: string | undefined; address_locality?: string | undefined; }, { first_name?: string | undefined; last_name?: string | undefined; phone_number?: string | undefined; address_country?: string | undefined; address_region?: string | undefined; postal_code?: string | undefined; extended_address?: string | undefined; street_address?: string | undefined; address_locality?: string | undefined; }>>; credential: z.ZodOptional, z.objectInputType<{ type: z.ZodString; }, z.ZodTypeAny, "passthrough">>>; display: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{ selected: z.ZodOptional; }, "strip", z.ZodTypeAny, { selected?: boolean | undefined; }, { selected?: boolean | undefined; }>>, "many">>; }, "strip", z.ZodTypeAny, { instruments?: ({ id: string; type: string; handler_id: string; billing_address?: { first_name?: string | undefined; last_name?: string | undefined; phone_number?: string | undefined; address_country?: string | undefined; address_region?: string | undefined; postal_code?: string | undefined; extended_address?: string | undefined; street_address?: string | undefined; address_locality?: string | undefined; } | undefined; credential?: z.objectOutputType<{ type: z.ZodString; }, z.ZodTypeAny, "passthrough"> | undefined; display?: Record | undefined; } & { [k: string]: unknown; } & { selected?: boolean | undefined; })[] | undefined; }, { instruments?: ({ id: string; type: string; handler_id: string; billing_address?: { first_name?: string | undefined; last_name?: string | undefined; phone_number?: string | undefined; address_country?: string | undefined; address_region?: string | undefined; postal_code?: string | undefined; extended_address?: string | undefined; street_address?: string | undefined; address_locality?: string | undefined; } | undefined; credential?: z.objectInputType<{ type: z.ZodString; }, z.ZodTypeAny, "passthrough"> | undefined; display?: Record | undefined; } & { [k: string]: unknown; } & { selected?: boolean | undefined; })[] | undefined; }>>; }, "strict", z.ZodTypeAny, { line_items: { id: string; item: { id: string; title: string; price: number; image_url?: string | undefined; }; quantity: number; totals: any[]; parent_id?: string | undefined; }[]; context?: z.objectOutputType<{ address_country: z.ZodOptional; address_region: z.ZodOptional; postal_code: z.ZodOptional; intent: z.ZodOptional; language: z.ZodOptional; currency: z.ZodOptional; eligibility: z.ZodOptional, string[], string[]>>; }, z.ZodTypeAny, "passthrough"> | undefined; signals?: z.objectOutputType<{ "dev.ucp.buyer_ip": z.ZodOptional; "dev.ucp.user_agent": z.ZodOptional; }, z.ZodTypeAny, "passthrough"> | undefined; buyer?: z.objectOutputType<{ first_name: z.ZodOptional; last_name: z.ZodOptional; email: z.ZodOptional; phone_number: z.ZodOptional; }, z.ZodTypeAny, "passthrough"> | undefined; payment?: { instruments?: ({ id: string; type: string; handler_id: string; billing_address?: { first_name?: string | undefined; last_name?: string | undefined; phone_number?: string | undefined; address_country?: string | undefined; address_region?: string | undefined; postal_code?: string | undefined; extended_address?: string | undefined; street_address?: string | undefined; address_locality?: string | undefined; } | undefined; credential?: z.objectOutputType<{ type: z.ZodString; }, z.ZodTypeAny, "passthrough"> | undefined; display?: Record | undefined; } & { [k: string]: unknown; } & { selected?: boolean | undefined; })[] | undefined; } | undefined; }, { line_items: { id: string; item: { id: string; title: string; price: number; image_url?: string | undefined; }; quantity: number; totals: any[]; parent_id?: string | undefined; }[]; context?: z.objectInputType<{ address_country: z.ZodOptional; address_region: z.ZodOptional; postal_code: z.ZodOptional; intent: z.ZodOptional; language: z.ZodOptional; currency: z.ZodOptional; eligibility: z.ZodOptional, string[], string[]>>; }, z.ZodTypeAny, "passthrough"> | undefined; signals?: z.objectInputType<{ "dev.ucp.buyer_ip": z.ZodOptional; "dev.ucp.user_agent": z.ZodOptional; }, z.ZodTypeAny, "passthrough"> | undefined; buyer?: z.objectInputType<{ first_name: z.ZodOptional; last_name: z.ZodOptional; email: z.ZodOptional; phone_number: z.ZodOptional; }, z.ZodTypeAny, "passthrough"> | undefined; payment?: { instruments?: ({ id: string; type: string; handler_id: string; billing_address?: { first_name?: string | undefined; last_name?: string | undefined; phone_number?: string | undefined; address_country?: string | undefined; address_region?: string | undefined; postal_code?: string | undefined; extended_address?: string | undefined; street_address?: string | undefined; address_locality?: string | undefined; } | undefined; credential?: z.objectInputType<{ type: z.ZodString; }, z.ZodTypeAny, "passthrough"> | undefined; display?: Record | undefined; } & { [k: string]: unknown; } & { selected?: boolean | undefined; })[] | undefined; } | undefined; }>; declare const CompleteCheckoutRequestSchema: z.ZodObject<{ signals: z.ZodOptional; "dev.ucp.user_agent": z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ "dev.ucp.buyer_ip": z.ZodOptional; "dev.ucp.user_agent": z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ "dev.ucp.buyer_ip": z.ZodOptional; "dev.ucp.user_agent": z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; payment: z.ZodObject<{ instruments: z.ZodOptional; street_address: z.ZodOptional; address_locality: z.ZodOptional; address_region: z.ZodOptional; address_country: z.ZodOptional; postal_code: z.ZodOptional; first_name: z.ZodOptional; last_name: z.ZodOptional; phone_number: z.ZodOptional; }, "strip", z.ZodTypeAny, { first_name?: string | undefined; last_name?: string | undefined; phone_number?: string | undefined; address_country?: string | undefined; address_region?: string | undefined; postal_code?: string | undefined; extended_address?: string | undefined; street_address?: string | undefined; address_locality?: string | undefined; }, { first_name?: string | undefined; last_name?: string | undefined; phone_number?: string | undefined; address_country?: string | undefined; address_region?: string | undefined; postal_code?: string | undefined; extended_address?: string | undefined; street_address?: string | undefined; address_locality?: string | undefined; }>>; credential: z.ZodOptional, z.objectInputType<{ type: z.ZodString; }, z.ZodTypeAny, "passthrough">>>; display: z.ZodOptional>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ id: z.ZodString; handler_id: z.ZodString; type: z.ZodString; billing_address: z.ZodOptional; street_address: z.ZodOptional; address_locality: z.ZodOptional; address_region: z.ZodOptional; address_country: z.ZodOptional; postal_code: z.ZodOptional; first_name: z.ZodOptional; last_name: z.ZodOptional; phone_number: z.ZodOptional; }, "strip", z.ZodTypeAny, { first_name?: string | undefined; last_name?: string | undefined; phone_number?: string | undefined; address_country?: string | undefined; address_region?: string | undefined; postal_code?: string | undefined; extended_address?: string | undefined; street_address?: string | undefined; address_locality?: string | undefined; }, { first_name?: string | undefined; last_name?: string | undefined; phone_number?: string | undefined; address_country?: string | undefined; address_region?: string | undefined; postal_code?: string | undefined; extended_address?: string | undefined; street_address?: string | undefined; address_locality?: string | undefined; }>>; credential: z.ZodOptional, z.objectInputType<{ type: z.ZodString; }, z.ZodTypeAny, "passthrough">>>; display: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ id: z.ZodString; handler_id: z.ZodString; type: z.ZodString; billing_address: z.ZodOptional; street_address: z.ZodOptional; address_locality: z.ZodOptional; address_region: z.ZodOptional; address_country: z.ZodOptional; postal_code: z.ZodOptional; first_name: z.ZodOptional; last_name: z.ZodOptional; phone_number: z.ZodOptional; }, "strip", z.ZodTypeAny, { first_name?: string | undefined; last_name?: string | undefined; phone_number?: string | undefined; address_country?: string | undefined; address_region?: string | undefined; postal_code?: string | undefined; extended_address?: string | undefined; street_address?: string | undefined; address_locality?: string | undefined; }, { first_name?: string | undefined; last_name?: string | undefined; phone_number?: string | undefined; address_country?: string | undefined; address_region?: string | undefined; postal_code?: string | undefined; extended_address?: string | undefined; street_address?: string | undefined; address_locality?: string | undefined; }>>; credential: z.ZodOptional, z.objectInputType<{ type: z.ZodString; }, z.ZodTypeAny, "passthrough">>>; display: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{ selected: z.ZodOptional; }, "strip", z.ZodTypeAny, { selected?: boolean | undefined; }, { selected?: boolean | undefined; }>>, "many">>; }, "strip", z.ZodTypeAny, { instruments?: ({ id: string; type: string; handler_id: string; billing_address?: { first_name?: string | undefined; last_name?: string | undefined; phone_number?: string | undefined; address_country?: string | undefined; address_region?: string | undefined; postal_code?: string | undefined; extended_address?: string | undefined; street_address?: string | undefined; address_locality?: string | undefined; } | undefined; credential?: z.objectOutputType<{ type: z.ZodString; }, z.ZodTypeAny, "passthrough"> | undefined; display?: Record | undefined; } & { [k: string]: unknown; } & { selected?: boolean | undefined; })[] | undefined; }, { instruments?: ({ id: string; type: string; handler_id: string; billing_address?: { first_name?: string | undefined; last_name?: string | undefined; phone_number?: string | undefined; address_country?: string | undefined; address_region?: string | undefined; postal_code?: string | undefined; extended_address?: string | undefined; street_address?: string | undefined; address_locality?: string | undefined; } | undefined; credential?: z.objectInputType<{ type: z.ZodString; }, z.ZodTypeAny, "passthrough"> | undefined; display?: Record | undefined; } & { [k: string]: unknown; } & { selected?: boolean | undefined; })[] | undefined; }>; }, "strict", z.ZodTypeAny, { payment: { instruments?: ({ id: string; type: string; handler_id: string; billing_address?: { first_name?: string | undefined; last_name?: string | undefined; phone_number?: string | undefined; address_country?: string | undefined; address_region?: string | undefined; postal_code?: string | undefined; extended_address?: string | undefined; street_address?: string | undefined; address_locality?: string | undefined; } | undefined; credential?: z.objectOutputType<{ type: z.ZodString; }, z.ZodTypeAny, "passthrough"> | undefined; display?: Record | undefined; } & { [k: string]: unknown; } & { selected?: boolean | undefined; })[] | undefined; }; signals?: z.objectOutputType<{ "dev.ucp.buyer_ip": z.ZodOptional; "dev.ucp.user_agent": z.ZodOptional; }, z.ZodTypeAny, "passthrough"> | undefined; }, { payment: { instruments?: ({ id: string; type: string; handler_id: string; billing_address?: { first_name?: string | undefined; last_name?: string | undefined; phone_number?: string | undefined; address_country?: string | undefined; address_region?: string | undefined; postal_code?: string | undefined; extended_address?: string | undefined; street_address?: string | undefined; address_locality?: string | undefined; } | undefined; credential?: z.objectInputType<{ type: z.ZodString; }, z.ZodTypeAny, "passthrough"> | undefined; display?: Record | undefined; } & { [k: string]: unknown; } & { selected?: boolean | undefined; })[] | undefined; }; signals?: z.objectInputType<{ "dev.ucp.buyer_ip": z.ZodOptional; "dev.ucp.user_agent": z.ZodOptional; }, z.ZodTypeAny, "passthrough"> | undefined; }>; declare const WebhookEventSchema: z.ZodObject<{ event_id: z.ZodString; created_time: z.ZodString; order: z.ZodObject<{ ucp: z.ZodIntersection>; services: z.ZodOptional; schema: z.ZodOptional; id: z.ZodOptional; config: z.ZodOptional>; }, "strip", z.ZodTypeAny, { version: string; spec?: string | undefined; schema?: string | undefined; id?: string | undefined; config?: Record | undefined; }, { version: string; spec?: string | undefined; schema?: string | undefined; id?: string | undefined; config?: Record | undefined; }>, z.ZodObject<{ transport: z.ZodEnum<["rest", "mcp", "a2a", "embedded"]>; endpoint: z.ZodOptional; }, "strip", z.ZodTypeAny, { transport: "rest" | "mcp" | "a2a" | "embedded"; endpoint?: string | undefined; }, { transport: "rest" | "mcp" | "a2a" | "embedded"; endpoint?: string | undefined; }>>, "many">>>; capabilities: z.ZodOptional; schema: z.ZodOptional; id: z.ZodOptional; config: z.ZodOptional>; }, "strip", z.ZodTypeAny, { version: string; spec?: string | undefined; schema?: string | undefined; id?: string | undefined; config?: Record | undefined; }, { version: string; spec?: string | undefined; schema?: string | undefined; id?: string | undefined; config?: Record | undefined; }>, z.ZodObject<{ extends: z.ZodOptional>; }, "strip", z.ZodTypeAny, { extends?: unknown; }, { extends?: unknown; }>>, "many">>>; payment_handlers: z.ZodOptional; schema: z.ZodOptional; id: z.ZodOptional; config: z.ZodOptional>; }, "strip", z.ZodTypeAny, { version: string; spec?: string | undefined; schema?: string | undefined; id?: string | undefined; config?: Record | undefined; }, { version: string; spec?: string | undefined; schema?: string | undefined; id?: string | undefined; config?: Record | undefined; }>, z.ZodIntersection, z.ZodObject<{ available_instruments: z.ZodOptional>; }, "strip", z.ZodTypeAny, { type: string; constraints?: Record | undefined; }, { type: string; constraints?: Record | undefined; }>, "many">>; }, "strip", z.ZodTypeAny, { available_instruments?: { type: string; constraints?: Record | undefined; }[] | undefined; }, { available_instruments?: { type: string; constraints?: Record | undefined; }[] | undefined; }>>>, "many">>>; }, "strip", z.ZodTypeAny, { version: string; status: "success" | "error"; services?: Record | undefined; } & { transport: "rest" | "mcp" | "a2a" | "embedded"; endpoint?: string | undefined; })[]> | undefined; capabilities?: Record | undefined; } & { extends?: unknown; })[]> | undefined; payment_handlers?: Record | undefined; } & Record & { available_instruments?: { type: string; constraints?: Record | undefined; }[] | undefined; })[]> | undefined; }, { version: string; status?: "success" | "error" | undefined; services?: Record | undefined; } & { transport: "rest" | "mcp" | "a2a" | "embedded"; endpoint?: string | undefined; })[]> | undefined; capabilities?: Record | undefined; } & { extends?: unknown; })[]> | undefined; payment_handlers?: Record | undefined; } & Record & { available_instruments?: { type: string; constraints?: Record | undefined; }[] | undefined; })[]> | undefined; }>, z.ZodObject<{ capabilities: z.ZodOptional; schema: z.ZodOptional; id: z.ZodOptional; config: z.ZodOptional>; }, "strip", z.ZodTypeAny, { version: string; spec?: string | undefined; schema?: string | undefined; id?: string | undefined; config?: Record | undefined; }, { version: string; spec?: string | undefined; schema?: string | undefined; id?: string | undefined; config?: Record | undefined; }>, z.ZodObject<{ extends: z.ZodOptional>; }, "strip", z.ZodTypeAny, { extends?: unknown; }, { extends?: unknown; }>>, "many">>>; }, "strip", z.ZodTypeAny, { capabilities?: Record | undefined; } & { extends?: unknown; })[]> | undefined; }, { capabilities?: Record | undefined; } & { extends?: unknown; })[]> | undefined; }>>; id: z.ZodString; label: z.ZodOptional; checkout_id: z.ZodString; permalink_url: z.ZodString; line_items: z.ZodArray; }, "strip", z.ZodTypeAny, { id: string; title: string; price: number; image_url?: string | undefined; }, { id: string; title: string; price: number; image_url?: string | undefined; }>; quantity: z.ZodObject<{ original: z.ZodOptional; total: z.ZodNumber; fulfilled: z.ZodNumber; }, "strip", z.ZodTypeAny, { total: number; fulfilled: number; original?: number | undefined; }, { total: number; fulfilled: number; original?: number | undefined; }>; totals: z.ZodArray; amount: z.ZodNumber; }, "strip", z.ZodTypeAny, { type: string; amount: number; display_text?: string | undefined; }, { type: string; amount: number; display_text?: string | undefined; }>, z.ZodIntersection>, "many">; status: z.ZodEnum<["processing", "partial", "fulfilled", "removed"]>; parent_id: z.ZodOptional; }, "strip", z.ZodTypeAny, { id: string; status: "fulfilled" | "processing" | "partial" | "removed"; item: { id: string; title: string; price: number; image_url?: string | undefined; }; quantity: { total: number; fulfilled: number; original?: number | undefined; }; totals: any[]; parent_id?: string | undefined; }, { id: string; status: "fulfilled" | "processing" | "partial" | "removed"; item: { id: string; title: string; price: number; image_url?: string | undefined; }; quantity: { total: number; fulfilled: number; original?: number | undefined; }; totals: any[]; parent_id?: string | undefined; }>, "many">; fulfillment: z.ZodObject<{ expectations: z.ZodOptional, "many">; method_type: z.ZodEnum<["shipping", "pickup", "digital"]>; destination: z.ZodObject<{ extended_address: z.ZodOptional; street_address: z.ZodOptional; address_locality: z.ZodOptional; address_region: z.ZodOptional; address_country: z.ZodOptional; postal_code: z.ZodOptional; first_name: z.ZodOptional; last_name: z.ZodOptional; phone_number: z.ZodOptional; }, "strip", z.ZodTypeAny, { first_name?: string | undefined; last_name?: string | undefined; phone_number?: string | undefined; address_country?: string | undefined; address_region?: string | undefined; postal_code?: string | undefined; extended_address?: string | undefined; street_address?: string | undefined; address_locality?: string | undefined; }, { first_name?: string | undefined; last_name?: string | undefined; phone_number?: string | undefined; address_country?: string | undefined; address_region?: string | undefined; postal_code?: string | undefined; extended_address?: string | undefined; street_address?: string | undefined; address_locality?: string | undefined; }>; description: z.ZodOptional; fulfillable_on: z.ZodOptional; }, "strip", z.ZodTypeAny, { id: string; line_items: { id: string; quantity: number; }[]; method_type: "shipping" | "pickup" | "digital"; destination: { first_name?: string | undefined; last_name?: string | undefined; phone_number?: string | undefined; address_country?: string | undefined; address_region?: string | undefined; postal_code?: string | undefined; extended_address?: string | undefined; street_address?: string | undefined; address_locality?: string | undefined; }; description?: string | undefined; fulfillable_on?: string | undefined; }, { id: string; line_items: { id: string; quantity: number; }[]; method_type: "shipping" | "pickup" | "digital"; destination: { first_name?: string | undefined; last_name?: string | undefined; phone_number?: string | undefined; address_country?: string | undefined; address_region?: string | undefined; postal_code?: string | undefined; extended_address?: string | undefined; street_address?: string | undefined; address_locality?: string | undefined; }; description?: string | undefined; fulfillable_on?: string | undefined; }>, "many">>; events: z.ZodOptional, "many">; tracking_number: z.ZodOptional; tracking_url: z.ZodOptional; carrier: z.ZodOptional; description: z.ZodOptional; }, "strip", z.ZodTypeAny, { id: string; type: string; line_items: { id: string; quantity: number; }[]; occurred_at: string; description?: string | undefined; carrier?: string | undefined; tracking_number?: string | undefined; tracking_url?: string | undefined; }, { id: string; type: string; line_items: { id: string; quantity: number; }[]; occurred_at: string; description?: string | undefined; carrier?: string | undefined; tracking_number?: string | undefined; tracking_url?: string | undefined; }>, "many">>; }, "strip", z.ZodTypeAny, { expectations?: { id: string; line_items: { id: string; quantity: number; }[]; method_type: "shipping" | "pickup" | "digital"; destination: { first_name?: string | undefined; last_name?: string | undefined; phone_number?: string | undefined; address_country?: string | undefined; address_region?: string | undefined; postal_code?: string | undefined; extended_address?: string | undefined; street_address?: string | undefined; address_locality?: string | undefined; }; description?: string | undefined; fulfillable_on?: string | undefined; }[] | undefined; events?: { id: string; type: string; line_items: { id: string; quantity: number; }[]; occurred_at: string; description?: string | undefined; carrier?: string | undefined; tracking_number?: string | undefined; tracking_url?: string | undefined; }[] | undefined; }, { expectations?: { id: string; line_items: { id: string; quantity: number; }[]; method_type: "shipping" | "pickup" | "digital"; destination: { first_name?: string | undefined; last_name?: string | undefined; phone_number?: string | undefined; address_country?: string | undefined; address_region?: string | undefined; postal_code?: string | undefined; extended_address?: string | undefined; street_address?: string | undefined; address_locality?: string | undefined; }; description?: string | undefined; fulfillable_on?: string | undefined; }[] | undefined; events?: { id: string; type: string; line_items: { id: string; quantity: number; }[]; occurred_at: string; description?: string | undefined; carrier?: string | undefined; tracking_number?: string | undefined; tracking_url?: string | undefined; }[] | undefined; }>; adjustments: z.ZodOptional; line_items: z.ZodOptional, "many">>; totals: z.ZodOptional; amount: z.ZodNumber; }, "strip", z.ZodTypeAny, { type: string; amount: number; display_text?: string | undefined; }, { type: string; amount: number; display_text?: string | undefined; }>, z.ZodIntersection>, "many">>; description: z.ZodOptional; }, "strip", z.ZodTypeAny, { id: string; type: string; status: "completed" | "pending" | "failed"; occurred_at: string; totals?: any[] | undefined; line_items?: { id: string; quantity: number; }[] | undefined; description?: string | undefined; }, { id: string; type: string; status: "completed" | "pending" | "failed"; occurred_at: string; totals?: any[] | undefined; line_items?: { id: string; quantity: number; }[] | undefined; description?: string | undefined; }>, "many">>; currency: z.ZodString; totals: z.ZodArray; amount: z.ZodNumber; }, "strip", z.ZodTypeAny, { type: string; amount: number; display_text?: string | undefined; }, { type: string; amount: number; display_text?: string | undefined; }>, z.ZodIntersection>, z.ZodIntersection, "many">>; }, "strip", z.ZodTypeAny, { lines?: { display_text: string; amount: number; }[] | undefined; }, { lines?: { display_text: string; amount: number; }[] | undefined; }>, z.ZodAny>>, "many">; messages: z.ZodOptional, z.ZodEffects>, "many">>; }, "strip", z.ZodTypeAny, { id: string; ucp: { version: string; status: "success" | "error"; services?: Record | undefined; } & { transport: "rest" | "mcp" | "a2a" | "embedded"; endpoint?: string | undefined; })[]> | undefined; capabilities?: Record | undefined; } & { extends?: unknown; })[]> | undefined; payment_handlers?: Record | undefined; } & Record & { available_instruments?: { type: string; constraints?: Record | undefined; }[] | undefined; })[]> | undefined; } & { capabilities?: Record | undefined; } & { extends?: unknown; })[]> | undefined; }; totals: any[]; line_items: { id: string; status: "fulfilled" | "processing" | "partial" | "removed"; item: { id: string; title: string; price: number; image_url?: string | undefined; }; quantity: { total: number; fulfilled: number; original?: number | undefined; }; totals: any[]; parent_id?: string | undefined; }[]; currency: string; permalink_url: string; checkout_id: string; fulfillment: { expectations?: { id: string; line_items: { id: string; quantity: number; }[]; method_type: "shipping" | "pickup" | "digital"; destination: { first_name?: string | undefined; last_name?: string | undefined; phone_number?: string | undefined; address_country?: string | undefined; address_region?: string | undefined; postal_code?: string | undefined; extended_address?: string | undefined; street_address?: string | undefined; address_locality?: string | undefined; }; description?: string | undefined; fulfillable_on?: string | undefined; }[] | undefined; events?: { id: string; type: string; line_items: { id: string; quantity: number; }[]; occurred_at: string; description?: string | undefined; carrier?: string | undefined; tracking_number?: string | undefined; tracking_url?: string | undefined; }[] | undefined; }; messages?: Record[] | undefined; label?: string | undefined; adjustments?: { id: string; type: string; status: "completed" | "pending" | "failed"; occurred_at: string; totals?: any[] | undefined; line_items?: { id: string; quantity: number; }[] | undefined; description?: string | undefined; }[] | undefined; }, { id: string; ucp: { version: string; status?: "success" | "error" | undefined; services?: Record | undefined; } & { transport: "rest" | "mcp" | "a2a" | "embedded"; endpoint?: string | undefined; })[]> | undefined; capabilities?: Record | undefined; } & { extends?: unknown; })[]> | undefined; payment_handlers?: Record | undefined; } & Record & { available_instruments?: { type: string; constraints?: Record | undefined; }[] | undefined; })[]> | undefined; } & { capabilities?: Record | undefined; } & { extends?: unknown; })[]> | undefined; }; totals: any[]; line_items: { id: string; status: "fulfilled" | "processing" | "partial" | "removed"; item: { id: string; title: string; price: number; image_url?: string | undefined; }; quantity: { total: number; fulfilled: number; original?: number | undefined; }; totals: any[]; parent_id?: string | undefined; }[]; currency: string; permalink_url: string; checkout_id: string; fulfillment: { expectations?: { id: string; line_items: { id: string; quantity: number; }[]; method_type: "shipping" | "pickup" | "digital"; destination: { first_name?: string | undefined; last_name?: string | undefined; phone_number?: string | undefined; address_country?: string | undefined; address_region?: string | undefined; postal_code?: string | undefined; extended_address?: string | undefined; street_address?: string | undefined; address_locality?: string | undefined; }; description?: string | undefined; fulfillable_on?: string | undefined; }[] | undefined; events?: { id: string; type: string; line_items: { id: string; quantity: number; }[]; occurred_at: string; description?: string | undefined; carrier?: string | undefined; tracking_number?: string | undefined; tracking_url?: string | undefined; }[] | undefined; }; messages?: Record[] | undefined; label?: string | undefined; adjustments?: { id: string; type: string; status: "completed" | "pending" | "failed"; occurred_at: string; totals?: any[] | undefined; line_items?: { id: string; quantity: number; }[] | undefined; description?: string | undefined; }[] | undefined; }>; }, "strip", z.ZodTypeAny, { order: { id: string; ucp: { version: string; status: "success" | "error"; services?: Record | undefined; } & { transport: "rest" | "mcp" | "a2a" | "embedded"; endpoint?: string | undefined; })[]> | undefined; capabilities?: Record | undefined; } & { extends?: unknown; })[]> | undefined; payment_handlers?: Record | undefined; } & Record & { available_instruments?: { type: string; constraints?: Record | undefined; }[] | undefined; })[]> | undefined; } & { capabilities?: Record | undefined; } & { extends?: unknown; })[]> | undefined; }; totals: any[]; line_items: { id: string; status: "fulfilled" | "processing" | "partial" | "removed"; item: { id: string; title: string; price: number; image_url?: string | undefined; }; quantity: { total: number; fulfilled: number; original?: number | undefined; }; totals: any[]; parent_id?: string | undefined; }[]; currency: string; permalink_url: string; checkout_id: string; fulfillment: { expectations?: { id: string; line_items: { id: string; quantity: number; }[]; method_type: "shipping" | "pickup" | "digital"; destination: { first_name?: string | undefined; last_name?: string | undefined; phone_number?: string | undefined; address_country?: string | undefined; address_region?: string | undefined; postal_code?: string | undefined; extended_address?: string | undefined; street_address?: string | undefined; address_locality?: string | undefined; }; description?: string | undefined; fulfillable_on?: string | undefined; }[] | undefined; events?: { id: string; type: string; line_items: { id: string; quantity: number; }[]; occurred_at: string; description?: string | undefined; carrier?: string | undefined; tracking_number?: string | undefined; tracking_url?: string | undefined; }[] | undefined; }; messages?: Record[] | undefined; label?: string | undefined; adjustments?: { id: string; type: string; status: "completed" | "pending" | "failed"; occurred_at: string; totals?: any[] | undefined; line_items?: { id: string; quantity: number; }[] | undefined; description?: string | undefined; }[] | undefined; }; event_id: string; created_time: string; }, { order: { id: string; ucp: { version: string; status?: "success" | "error" | undefined; services?: Record | undefined; } & { transport: "rest" | "mcp" | "a2a" | "embedded"; endpoint?: string | undefined; })[]> | undefined; capabilities?: Record | undefined; } & { extends?: unknown; })[]> | undefined; payment_handlers?: Record | undefined; } & Record & { available_instruments?: { type: string; constraints?: Record | undefined; }[] | undefined; })[]> | undefined; } & { capabilities?: Record | undefined; } & { extends?: unknown; })[]> | undefined; }; totals: any[]; line_items: { id: string; status: "fulfilled" | "processing" | "partial" | "removed"; item: { id: string; title: string; price: number; image_url?: string | undefined; }; quantity: { total: number; fulfilled: number; original?: number | undefined; }; totals: any[]; parent_id?: string | undefined; }[]; currency: string; permalink_url: string; checkout_id: string; fulfillment: { expectations?: { id: string; line_items: { id: string; quantity: number; }[]; method_type: "shipping" | "pickup" | "digital"; destination: { first_name?: string | undefined; last_name?: string | undefined; phone_number?: string | undefined; address_country?: string | undefined; address_region?: string | undefined; postal_code?: string | undefined; extended_address?: string | undefined; street_address?: string | undefined; address_locality?: string | undefined; }; description?: string | undefined; fulfillable_on?: string | undefined; }[] | undefined; events?: { id: string; type: string; line_items: { id: string; quantity: number; }[]; occurred_at: string; description?: string | undefined; carrier?: string | undefined; tracking_number?: string | undefined; tracking_url?: string | undefined; }[] | undefined; }; messages?: Record[] | undefined; label?: string | undefined; adjustments?: { id: string; type: string; status: "completed" | "pending" | "failed"; occurred_at: string; totals?: any[] | undefined; line_items?: { id: string; quantity: number; }[] | undefined; description?: string | undefined; }[] | undefined; }; event_id: string; created_time: string; }>; //#endregion //#region src/types/common.d.ts type PostalAddress = z.output; type BuyerConsent = z.output; type LocalizationContext = z.output; /** A UCP signing key as defined by the SDK spec. */ type JWK = z.output; //#endregion //#region src/types/checkout.d.ts //# sourceMappingURL=common.d.ts.map type CheckoutSession = z.output; type CheckoutSessionStatus = CheckoutResponseStatus; interface CheckoutExtensions { readonly fulfillment: boolean; readonly discount: boolean; readonly buyerConsent: boolean; readonly ap2Mandate: boolean; } type CreateCheckoutPayload = z.output; type UpdateCheckoutPayload = z.output; type CompleteCheckoutPayload = z.output; type FulfillmentMethodCreatePayload = z.output; type FulfillmentMethodUpdatePayload = z.output; type FulfillmentGroupUpdatePayload = z.output; //#endregion //#region src/capabilities/checkout.d.ts //# sourceMappingURL=checkout.d.ts.map /** * Checkout session operations. Available when the server declares `dev.ucp.shopping.checkout`. * Check `extensions` to see which optional features (fulfillment, discount, etc.) are supported. */ declare class CheckoutCapability { private readonly http; /** Which checkout extensions the server supports. */ readonly extensions: CheckoutExtensions; constructor(http: HttpClient, extensions: CheckoutExtensions); create(payload: CreateCheckoutPayload): Promise; get(id: string): Promise; update(id: string, patch: UpdateCheckoutPayload): Promise; complete(id: string, payload: CompleteCheckoutPayload): Promise; cancel(id: string): Promise; setFulfillment(id: string, type: string): Promise; selectDestination(id: string, destinationId: string, fulfillmentType?: string): Promise; selectFulfillmentOption(id: string, optionId: string, destinationId?: string, fulfillmentType?: string): Promise; applyDiscountCodes(id: string, codes: readonly string[]): Promise; createFulfillmentMethod(id: string, payload: FulfillmentMethodCreatePayload): Promise; updateFulfillmentMethod(id: string, methodId: string, payload: FulfillmentMethodUpdatePayload): Promise; updateFulfillmentGroup(id: string, methodId: string, groupId: string, payload: FulfillmentGroupUpdatePayload): Promise; private patchFulfillmentDiscount; private validateSession; } //#endregion //#region src/types/order.d.ts //# sourceMappingURL=checkout.d.ts.map type UCPSpecOrder = z.output; type OrderUpdate = z.output; type LineItemUpdatePayload = z.output; type OrderUpdatePayload = Record; interface WebhookEvent { readonly event_id: string; readonly created_time: string; readonly order: UCPSpecOrder; readonly [key: string]: unknown; } //#endregion //#region src/capabilities/order.d.ts //# sourceMappingURL=order.d.ts.map /** Order operations. Available when the server declares `dev.ucp.shopping.order`. */ declare class OrderCapability { private readonly http; constructor(http: HttpClient); /** Retrieve an order by ID. Returns the UCP spec-compliant Order object. */ get(id: string): Promise; /** Update an order with fulfillment events, adjustments, or status changes. */ update(id: string, payload: OrderUpdatePayload): Promise; /** Update a single line item within an order (e.g. set parent for grouping). */ updateLineItem(id: string, lineItemId: string, payload: LineItemUpdatePayload): Promise; } //#endregion //#region src/types/catalog.d.ts //# sourceMappingURL=order.d.ts.map type Product = z.output; type Variant = z.output; type DetailOptionValue = z.output; type CatalogSearchResponse = z.output; type CatalogLookupResponse = z.output; type SearchFilters = z.output; type Pagination = z.output; //#endregion //#region src/capabilities/catalog.d.ts //# sourceMappingURL=catalog.d.ts.map interface CatalogExtensions { readonly search: boolean; readonly lookup: boolean; } /** * Catalog operations. Available when the server declares * `dev.ucp.shopping.catalog.search` and/or `dev.ucp.shopping.catalog.lookup`. */ declare class CatalogCapability { private readonly http; readonly extensions: CatalogExtensions; constructor(http: HttpClient, extensions: CatalogExtensions); search(query: string, filters?: SearchFilters, pagination?: Pagination): Promise; getProduct(productId: string): Promise; } //#endregion //#region src/types/cart.d.ts //# sourceMappingURL=catalog.d.ts.map type Cart = z.output; type CartCreatePayload = z.output; type CartUpdatePayload = z.output; //#endregion //#region src/capabilities/cart.d.ts //# sourceMappingURL=cart.d.ts.map /** Cart operations. Available when the server declares `dev.ucp.shopping.cart`. */ declare class CartCapability { private readonly http; constructor(http: HttpClient); create(payload: CartCreatePayload): Promise; get(id: string): Promise; update(id: string, payload: CartUpdatePayload): Promise; cancel(id: string): Promise; } //#endregion //#region src/types/identity-linking.d.ts //# sourceMappingURL=cart.d.ts.map interface OAuthServerMetadata { readonly issuer: string; readonly authorization_endpoint: string; readonly token_endpoint: string; readonly revocation_endpoint: string; readonly scopes_supported: readonly string[]; readonly response_types_supported: readonly string[]; readonly grant_types_supported: readonly string[]; readonly token_endpoint_auth_methods_supported: readonly string[]; readonly service_documentation?: string; } interface AuthorizationParams { readonly client_id: string; readonly redirect_uri: string; readonly scope?: string; readonly state?: string; } interface TokenResponse { readonly access_token: string; readonly token_type: string; readonly expires_in?: number; readonly refresh_token?: string; readonly scope?: string; } interface TokenExchangeParams { readonly client_id: string; readonly client_secret: string; readonly code: string; readonly redirect_uri: string; } interface TokenRefreshParams { readonly client_id: string; readonly client_secret: string; readonly refresh_token: string; } interface TokenRevokeParams { readonly client_id: string; readonly client_secret: string; readonly token: string; readonly token_type_hint?: 'access_token' | 'refresh_token'; } //#endregion //#region src/capabilities/identity-linking.d.ts //# sourceMappingURL=identity-linking.d.ts.map /** * OAuth 2.0 identity linking for account linking between platforms and merchants. * Available when the server declares `dev.ucp.common.identity_linking`. */ declare class IdentityLinkingCapability { private readonly metadata; constructor(metadata: OAuthServerMetadata); /** Build the OAuth authorization URL to redirect the buyer to. */ getAuthorizationUrl(params: AuthorizationParams): string; exchangeCode(params: TokenExchangeParams): Promise; refreshToken(params: TokenRefreshParams): Promise; revokeToken(params: TokenRevokeParams): Promise; getMetadata(): Readonly; private tokenRequest; } //#endregion //#region src/types/config.d.ts //# sourceMappingURL=identity-linking.d.ts.map interface UCPClientConfig { readonly gatewayUrl: string; readonly agentProfileUrl: string; readonly ucpVersion?: string; readonly requestSignature?: string; } declare const DEFAULT_UCP_VERSION = "2026-01-23"; declare const UCP_CAPABILITIES: { readonly CHECKOUT: "dev.ucp.shopping.checkout"; readonly FULFILLMENT: "dev.ucp.shopping.fulfillment"; readonly DISCOUNT: "dev.ucp.shopping.discount"; readonly BUYER_CONSENT: "dev.ucp.shopping.buyer_consent"; readonly ORDER: "dev.ucp.shopping.order"; readonly CATALOG_SEARCH: "dev.ucp.shopping.catalog.search"; readonly CATALOG_LOOKUP: "dev.ucp.shopping.catalog.lookup"; readonly CART: "dev.ucp.shopping.cart"; readonly IDENTITY_LINKING: "dev.ucp.common.identity_linking"; readonly AP2_MANDATE: "dev.ucp.shopping.ap2_mandate"; }; //#endregion //#region src/types/payment.d.ts //# sourceMappingURL=config.d.ts.map type TokenCredential$1 = TokenCredential; type CardCredential$1 = CardCredential; type PaymentCredential = TokenCredential$1 | CardCredential$1; interface PaymentInstrument { readonly id: string; readonly handler_id: string; readonly type: string; readonly brand?: string; readonly last_digits?: string; readonly handler_name?: string; readonly selected?: boolean; readonly display?: Readonly>; readonly credential?: PaymentCredential; readonly billing_address?: PostalAddress; } type PaymentHandlerInstance = z.output; interface PaymentHandlerMap { readonly [namespace: string]: readonly PaymentHandlerInstance[]; } //#endregion //#region src/UCPClient.d.ts //# sourceMappingURL=payment.d.ts.map /** UCP discovery profile returned by `GET /.well-known/ucp`. */ type UCPProfile = z.output; /** Describes a single tool the agent can use with the connected server. */ interface ToolDescriptor { readonly name: string; readonly capability: string; readonly description: string; } /** * A connected UCP client. Only capabilities the server declared are non-null. * Use `describeTools()` to get the list of available tools for agent registration. */ interface ConnectedClient { /** The server's UCP discovery profile. */ readonly profile: UCPProfile; /** JWK signing keys from the discovery profile. Used for verifying incoming webhook signatures. */ readonly signingKeys: readonly JWK[]; /** Checkout operations. Null if server does not support `dev.ucp.shopping.checkout`. */ readonly checkout: CheckoutCapability | null; /** Order operations. Null if server does not support `dev.ucp.shopping.order`. */ readonly order: OrderCapability | null; /** Catalog operations. Null if server supports neither `dev.ucp.shopping.catalog.search` nor `dev.ucp.shopping.catalog.lookup`. */ readonly catalog: CatalogCapability | null; /** Cart operations. Null if server does not support `dev.ucp.shopping.cart`. */ readonly cart: CartCapability | null; /** OAuth 2.0 identity linking. Null if server does not support `dev.ucp.common.identity_linking`. */ readonly identityLinking: IdentityLinkingCapability | null; /** Payment handlers declared by the server, keyed by namespace. */ readonly paymentHandlers: PaymentHandlerMap; /** Returns only the tools this server supports (name + description only). */ describeTools(): readonly ToolDescriptor[]; /** * Returns complete tool definitions with JSON Schema parameters and execute functions. * Ready for direct use with any AI agent framework (Claude API, OpenAI, Vercel AI SDK, LangChain, MCP). */ getAgentTools(): readonly AgentTool[]; } declare function connect(config: UCPClientConfig, options?: { readonly onValidationWarning?: LogFn; }): Promise; declare class UCPClient { private constructor(); static connect: typeof connect; } //#endregion //#region src/agent-tools.d.ts //# sourceMappingURL=UCPClient.d.ts.map /** JSON Schema type subset used for tool parameter definitions. */ interface JsonSchema { readonly type: string; readonly properties?: Readonly>; readonly required?: readonly string[]; readonly items?: JsonSchema; readonly enum?: readonly string[]; readonly description?: string; readonly default?: unknown; } /** * A complete tool definition ready for any AI agent framework. * Contains everything an LLM needs: name, description, parameter schema, and executor. */ interface AgentTool { readonly name: string; readonly description: string; readonly parameters: JsonSchema; readonly execute: (params: Record) => Promise; } /** * Returns ready-to-use tool definitions for agent registration. * Only tools supported by the connected server are included. * * Each tool has: * - `name` — unique tool identifier * - `description` — what the tool does (for the LLM) * - `parameters` — JSON Schema describing the expected input * - `execute(params)` — function that calls the right capability method * * @example * ```typescript * const client = await UCPClient.connect(config); * const tools = getAgentTools(client); * * // Register with Anthropic Claude API * const response = await anthropic.messages.create({ * tools: tools.map(t => ({ * name: t.name, * description: t.description, * input_schema: t.parameters, * })), * // ... * }); * * // Execute tool calls * for (const block of response.content) { * if (block.type === 'tool_use') { * const tool = tools.find(t => t.name === block.name); * const result = await tool.execute(block.input); * } * } * ``` */ declare function getAgentTools(client: ConnectedClient): readonly AgentTool[]; //#endregion //#region src/adapters/catch-errors.d.ts //# sourceMappingURL=agent-tools.d.ts.map interface AdapterOptions { readonly catchErrors?: boolean; } type ToolErrorResult = { readonly error: string; } | { readonly requires_escalation: true; readonly continue_url: string; }; //#endregion export { AccountInfoSchema, AdapterOptions, AdjustmentSchema, AdjustmentStatusEnumSchema, AgentTool, AmountSchema, Ap2MandateAp2WithCheckoutMandateSchema, Ap2MandateAp2WithMerchantAuthorizationSchema, Ap2MandateCheckoutMandateSchema, Ap2MandateErrorCodeSchema, Ap2MandateMerchantAuthorizationSchema, AuthorizationParams, AvailablePaymentInstrumentSchema, BindingSchema, BusinessFulfillmentConfigSchema, BuyerConsent, BuyerConsentBuyerSchema, BuyerConsentConsentSchema, BuyerSchema, CapabilityBaseSchema, CapabilityBusinessSchema, CapabilityPlatformSchema, CapabilityResponseSchema, CardCredential$1 as CardCredential, CardCredentialCardNumberTypeEnumSchema, CardCredentialSchema, CardPaymentInstrumentAvailableCardPaymentInstrumentSchema, Cart, CartCapability, CartCreatePayload, CartCreateRequestSchema, CartResponseSchema, CartSchema$1 as CartSchema, CartUpdatePayload, CartUpdateRequestSchema, CatalogCapability, CatalogExtensions, CatalogLookupResponse, CatalogLookupSchema, CatalogSearchResponse, CatalogSearchSchema, CategorySchema, CheckoutCapability, CheckoutCompleteRequestSchema$1 as CheckoutCompleteRequestSchema, CheckoutCreateRequestSchema$1 as CheckoutCreateRequestSchema, CheckoutExtensions, CheckoutResponseSchema$1 as CheckoutResponseSchema, CheckoutResponseStatusSchema, CheckoutSchema, CheckoutSession, CheckoutSessionSchema, CheckoutSessionStatus, CheckoutStatusEnumSchema, CheckoutUpdateRequestSchema$1 as CheckoutUpdateRequestSchema, CompleteCheckoutPayload, CompleteCheckoutRequestSchema, ConnectedClient, ContextSchema, CreateCheckoutPayload, CreateCheckoutRequestSchema, DEFAULT_UCP_VERSION, DescriptionSchema, DetailOptionValue, DetailOptionValueSchema, DiscountAllocationSchema, DiscountAppliedDiscountMethodEnumSchema, DiscountAppliedDiscountSchema, DiscountDiscountsObjectSchema, EmbeddedConfigSchema, ErrorCodeSchema, ErrorResponseSchema, ExpectationMethodTypeEnumSchema, ExpectationSchema, FulfillmentAvailableMethodSchema, FulfillmentAvailableMethodTypeEnumSchema, FulfillmentDestinationSchema, FulfillmentEventSchema, FulfillmentExtensionFulfillmentAvailableMethodSchema, FulfillmentExtensionFulfillmentGroupSchema, FulfillmentExtensionFulfillmentMethodSchema, FulfillmentExtensionFulfillmentOptionSchema, FulfillmentExtensionFulfillmentSchema, FulfillmentGroupSchema, FulfillmentGroupUpdatePayload, FulfillmentGroupUpdateRequestSchema, FulfillmentMethodCreatePayload, FulfillmentMethodCreateRequestSchema, FulfillmentMethodResponseSchema, FulfillmentMethodSchema, FulfillmentMethodTypeEnumSchema, FulfillmentMethodUpdatePayload, FulfillmentMethodUpdateRequestSchema, FulfillmentOptionSchema, FulfillmentResponseSchema, FulfillmentSchema, IdentityLinkingCapability, InputCorrelationSchema, ItemResponseSchema, ItemSchema, JWK, JsonSchema, LineItemResponseSchema, LineItemSchema, LineItemUpdatePayload, LineItemUpdateRequestSchema, LinkSchema, LocalizationContext, MediaSchema, MerchantFulfillmentConfigSchema, MessageErrorContentTypeEnumSchema, MessageErrorSchema, MessageErrorSeverityEnumSchema, MessageInfoContentTypeEnumSchema, MessageInfoSchema, MessageSchema, MessageWarningContentTypeEnumSchema, MessageWarningSchema, OAuthServerMetadata, OptionValueSchema, OrderCapability, OrderConfirmationSchema, OrderLineItemSchema, OrderLineItemStatusEnumSchema, OrderUpdate, OrderUpdatePayload, OrderUpdateSchema, Pagination, PaginationSchema, PaymentCredential, PaymentCredentialSchema, PaymentHandlerBaseSchema, PaymentHandlerBusinessSchema, PaymentHandlerInstance, PaymentHandlerMap, PaymentHandlerPlatformSchema, PaymentHandlerResponseSchema, PaymentIdentitySchema, PaymentInstrument, PaymentInstrumentResponseSchema, PaymentInstrumentSchema, PaymentResponseSchema, PaymentSchema, PlatformFulfillmentConfigSchema, PostalAddress, PostalAddressSchema, PriceFilterSchema, PriceRangeSchema, PriceSchema, Product, ProductOptionSchema, ProductSchema, ProfileSchemaBaseSchema, ProfileSchemaBusinessProfileSchema, ProfileSchemaPlatformProfileSchema, ProfileSchemaSigningKeySchema, ProfileSchemaSigningKeyUseEnumSchema, RatingSchema, RetailLocationSchema, ReverseDomainNameSchema, SearchFilters, SearchFiltersSchema, SelectedOptionSchema, ServiceBaseSchema, ServiceBaseTransportEnumSchema, ServiceBusinessSchema, ServicePlatformSchema, ServiceResponseSchema, ShippingDestinationSchema, SignalsSchema, SignedAmountSchema, TokenCredential$1 as TokenCredential, TokenCredentialSchema, TokenExchangeParams, TokenRefreshParams, TokenResponse, TokenRevokeParams, ToolDescriptor, ToolErrorResult, TotalResponseSchema, TotalSchema, TotalsSchema, UCPClient, UCPClientConfig, UCPProfile, UCPProfileSchema, UCPSpecOrder, UCPSpecOrderSchema, UCP_CAPABILITIES, UcpBaseSchema, UcpBaseStatusEnumSchema, UcpBusinessSchema, UcpDiscoveryBusinessProfileSchema, UcpDiscoveryPlatformProfileSchema, UcpEntitySchema, UcpErrorSchema, UcpPlatformSchema, UcpRequiresSchema, UcpResponseCartSchema, UcpResponseCatalogSchema, UcpResponseCheckoutSchema, UcpResponseOrderSchema, UcpSigningKeySchema$1 as UcpSigningKeySchema, UcpSigningKeySchema as UcpSigningKeySchema$1, UcpSuccessSchema, UcpVersionConstraintSchema, UcpVersionSchema, UpdateCheckoutPayload, UpdateCheckoutRequestSchema, Variant, VariantSchema, WebhookEvent, WebhookEventSchema, connect, getAgentTools }; //# sourceMappingURL=catch-errors-CM_1SIc1.d.ts.map