import { z } from 'zod'; import { $ZodType } from 'zod/v4/core'; export { A as AddFirstProductOptions, a as AddFirstProductResult, P as ProductSummary, T as TestClientHandle, c as createTestClient, f as fixtures } from './client-B878xeAP.js'; import './catalogue-B4eLL8Mi.js'; import './elements-Bty6Qs_N.js'; import './server-Dckg4Vdr.js'; import 'hono'; /** * Cimplify schema registry. Every public schema in this directory is * registered here with `id`, `description`, and `version` metadata. * * import { cimplifyRegistry } from "@cimplify/sdk/testing"; * const meta = cimplifyRegistry.get(CartSchema); // { id, description, version } * * Per-schema versions let consumers pin to a specific shape and detect * drift when only one schema changes (vs a single global SCHEMA_VERSION * which gives false positives on every release). * * The registry feeds `z.toJSONSchema()` so emitted JSON Schemas have * proper `$id` / `description` / clean `$defs` for downstream tooling * (OpenAPI, agent prompts, codegen). */ interface CimplifySchemaMeta { id: string; description: string; /** Bump when the shape of THIS schema changes in a breaking way. */ version: string; } declare const cimplifyRegistry: z.core.$ZodRegistry>>; /** * Helper: register a schema with metadata and return it. Pattern is: * * export const MoneySchema = registerSchema( * z.string().regex(...), * { id: "Money", description: "Decimal money string", version: "1.0.0" }, * ); */ declare function registerSchema(schema: T, meta: CimplifySchemaMeta): T; /** * Strict money — exactly two decimal places. Backend always serializes * decimals to 2dp; consumer code that produces "12.5" or "12.555" is wrong. * * If you have a code path that legitimately needs unbounded precision * (rare; usually FX / tax-rate display), use `MoneyLooseSchema`. */ declare const MoneySchema: z.ZodString; declare const MoneyLooseSchema: z.ZodString; declare const IsoDateTimeSchema: z.ZodISODateTime; declare const TimestampSchema: z.ZodUnion; declare const CurrencyCodeSchema: z.ZodString; declare const CountryCodeSchema: z.ZodString; declare const LocaleSchema: z.ZodString; declare const PhoneE164Schema: z.ZodString; declare const SeedNameSchema: z.ZodEnum<{ default: "default"; empty: "empty"; "reesa-storefront": "reesa-storefront"; restaurant: "restaurant"; retail: "retail"; services: "services"; grocery: "grocery"; fashion: "fashion"; pharmacy: "pharmacy"; auto: "auto"; }>; declare const ProductTypeSchema: z.ZodEnum<{ product: "product"; service: "service"; digital: "digital"; bundle: "bundle"; composite: "composite"; }>; declare const LineTypeSchema: z.ZodEnum<{ service: "service"; digital: "digital"; bundle: "bundle"; composite: "composite"; simple: "simple"; }>; declare const ServiceStatusSchema: z.ZodEnum<{ pending: "pending"; confirmed: "confirmed"; completed: "completed"; cancelled: "cancelled"; }>; /** * Structured error thrown by every `assertX` helper. Agents can catch * this and surface the issue list directly (e.g. in a toast or log). * * Compatible with RFC 7807 Problem Details: `toJSON()` produces a * `{ type, title, status, detail, errors }` envelope where `errors` * is the typed zod issue array. */ declare class SchemaViolationError extends Error { readonly label: string; readonly issues: ReadonlyArray<{ path: string[]; message: string; code?: string; }>; readonly name = "SchemaViolationError"; constructor(message: string, label: string, issues: ReadonlyArray<{ path: string[]; message: string; code?: string; }>); toJSON(): { type: string; title: string; status: number; detail: string; errors: ReadonlyArray<{ path: string[]; message: string; code?: string; }>; }; } /** * Build a typed assertion from any zod schema. Single source of the * "parse → format → throw" pattern. Powered by zod 4's built-in * `z.prettifyError` for human-readable output. * * const assertCart = makeAssertion(CartSchema, "cart"); * assertCart(value); // throws SchemaViolationError with structured issues * * Generic over `$ZodType` (zod/v4/core), so both classic Zod schemas * and Zod Mini schemas work — required for library authors per the * official Zod 4 guidance. */ declare function makeAssertion(schema: T, label: string): (value: unknown) => asserts value is z.infer; /** * Brand schema — the contract for `lib/brand.ts` in every storefront. * * Templates that need extra fields (fashion's `lookbook`, services' * `bookingPolicy`) should `BrandSchema.extend({ … })` rather than * fork this schema. */ declare const BrandSocialSchema: z.ZodObject<{ label: z.ZodString; href: z.ZodString; icon: z.ZodOptional; }, z.core.$strip>; declare const BrandNavLinkSchema: z.ZodObject<{ label: z.ZodString; href: z.ZodString; }, z.core.$strip>; declare const BrandPolicySectionSchema: z.ZodObject<{ heading: z.ZodString; body: z.ZodUnion; }, z.core.$strip>]>; }, z.core.$strip>; declare const BrandPolicyPageSchema: z.ZodObject<{ eyebrow: z.ZodString; title: z.ZodString; lastUpdated: z.ZodString; sections: z.ZodArray; }, z.core.$strip>]>; }, z.core.$strip>>; }, z.core.$strip>; declare const BrandContactSchema: z.ZodObject<{ email: z.ZodString; phone: z.ZodString; phoneTel: z.ZodString; streetAddress: z.ZodString; city: z.ZodString; countryCode: z.ZodString; hours: z.ZodOptional; }, z.core.$strip>; declare const BrandHeroSchema: z.ZodObject<{ badge: z.ZodOptional; title: z.ZodString; subtitle: z.ZodString; primaryCtaLabel: z.ZodString; secondaryCtaLabel: z.ZodOptional; secondaryCtaHref: z.ZodOptional; }, z.core.$strip>; declare const BrandFaqSchema: z.ZodObject<{ eyebrow: z.ZodOptional; title: z.ZodString; sections: z.ZodArray>; }, z.core.$strip>>; }, z.core.$strip>; declare const BrandSchema: z.ZodObject<{ name: z.ZodString; shortName: z.ZodString; microTag: z.ZodString; description: z.ZodString; schemaType: z.ZodString; currency: z.ZodString; locale: z.ZodString; contact: z.ZodObject<{ email: z.ZodString; phone: z.ZodString; phoneTel: z.ZodString; streetAddress: z.ZodString; city: z.ZodString; countryCode: z.ZodString; hours: z.ZodOptional; }, z.core.$strip>; socials: z.ZodArray; }, z.core.$strip>>; header: z.ZodObject<{ nav: z.ZodArray>; }, z.core.$strip>; hero: z.ZodObject<{ badge: z.ZodOptional; title: z.ZodString; subtitle: z.ZodString; primaryCtaLabel: z.ZodString; secondaryCtaLabel: z.ZodOptional; secondaryCtaHref: z.ZodOptional; }, z.core.$strip>; trustItems: z.ZodOptional>>; brandStrip: z.ZodOptional; }, z.core.$strip>>; promo: z.ZodOptional; title: z.ZodString; body: z.ZodString; ctaLabel: z.ZodString; ctaHref: z.ZodString; }, z.core.$strip>>; terms: z.ZodObject<{ eyebrow: z.ZodString; title: z.ZodString; lastUpdated: z.ZodString; sections: z.ZodArray; }, z.core.$strip>]>; }, z.core.$strip>>; }, z.core.$strip>; privacy: z.ZodObject<{ eyebrow: z.ZodString; title: z.ZodString; lastUpdated: z.ZodString; sections: z.ZodArray; }, z.core.$strip>]>; }, z.core.$strip>>; }, z.core.$strip>; shipping: z.ZodObject<{ eyebrow: z.ZodString; title: z.ZodString; lastUpdated: z.ZodString; sections: z.ZodArray; }, z.core.$strip>]>; }, z.core.$strip>>; }, z.core.$strip>; returns: z.ZodObject<{ eyebrow: z.ZodString; title: z.ZodString; lastUpdated: z.ZodString; sections: z.ZodArray; }, z.core.$strip>]>; }, z.core.$strip>>; }, z.core.$strip>; accessibility: z.ZodObject<{ eyebrow: z.ZodString; title: z.ZodString; lastUpdated: z.ZodString; sections: z.ZodArray; }, z.core.$strip>]>; }, z.core.$strip>>; }, z.core.$strip>; newsletter: z.ZodObject<{ eyebrow: z.ZodOptional; title: z.ZodString; body: z.ZodString; }, z.core.$strip>; about: z.ZodObject<{ eyebrow: z.ZodOptional; title: z.ZodString; paragraphs: z.ZodArray; sections: z.ZodOptional>>; }, z.core.$strip>; faq: z.ZodObject<{ eyebrow: z.ZodOptional; title: z.ZodString; sections: z.ZodArray>; }, z.core.$strip>>; }, z.core.$strip>; account: z.ZodObject<{ loginEyebrow: z.ZodString; loginTitle: z.ZodString; loginSubtitle: z.ZodOptional; signupEyebrow: z.ZodString; signupTitle: z.ZodString; signupSubtitle: z.ZodOptional; accountEyebrow: z.ZodString; accountTitle: z.ZodString; }, z.core.$strip>; contactPage: z.ZodObject<{ eyebrow: z.ZodOptional; title: z.ZodString; body: z.ZodString; }, z.core.$strip>; trackOrder: z.ZodObject<{ eyebrow: z.ZodOptional; title: z.ZodString; body: z.ZodString; }, z.core.$strip>; footer: z.ZodObject<{ blurb: z.ZodOptional; sitemap: z.ZodOptional>; poweredBy: z.ZodOptional>; }, z.core.$strip>; llms: z.ZodObject<{ summary: z.ZodString; }, z.core.$strip>; mock: z.ZodObject<{ seed: z.ZodEnum<{ default: "default"; empty: "empty"; "reesa-storefront": "reesa-storefront"; restaurant: "restaurant"; retail: "retail"; services: "services"; grocery: "grocery"; fashion: "fashion"; pharmacy: "pharmacy"; auto: "auto"; }>; businessId: z.ZodString; }, z.core.$strip>; }, z.core.$strip>; type Brand = z.infer; declare const assertBrand: (value: unknown) => asserts value is { name: string; shortName: string; microTag: string; description: string; schemaType: string; currency: string; locale: string; contact: { email: string; phone: string; phoneTel: string; streetAddress: string; city: string; countryCode: string; hours?: string | undefined; }; socials: { label: string; href: string; icon?: string | undefined; }[]; header: { nav: { label: string; href: string; }[]; }; hero: { title: string; subtitle: string; primaryCtaLabel: string; badge?: string | undefined; secondaryCtaLabel?: string | undefined; secondaryCtaHref?: string | undefined; }; terms: { eyebrow: string; title: string; lastUpdated: string; sections: { heading: string; body: string | { intro: string; bullets: string[]; }; }[]; }; privacy: { eyebrow: string; title: string; lastUpdated: string; sections: { heading: string; body: string | { intro: string; bullets: string[]; }; }[]; }; shipping: { eyebrow: string; title: string; lastUpdated: string; sections: { heading: string; body: string | { intro: string; bullets: string[]; }; }[]; }; returns: { eyebrow: string; title: string; lastUpdated: string; sections: { heading: string; body: string | { intro: string; bullets: string[]; }; }[]; }; accessibility: { eyebrow: string; title: string; lastUpdated: string; sections: { heading: string; body: string | { intro: string; bullets: string[]; }; }[]; }; newsletter: { title: string; body: string; eyebrow?: string | undefined; }; about: { title: string; paragraphs: string[]; eyebrow?: string | undefined; sections?: { heading: string; body: string; }[] | undefined; }; faq: { title: string; sections: { title: string; items: { q: string; a: string; }[]; }[]; eyebrow?: string | undefined; }; account: { loginEyebrow: string; loginTitle: string; signupEyebrow: string; signupTitle: string; accountEyebrow: string; accountTitle: string; loginSubtitle?: string | undefined; signupSubtitle?: string | undefined; }; contactPage: { title: string; body: string; eyebrow?: string | undefined; }; trackOrder: { title: string; body: string; eyebrow?: string | undefined; }; footer: { blurb?: string | undefined; sitemap?: unknown[] | undefined; poweredBy?: { label: string; href: string; } | undefined; }; llms: { summary: string; }; mock: { seed: "default" | "empty" | "reesa-storefront" | "restaurant" | "retail" | "services" | "grocery" | "fashion" | "pharmacy" | "auto"; businessId: string; }; trustItems?: { label: string; value: string; description: string; iconKey: string; }[] | undefined; brandStrip?: { headline: string; brands: string[]; } | undefined; promo?: { title: string; body: string; ctaLabel: string; ctaHref: string; badge?: string | undefined; } | undefined; }; /** * Cart schemas — the SDK ↔ mock ↔ backend contract for cart * mutations and the canonical cart response shape. */ declare const BundleSelectionInputSchema: z.ZodObject<{ component_id: z.ZodString; variant_id: z.ZodOptional; quantity: z.ZodNumber; scheduled_start: z.ZodOptional; scheduled_end: z.ZodOptional; }, z.core.$strip>; declare const CompositeSelectionInputSchema: z.ZodObject<{ component_id: z.ZodOptional; source_product_id: z.ZodOptional; source_stock_id: z.ZodOptional; source_type: z.ZodOptional>; quantity: z.ZodOptional; }, z.core.$strip>; declare const CustomerInputValueSchema: z.ZodObject<{ field_id: z.ZodString; field_name: z.ZodOptional; field_type: z.ZodOptional; value: z.ZodUnknown; }, z.core.$strip>; declare const AddItemPayloadSchema: z.ZodObject<{ item_id: z.ZodString; quantity: z.ZodNumber; variant_id: z.ZodOptional; quote_id: z.ZodOptional; add_on_options: z.ZodOptional>; bundle_selections: z.ZodOptional; quantity: z.ZodNumber; scheduled_start: z.ZodOptional; scheduled_end: z.ZodOptional; }, z.core.$strip>>>; composite_selections: z.ZodOptional; source_product_id: z.ZodOptional; source_stock_id: z.ZodOptional; source_type: z.ZodOptional>; quantity: z.ZodOptional; }, z.core.$strip>>>; scheduled_start: z.ZodOptional; scheduled_end: z.ZodOptional; staff_id: z.ZodOptional; resource_id: z.ZodOptional; special_instructions: z.ZodOptional; customer_inputs: z.ZodOptional; field_type: z.ZodOptional; value: z.ZodUnknown; }, z.core.$strip>>>; billing_plan_id: z.ZodOptional; metadata: z.ZodOptional>; }, z.core.$strip>; type AddItemPayload = z.infer; declare const assertAddItemPayload: (value: unknown) => asserts value is { item_id: string; quantity: number; variant_id?: string | undefined; quote_id?: string | undefined; add_on_options?: string[] | undefined; bundle_selections?: { component_id: string; quantity: number; variant_id?: string | undefined; scheduled_start?: string | undefined; scheduled_end?: string | undefined; }[] | undefined; composite_selections?: { component_id?: string | undefined; source_product_id?: string | undefined; source_stock_id?: string | undefined; source_type?: "product" | "stock" | "add_on" | "standalone" | undefined; quantity?: number | undefined; }[] | undefined; scheduled_start?: string | undefined; scheduled_end?: string | undefined; staff_id?: string | undefined; resource_id?: string | undefined; special_instructions?: string | undefined; customer_inputs?: { field_id: string; value: unknown; field_name?: string | undefined; field_type?: string | undefined; }[] | undefined; billing_plan_id?: string | undefined; metadata?: Record | undefined; }; declare const VariantDisplayAttributeSchema: z.ZodObject<{ axis_id: z.ZodString; axis_name: z.ZodString; value_id: z.ZodString; value_name: z.ZodString; }, z.core.$strip>; declare const VariantInfoSchema: z.ZodObject<{ id: z.ZodString; name: z.ZodString; sku: z.ZodOptional; price: z.ZodString; price_adjustment: z.ZodString; is_default: z.ZodBoolean; display_attributes: z.ZodOptional>>; images: z.ZodOptional>; }, z.core.$strip>; declare const VariantDetailsSchema: z.ZodObject<{ variant_id: z.ZodString; sku: z.ZodOptional; properties: z.ZodRecord; }, z.core.$strip>; declare const ChosenPriceSchema: z.ZodObject<{ base_price: z.ZodString; final_price: z.ZodString; markup_percentage: z.ZodString; markup_amount: z.ZodString; markup_discount_percentage: z.ZodString; markup_discount_amount: z.ZodString; }, z.core.$strip>; declare const SelectedAddOnOptionSchema: z.ZodObject<{ option_id: z.ZodString; add_on_id: z.ZodString; name: z.ZodString; price: z.ZodString; quantity: z.ZodNumber; is_required: z.ZodBoolean; selected_at: z.ZodUnion; price_info: z.ZodOptional; }, z.core.$strip>; declare const AddOnInDetailsSchema: z.ZodObject<{ add_on_id: z.ZodString; name: z.ZodString; min_selections: z.ZodNumber; max_selections: z.ZodNumber; selected_options: z.ZodArray; is_required: z.ZodBoolean; }, z.core.$strip>; declare const AddOnDetailsSchema: z.ZodObject<{ selected_options: z.ZodArray; price_info: z.ZodOptional; }, z.core.$strip>>; total_add_on_price: z.ZodString; add_ons: z.ZodArray; is_required: z.ZodBoolean; }, z.core.$strip>>; }, z.core.$strip>; declare const AddOnOptionDetailsSchema: z.ZodObject<{ id: z.ZodString; name: z.ZodString; is_required: z.ZodBoolean; description: z.ZodOptional; price: z.ZodOptional; image_url: z.ZodOptional; }, z.core.$strip>; declare const AddOnGroupDetailsSchema: z.ZodObject<{ id: z.ZodString; name: z.ZodString; is_multiple_allowed: z.ZodBoolean; min_selections: z.ZodNumber; max_selections: z.ZodNumber; required: z.ZodBoolean; options: z.ZodArray; price: z.ZodOptional; image_url: z.ZodOptional; }, z.core.$strip>>; }, z.core.$strip>; declare const BundleResolvedSchema: z.ZodObject<{ bundle_id: z.ZodString; selections: z.ZodArray; }, z.core.$loose>; declare const CompositeResolvedSchema: z.ZodObject<{ composite_id: z.ZodString; selections: z.ZodArray; breakdown: z.ZodOptional; }, z.core.$strip>>; }, z.core.$loose>; declare const DiscountDetailsSchema: z.ZodObject<{ applied_count: z.ZodNumber; total_amount: z.ZodString; discount_ids: z.ZodArray; }, z.core.$strip>; declare const CartItemSchema: z.ZodObject<{ id: z.ZodString; cart_id: z.ZodString; item_id: z.ZodString; quantity: z.ZodNumber; line_key: z.ZodString; line_type: z.ZodEnum<{ service: "service"; digital: "digital"; bundle: "bundle"; composite: "composite"; simple: "simple"; }>; name: z.ZodString; description: z.ZodOptional; image_url: z.ZodOptional; category_id: z.ZodOptional; category_name: z.ZodOptional; is_available: z.ZodBoolean; variant_id: z.ZodOptional; variant_name: z.ZodOptional; variant_info: z.ZodOptional; price: z.ZodString; price_adjustment: z.ZodString; is_default: z.ZodBoolean; display_attributes: z.ZodOptional>>; images: z.ZodOptional>; }, z.core.$strip>>; variant_details: z.ZodOptional; properties: z.ZodRecord; }, z.core.$strip>>; base_price: z.ZodString; add_ons_price: z.ZodString; total_price: z.ZodString; item_discount_amount: z.ZodString; price_info: z.ZodObject<{ base_price: z.ZodString; final_price: z.ZodString; markup_percentage: z.ZodString; markup_amount: z.ZodString; markup_discount_percentage: z.ZodString; markup_discount_amount: z.ZodString; }, z.core.$strip>; add_on_option_ids: z.ZodArray; add_on_ids: z.ZodArray; add_on_details: z.ZodObject<{ selected_options: z.ZodArray; price_info: z.ZodOptional; }, z.core.$strip>>; total_add_on_price: z.ZodString; add_ons: z.ZodArray; is_required: z.ZodBoolean; }, z.core.$strip>>; }, z.core.$strip>; add_on_options: z.ZodArray; price: z.ZodOptional; image_url: z.ZodOptional; }, z.core.$strip>>; add_ons: z.ZodArray; price: z.ZodOptional; image_url: z.ZodOptional; }, z.core.$strip>>; }, z.core.$strip>>; scheduled_start: z.ZodOptional; scheduled_end: z.ZodOptional; staff_id: z.ZodOptional; resource_id: z.ZodOptional; service_status: z.ZodOptional>; confirmation_code: z.ZodOptional; special_instructions: z.ZodOptional; customer_inputs: z.ZodOptional; field_type: z.ZodOptional; value: z.ZodUnknown; }, z.core.$strip>>>; bundle_selections: z.ZodOptional; bundle_resolved: z.ZodOptional; }, z.core.$loose>>; composite_selections: z.ZodOptional; composite_resolved: z.ZodOptional; breakdown: z.ZodOptional; }, z.core.$strip>>; }, z.core.$loose>>; billing_plan_id: z.ZodOptional; applied_discount_ids: z.ZodArray; discount_details: z.ZodOptional; }, z.core.$strip>>; metadata: z.ZodOptional>; created_at: z.ZodUnion; updated_at: z.ZodUnion; }, z.core.$loose>; type CartItem = z.infer; declare const assertCartItem: (value: unknown) => asserts value is { [x: string]: unknown; id: string; cart_id: string; item_id: string; quantity: number; line_key: string; line_type: "service" | "digital" | "bundle" | "composite" | "simple"; name: string; is_available: boolean; base_price: string; add_ons_price: string; total_price: string; item_discount_amount: string; price_info: { base_price: string; final_price: string; markup_percentage: string; markup_amount: string; markup_discount_percentage: string; markup_discount_amount: string; }; add_on_option_ids: string[]; add_on_ids: string[]; add_on_details: { selected_options: { option_id: string; add_on_id: string; name: string; price: string; quantity: number; is_required: boolean; selected_at: string; price_info?: unknown; }[]; total_add_on_price: string; add_ons: { add_on_id: string; name: string; min_selections: number; max_selections: number; selected_options: string[]; is_required: boolean; }[]; }; add_on_options: { id: string; name: string; is_required: boolean; description?: string | undefined; price?: string | undefined; image_url?: string | undefined; }[]; add_ons: { id: string; name: string; is_multiple_allowed: boolean; min_selections: number; max_selections: number; required: boolean; options: { id: string; name: string; is_required: boolean; description?: string | undefined; price?: string | undefined; image_url?: string | undefined; }[]; }[]; applied_discount_ids: string[]; created_at: string; updated_at: string; description?: string | undefined; image_url?: string | undefined; category_id?: string | undefined; category_name?: string | undefined; variant_id?: string | undefined; variant_name?: string | undefined; variant_info?: { id: string; name: string; price: string; price_adjustment: string; is_default: boolean; sku?: string | undefined; display_attributes?: { axis_id: string; axis_name: string; value_id: string; value_name: string; }[] | undefined; images?: string[] | undefined; } | undefined; variant_details?: { variant_id: string; properties: Record; sku?: string | undefined; } | undefined; scheduled_start?: string | undefined; scheduled_end?: string | undefined; staff_id?: string | undefined; resource_id?: string | undefined; service_status?: "pending" | "confirmed" | "completed" | "cancelled" | undefined; confirmation_code?: string | undefined; special_instructions?: string | undefined; customer_inputs?: { field_id: string; value: unknown; field_name?: string | undefined; field_type?: string | undefined; }[] | undefined; bundle_selections?: unknown; bundle_resolved?: { [x: string]: unknown; bundle_id: string; selections: unknown[]; } | undefined; composite_selections?: unknown; composite_resolved?: { [x: string]: unknown; composite_id: string; selections: unknown[]; breakdown?: { base_price: string; components_total: string; final_price: string; tier_applied?: string | undefined; } | undefined; } | undefined; billing_plan_id?: string | undefined; discount_details?: { applied_count: number; total_amount: string; discount_ids: string[]; } | undefined; metadata?: Record | undefined; }; declare const TaxPriceDisplayModeSchema: z.ZodEnum<{ unspecified: "unspecified"; gross_required: "gross_required"; gross_and_net: "gross_and_net"; net_allowed: "net_allowed"; }>; declare const CartPricingSchema: z.ZodObject<{ subtotal: z.ZodString; total_discounts: z.ZodString; tax_amount: z.ZodString; service_charge: z.ZodString; total_price: z.ZodString; currency: z.ZodString; tax_rate: z.ZodOptional; service_charge_rate: z.ZodOptional; tax_inclusive: z.ZodBoolean; price_display_mode: z.ZodOptional>; deposit_required: z.ZodBoolean; deposit_amount: z.ZodString; }, z.core.$strip>; declare const CartSchema: z.ZodObject<{ id: z.ZodString; business_id: z.ZodString; items: z.ZodArray; name: z.ZodString; description: z.ZodOptional; image_url: z.ZodOptional; category_id: z.ZodOptional; category_name: z.ZodOptional; is_available: z.ZodBoolean; variant_id: z.ZodOptional; variant_name: z.ZodOptional; variant_info: z.ZodOptional; price: z.ZodString; price_adjustment: z.ZodString; is_default: z.ZodBoolean; display_attributes: z.ZodOptional>>; images: z.ZodOptional>; }, z.core.$strip>>; variant_details: z.ZodOptional; properties: z.ZodRecord; }, z.core.$strip>>; base_price: z.ZodString; add_ons_price: z.ZodString; total_price: z.ZodString; item_discount_amount: z.ZodString; price_info: z.ZodObject<{ base_price: z.ZodString; final_price: z.ZodString; markup_percentage: z.ZodString; markup_amount: z.ZodString; markup_discount_percentage: z.ZodString; markup_discount_amount: z.ZodString; }, z.core.$strip>; add_on_option_ids: z.ZodArray; add_on_ids: z.ZodArray; add_on_details: z.ZodObject<{ selected_options: z.ZodArray; price_info: z.ZodOptional; }, z.core.$strip>>; total_add_on_price: z.ZodString; add_ons: z.ZodArray; is_required: z.ZodBoolean; }, z.core.$strip>>; }, z.core.$strip>; add_on_options: z.ZodArray; price: z.ZodOptional; image_url: z.ZodOptional; }, z.core.$strip>>; add_ons: z.ZodArray; price: z.ZodOptional; image_url: z.ZodOptional; }, z.core.$strip>>; }, z.core.$strip>>; scheduled_start: z.ZodOptional; scheduled_end: z.ZodOptional; staff_id: z.ZodOptional; resource_id: z.ZodOptional; service_status: z.ZodOptional>; confirmation_code: z.ZodOptional; special_instructions: z.ZodOptional; customer_inputs: z.ZodOptional; field_type: z.ZodOptional; value: z.ZodUnknown; }, z.core.$strip>>>; bundle_selections: z.ZodOptional; bundle_resolved: z.ZodOptional; }, z.core.$loose>>; composite_selections: z.ZodOptional; composite_resolved: z.ZodOptional; breakdown: z.ZodOptional; }, z.core.$strip>>; }, z.core.$loose>>; billing_plan_id: z.ZodOptional; applied_discount_ids: z.ZodArray; discount_details: z.ZodOptional; }, z.core.$strip>>; metadata: z.ZodOptional>; created_at: z.ZodUnion; updated_at: z.ZodUnion; }, z.core.$loose>>; pricing: z.ZodObject<{ subtotal: z.ZodString; total_discounts: z.ZodString; tax_amount: z.ZodString; service_charge: z.ZodString; total_price: z.ZodString; currency: z.ZodString; tax_rate: z.ZodOptional; service_charge_rate: z.ZodOptional; tax_inclusive: z.ZodBoolean; price_display_mode: z.ZodOptional>; deposit_required: z.ZodBoolean; deposit_amount: z.ZodString; }, z.core.$strip>; customer_info: z.ZodObject<{ name: z.ZodString; email: z.ZodOptional; phone: z.ZodOptional; address: z.ZodOptional; }, z.core.$strip>; created_at: z.ZodUnion; updated_at: z.ZodUnion; expires_at: z.ZodUnion; status: z.ZodString; source: z.ZodString; channel: z.ZodString; requires_delivery: z.ZodOptional; }, z.core.$loose>; type Cart = z.infer; declare const assertCart: (value: unknown) => asserts value is { [x: string]: unknown; id: string; business_id: string; items: { [x: string]: unknown; id: string; cart_id: string; item_id: string; quantity: number; line_key: string; line_type: "service" | "digital" | "bundle" | "composite" | "simple"; name: string; is_available: boolean; base_price: string; add_ons_price: string; total_price: string; item_discount_amount: string; price_info: { base_price: string; final_price: string; markup_percentage: string; markup_amount: string; markup_discount_percentage: string; markup_discount_amount: string; }; add_on_option_ids: string[]; add_on_ids: string[]; add_on_details: { selected_options: { option_id: string; add_on_id: string; name: string; price: string; quantity: number; is_required: boolean; selected_at: string; price_info?: unknown; }[]; total_add_on_price: string; add_ons: { add_on_id: string; name: string; min_selections: number; max_selections: number; selected_options: string[]; is_required: boolean; }[]; }; add_on_options: { id: string; name: string; is_required: boolean; description?: string | undefined; price?: string | undefined; image_url?: string | undefined; }[]; add_ons: { id: string; name: string; is_multiple_allowed: boolean; min_selections: number; max_selections: number; required: boolean; options: { id: string; name: string; is_required: boolean; description?: string | undefined; price?: string | undefined; image_url?: string | undefined; }[]; }[]; applied_discount_ids: string[]; created_at: string; updated_at: string; description?: string | undefined; image_url?: string | undefined; category_id?: string | undefined; category_name?: string | undefined; variant_id?: string | undefined; variant_name?: string | undefined; variant_info?: { id: string; name: string; price: string; price_adjustment: string; is_default: boolean; sku?: string | undefined; display_attributes?: { axis_id: string; axis_name: string; value_id: string; value_name: string; }[] | undefined; images?: string[] | undefined; } | undefined; variant_details?: { variant_id: string; properties: Record; sku?: string | undefined; } | undefined; scheduled_start?: string | undefined; scheduled_end?: string | undefined; staff_id?: string | undefined; resource_id?: string | undefined; service_status?: "pending" | "confirmed" | "completed" | "cancelled" | undefined; confirmation_code?: string | undefined; special_instructions?: string | undefined; customer_inputs?: { field_id: string; value: unknown; field_name?: string | undefined; field_type?: string | undefined; }[] | undefined; bundle_selections?: unknown; bundle_resolved?: { [x: string]: unknown; bundle_id: string; selections: unknown[]; } | undefined; composite_selections?: unknown; composite_resolved?: { [x: string]: unknown; composite_id: string; selections: unknown[]; breakdown?: { base_price: string; components_total: string; final_price: string; tier_applied?: string | undefined; } | undefined; } | undefined; billing_plan_id?: string | undefined; discount_details?: { applied_count: number; total_amount: string; discount_ids: string[]; } | undefined; metadata?: Record | undefined; }[]; pricing: { subtotal: string; total_discounts: string; tax_amount: string; service_charge: string; total_price: string; currency: string; tax_inclusive: boolean; deposit_required: boolean; deposit_amount: string; tax_rate?: string | undefined; service_charge_rate?: string | undefined; price_display_mode?: "unspecified" | "gross_required" | "gross_and_net" | "net_allowed" | undefined; }; customer_info: { name: string; email?: string | undefined; phone?: string | undefined; address?: string | undefined; }; created_at: string; updated_at: string; expires_at: string; status: string; source: string; channel: string; requires_delivery?: boolean | undefined; }; /** * Deprecated CheckoutService compatibility schemas. These validate the flat * SDK adapter input and its legacy projection over PurchaseIntent. They do * not describe a backend `/checkout` endpoint, and deprecated action * submission is owner-fenced through the PurchaseIntent attempt route. */ declare const CheckoutCustomerSchema: z.ZodObject<{ name: z.ZodString; email: z.ZodString; phone: z.ZodString; notes: z.ZodOptional; save_details: z.ZodOptional; }, z.core.$strip>; declare const CheckoutBodySchema: z.ZodObject<{ cart_id: z.ZodString; location_id: z.ZodOptional; customer: z.ZodObject<{ name: z.ZodString; email: z.ZodString; phone: z.ZodString; notes: z.ZodOptional; save_details: z.ZodOptional; }, z.core.$strip>; order_type: z.ZodEnum<{ readonly DELIVERY: "delivery"; readonly PICKUP: "pickup"; readonly DINE_IN: "dine-in"; readonly WALK_IN: "walk-in"; }>; address_info: z.ZodOptional>; delivery_rate_id: z.ZodOptional; payment_method: z.ZodEnum<{ readonly MOBILE_MONEY: "mobile_money"; readonly CARD: "card"; }>; mobile_money_details: z.ZodOptional>; special_instructions: z.ZodOptional; metadata: z.ZodOptional>; pay_currency: z.ZodOptional; fx_quote_id: z.ZodOptional; }, z.core.$strip>; type CheckoutBody = z.infer; declare const assertCheckoutBody: (value: unknown) => asserts value is { cart_id: string; customer: { name: string; email: string; phone: string; notes?: string | undefined; save_details?: boolean | undefined; }; order_type: "delivery" | "pickup" | "dine-in" | "walk-in"; payment_method: "mobile_money" | "card"; location_id?: string | undefined; address_info?: Record | undefined; delivery_rate_id?: string | undefined; mobile_money_details?: { phone_number: string; provider: string; } | undefined; special_instructions?: string | undefined; metadata?: Record | undefined; pay_currency?: string | undefined; fx_quote_id?: string | undefined; }; declare const AuthorizationTypeSchema: z.ZodUnion, z.ZodObject<{ address: z.ZodObject<{ address: z.ZodString; city: z.ZodString; state: z.ZodString; zip_code: z.ZodString; }, z.core.$strip>; }, z.core.$strip>]>; declare const NextActionSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{ type: z.ZodLiteral<"none">; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"card_popup">; provider: z.ZodString; client_secret: z.ZodString; public_key: z.ZodString; provider_account_id: z.ZodOptional; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"redirect">; authorization_url: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"authorization">; authorization_type: z.ZodUnion, z.ZodObject<{ address: z.ZodObject<{ address: z.ZodString; city: z.ZodString; state: z.ZodString; zip_code: z.ZodString; }, z.core.$strip>; }, z.core.$strip>]>; display_text: z.ZodOptional>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"terms_changed">; replacement: z.ZodUnknown; deltas: z.ZodArray; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"selection_unavailable">; lines: z.ZodArray; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"poll">; }, z.core.$strip>], "type">; declare const CheckoutResponseSchema: z.ZodObject<{ order_id: z.ZodString; order_number: z.ZodString; payment_id: z.ZodOptional>; payment_status: z.ZodString; payment_reference: z.ZodOptional>; requires_authorization: z.ZodBoolean; authorization_type: z.ZodOptional, z.ZodObject<{ address: z.ZodObject<{ address: z.ZodString; city: z.ZodString; state: z.ZodString; zip_code: z.ZodString; }, z.core.$strip>; }, z.core.$strip>]>>>; next_action: z.ZodDiscriminatedUnion<[z.ZodObject<{ type: z.ZodLiteral<"none">; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"card_popup">; provider: z.ZodString; client_secret: z.ZodString; public_key: z.ZodString; provider_account_id: z.ZodOptional; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"redirect">; authorization_url: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"authorization">; authorization_type: z.ZodUnion, z.ZodObject<{ address: z.ZodObject<{ address: z.ZodString; city: z.ZodString; state: z.ZodString; zip_code: z.ZodString; }, z.core.$strip>; }, z.core.$strip>]>; display_text: z.ZodOptional>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"terms_changed">; replacement: z.ZodUnknown; deltas: z.ZodArray; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"selection_unavailable">; lines: z.ZodArray; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"poll">; }, z.core.$strip>], "type">; provider: z.ZodOptional>; authorization_url: z.ZodOptional>; display_text: z.ZodOptional>; bill_token: z.ZodOptional>; client_secret: z.ZodOptional>; public_key: z.ZodOptional>; }, z.core.$loose>; type CheckoutResponse = z.infer; declare const assertCheckoutResponse: (value: unknown) => asserts value is { [x: string]: unknown; order_id: string; order_number: string; payment_status: string; requires_authorization: boolean; next_action: { type: "none"; } | { type: "card_popup"; provider: string; client_secret: string; public_key: string; provider_account_id?: string | undefined; } | { type: "redirect"; authorization_url: string; } | { type: "authorization"; authorization_type: "phone" | "otp" | "pin" | "birthday" | { address: { address: string; city: string; state: string; zip_code: string; }; }; display_text?: string | null | undefined; } | { type: "terms_changed"; replacement: unknown; deltas: unknown[]; } | { type: "selection_unavailable"; lines: unknown[]; } | { type: "poll"; }; payment_id?: string | null | undefined; payment_reference?: string | null | undefined; authorization_type?: "phone" | "otp" | "pin" | "birthday" | { address: { address: string; city: string; state: string; zip_code: string; }; } | null | undefined; provider?: string | null | undefined; authorization_url?: string | null | undefined; display_text?: string | null | undefined; bill_token?: string | null | undefined; client_secret?: string | null | undefined; public_key?: string | null | undefined; }; declare const PurchaseIntentSourceInputSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{ kind: z.ZodLiteral<"product">; product_id: z.ZodString; }, z.core.$strict>, z.ZodObject<{ kind: z.ZodLiteral<"collection">; collection_id: z.ZodString; }, z.core.$strict>, z.ZodObject<{ kind: z.ZodLiteral<"sale">; sale_id: z.ZodString; }, z.core.$strict>, z.ZodObject<{ kind: z.ZodLiteral<"post">; signed_handoff: z.ZodString; }, z.core.$strict>, z.ZodObject<{ kind: z.ZodLiteral<"live">; signed_handoff: z.ZodString; signed_beat_identity: z.ZodString; }, z.core.$strict>, z.ZodObject<{ kind: z.ZodLiteral<"cart">; cart_id: z.ZodString; }, z.core.$strict>, z.ZodObject<{ kind: z.ZodLiteral<"chat">; thread_id: z.ZodString; }, z.core.$strict>], "kind">; declare const PurchaseIntentTenderPreferenceSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{ method_kind: z.ZodLiteral<"card">; stored_instrument_id: z.ZodOptional; }, z.core.$strict>, z.ZodObject<{ method_kind: z.ZodLiteral<"mobile_money">; authority: z.ZodDiscriminatedUnion<[z.ZodObject<{ authority_kind: z.ZodLiteral<"transient">; phone_number: z.ZodString; network: z.ZodEnum<{ readonly MTN: "mtn"; readonly TELECEL: "telecel"; readonly AIRTEL: "airtel"; }>; }, z.core.$strict>, z.ZodObject<{ authority_kind: z.ZodLiteral<"saved_reference">; stored_instrument_id: z.ZodString; }, z.core.$strict>], "authority_kind">; }, z.core.$strict>], "method_kind">; declare const MintPurchaseIntentRequestSchema: z.ZodUnion; cart_id: z.ZodString; }, z.core.$strict>, z.ZodObject<{ kind: z.ZodLiteral<"chat">; thread_id: z.ZodString; }, z.core.$strict>]>; checkout: z.ZodObject<{ customer: z.ZodObject<{ name: z.ZodString; email: z.ZodString; phone: z.ZodString; notes: z.ZodOptional; save_details: z.ZodOptional; }, z.core.$strip>; order_type: z.ZodString; address_info: z.ZodObject<{ street_address: z.ZodOptional; apartment: z.ZodOptional; city: z.ZodOptional; region: z.ZodOptional; postal_code: z.ZodOptional; country: z.ZodOptional; delivery_instructions: z.ZodOptional; phone_for_delivery: z.ZodOptional; latitude: z.ZodOptional; longitude: z.ZodOptional; pickup_time: z.ZodOptional; guest_count: z.ZodOptional; seating_time: z.ZodOptional; seating_requests: z.ZodOptional; }, z.core.$strip>; location_id: z.ZodOptional; delivery_rate_id: z.ZodOptional; special_instructions: z.ZodOptional; link_address_id: z.ZodOptional; link_payment_method_id: z.ZodOptional; metadata: z.ZodOptional>; pay_currency: z.ZodOptional; fx_quote_id: z.ZodOptional; use_store_credit: z.ZodOptional; voucher_code: z.ZodOptional; pay_deposit: z.ZodOptional; tender_preference: z.ZodOptional; stored_instrument_id: z.ZodOptional; }, z.core.$strict>, z.ZodObject<{ method_kind: z.ZodLiteral<"mobile_money">; authority: z.ZodDiscriminatedUnion<[z.ZodObject<{ authority_kind: z.ZodLiteral<"transient">; phone_number: z.ZodString; network: z.ZodEnum<{ readonly MTN: "mtn"; readonly TELECEL: "telecel"; readonly AIRTEL: "airtel"; }>; }, z.core.$strict>, z.ZodObject<{ authority_kind: z.ZodLiteral<"saved_reference">; stored_instrument_id: z.ZodString; }, z.core.$strict>], "authority_kind">; }, z.core.$strict>], "method_kind">>; }, z.core.$strip>; client_intent_key: z.ZodString; destination: z.ZodOptional>; }, z.core.$strip>>>; }, z.core.$strict>, z.ZodObject<{ source: z.ZodUnion; product_id: z.ZodString; }, z.core.$strict>, z.ZodObject<{ kind: z.ZodLiteral<"collection">; collection_id: z.ZodString; }, z.core.$strict>, z.ZodObject<{ kind: z.ZodLiteral<"sale">; sale_id: z.ZodString; }, z.core.$strict>, z.ZodObject<{ kind: z.ZodLiteral<"post">; signed_handoff: z.ZodString; }, z.core.$strict>, z.ZodObject<{ kind: z.ZodLiteral<"live">; signed_handoff: z.ZodString; signed_beat_identity: z.ZodString; }, z.core.$strict>]>; lines: z.ZodArray; product_id: z.ZodString; variant_id: z.ZodOptional>; location_id: z.ZodString; }, z.core.$strip>; quantity: z.ZodNumber; configuration: z.ZodObject<{ kind: z.ZodLiteral<"simple">; variant_id: z.ZodOptional>; add_ons: z.ZodOptional>>; customer_inputs: z.ZodOptional; field_type: z.ZodOptional; value: z.ZodUnknown; }, z.core.$strip>>>; }, z.core.$strip>; offer: z.ZodOptional; id: z.ZodString; version: z.ZodString; }, z.core.$strip>>>; }, z.core.$strip>>; client_intent_key: z.ZodString; destination: z.ZodOptional>; }, z.core.$strip>>>; }, z.core.$strict>]>; declare const CheckoutTermsViewSchema: z.ZodObject<{ id: z.ZodString; intent_revision: z.ZodNumber; terms_version: z.ZodNumber; terms_digest: z.ZodString; money: z.ZodObject<{ currency: z.ZodString; subtotal: z.ZodString; discount_total: z.ZodString; tax_total: z.ZodString; delivery_total: z.ZodString; statutory_total: z.ZodString; total_obligation: z.ZodString; due_now: z.ZodString; rail_amount: z.ZodString; store_credit_consumed: z.ZodString; voucher_credit_consumed: z.ZodString; }, z.core.$strip>; material: z.ZodObject<{ line_digest: z.ZodString; destination_digest: z.ZodString; delivery_promise_digest: z.ZodString; entitlement_digest: z.ZodString; cancellation_terms_digest: z.ZodString; }, z.core.$strip>; compliance: z.ZodObject<{ disposition: z.ZodOptional>; purchase_policy: z.ZodOptional; market_region: z.ZodString; store_region: z.ZodOptional>; }, z.core.$strip>>>; policy_name: z.ZodString; policy_version: z.ZodNumber; lane: z.ZodEnum<{ readonly COMMERCE_CORE: "commerce_core"; readonly NATIVE: "native"; readonly STORE_KIT: "store_kit"; readonly PERMITTED_EXTERNAL: "permitted_external"; readonly BROWSE_ONLY: "browse_only"; }>; reason_code: z.ZodEnum<{ readonly COMMERCE_CORE: "commerce_core"; readonly PHYSICAL_GOODS_NATIVE: "physical_goods_native"; readonly PHYSICAL_WORLD_COMMERCE_NATIVE: "physical_world_commerce_native"; readonly STORE_KIT_REQUIRED: "store_kit_required"; readonly PERMITTED_EXTERNAL_PURCHASE: "permitted_external_purchase"; readonly DISTRIBUTION_AUTHORITY_UNVERIFIED: "distribution_authority_unverified"; readonly PRODUCT_POLICY_UNRESOLVED: "product_policy_unresolved"; readonly MIXED_LANE_UNSUPPORTED: "mixed_lane_unsupported"; readonly EXTERNAL_DIGITAL_NATIVE: "external_digital_native"; readonly MIXED_FACTS_NATIVE: "mixed_facts_native"; readonly UNRESOLVED_FACTS_NATIVE: "unresolved_facts_native"; }>; evidence_digest: z.ZodString; }, z.core.$strip>; protection: z.ZodOptional; message: z.ZodString; public_policy_version: z.ZodOptional>; }, z.core.$strip>>>; payment_options: z.ZodArray; collection_mode: z.ZodEnum<{ readonly REQUEST_TO_PAY: "request_to_pay"; readonly MANDATE_DEBIT: "mandate_debit"; readonly CREDENTIAL_CHARGE: "credential_charge"; readonly OFFLINE_TENDER: "offline_tender"; }>; provider: z.ZodOptional>>; instrument: z.ZodOptional; brand: z.ZodString; last4: z.ZodString; exp_month: z.ZodNumber; exp_year: z.ZodNumber; }, z.core.$strip>, z.ZodObject<{ kind: z.ZodLiteral<"mobile_money">; network: z.ZodString; masked_number: z.ZodString; }, z.core.$strip>, z.ZodObject<{ kind: z.ZodLiteral<"erased">; }, z.core.$strip>], "kind">>>; principal_amount: z.ZodString; fee_amount: z.ZodString; customer_debit_amount: z.ZodString; currency: z.ZodString; protection: z.ZodObject<{ status: z.ZodEnum<{ readonly PROTECTED: "protected"; readonly UNAVAILABLE: "unavailable"; }>; message: z.ZodString; public_policy_version: z.ZodOptional>; }, z.core.$strip>; status: z.ZodEnum<{ readonly ELIGIBLE: "eligible"; readonly INELIGIBLE: "ineligible"; readonly EXPIRED: "expired"; }>; expected_next_action: z.ZodEnum<{ readonly NONE: "none"; readonly PROVIDER_APPROVAL: "provider_approval"; readonly STEP_UP: "step_up"; }>; expires_at: z.ZodISODateTime; }, z.core.$strip>>; valid_until: z.ZodISODateTime; created_at: z.ZodISODateTime; }, z.core.$strict>; declare const PurchaseIntentViewSchema: z.ZodObject<{ disposition: z.ZodOptional>; id: z.ZodString; seller_business_id: z.ZodString; principal: z.ZodOptional; account_id: z.ZodString; }, z.core.$strict>, z.ZodObject<{ kind: z.ZodLiteral<"business">; business_id: z.ZodString; }, z.core.$strict>, z.ZodObject<{ kind: z.ZodLiteral<"guest">; }, z.core.$strict>, z.ZodObject<{ kind: z.ZodLiteral<"recognised">; verified: z.ZodBoolean; }, z.core.$strict>], "kind">>>; revision: z.ZodNumber; status: z.ZodEnum<{ readonly DRAFT: "draft"; readonly OPEN: "open"; readonly CONVERTED: "converted"; readonly CANCELLED: "cancelled"; readonly EXPIRED: "expired"; }>; source: z.ZodObject<{ store_region: z.ZodOptional>; native_platform: z.ZodOptional>>; purchase_surface: z.ZodOptional>; kind: z.ZodEnum<{ readonly PRODUCT: "product"; readonly COLLECTION: "collection"; readonly SALE: "sale"; readonly POST: "post"; readonly LIVE: "live"; readonly CART: "cart"; readonly CHAT: "chat"; readonly MANUAL: "manual"; }>; source_id: z.ZodString; social_post_id: z.ZodOptional>; source_version: z.ZodString; seller_business_id: z.ZodString; subject: z.ZodDiscriminatedUnion<[z.ZodObject<{ kind: z.ZodLiteral<"account">; account_id: z.ZodString; }, z.core.$strict>, z.ZodObject<{ kind: z.ZodLiteral<"business">; business_id: z.ZodString; }, z.core.$strict>], "kind">; binding_digest: z.ZodString; }, z.core.$strict>; lines: z.ZodArray; product_id: z.ZodString; variant_id: z.ZodOptional>; location_id: z.ZodString; }, z.core.$strip>; quantity: z.ZodNumber; offer: z.ZodOptional; id: z.ZodString; version: z.ZodString; }, z.core.$strip>>>; id: z.ZodString; ordinal: z.ZodNumber; configuration: z.ZodDiscriminatedUnion<[z.ZodObject<{ kind: z.ZodLiteral<"simple">; variant_id: z.ZodOptional>; add_ons: z.ZodOptional>>; customer_inputs: z.ZodOptional; field_type: z.ZodOptional; value: z.ZodUnknown; }, z.core.$strip>>>; }, z.core.$strip>, z.ZodObject<{ kind: z.ZodLiteral<"cart">; configuration: z.ZodObject<{ type: z.ZodEnum<{ service: "service"; digital: "digital"; bundle: "bundle"; composite: "composite"; simple: "simple"; }>; }, z.core.$loose>; }, z.core.$strip>], "kind">; }, z.core.$strip>>; line_pricing: z.ZodArray>; current_terms: z.ZodOptional; material: z.ZodObject<{ line_digest: z.ZodString; destination_digest: z.ZodString; delivery_promise_digest: z.ZodString; entitlement_digest: z.ZodString; cancellation_terms_digest: z.ZodString; }, z.core.$strip>; compliance: z.ZodObject<{ disposition: z.ZodOptional>; purchase_policy: z.ZodOptional; market_region: z.ZodString; store_region: z.ZodOptional>; }, z.core.$strip>>>; policy_name: z.ZodString; policy_version: z.ZodNumber; lane: z.ZodEnum<{ readonly COMMERCE_CORE: "commerce_core"; readonly NATIVE: "native"; readonly STORE_KIT: "store_kit"; readonly PERMITTED_EXTERNAL: "permitted_external"; readonly BROWSE_ONLY: "browse_only"; }>; reason_code: z.ZodEnum<{ readonly COMMERCE_CORE: "commerce_core"; readonly PHYSICAL_GOODS_NATIVE: "physical_goods_native"; readonly PHYSICAL_WORLD_COMMERCE_NATIVE: "physical_world_commerce_native"; readonly STORE_KIT_REQUIRED: "store_kit_required"; readonly PERMITTED_EXTERNAL_PURCHASE: "permitted_external_purchase"; readonly DISTRIBUTION_AUTHORITY_UNVERIFIED: "distribution_authority_unverified"; readonly PRODUCT_POLICY_UNRESOLVED: "product_policy_unresolved"; readonly MIXED_LANE_UNSUPPORTED: "mixed_lane_unsupported"; readonly EXTERNAL_DIGITAL_NATIVE: "external_digital_native"; readonly MIXED_FACTS_NATIVE: "mixed_facts_native"; readonly UNRESOLVED_FACTS_NATIVE: "unresolved_facts_native"; }>; evidence_digest: z.ZodString; }, z.core.$strip>; protection: z.ZodOptional; message: z.ZodString; public_policy_version: z.ZodOptional>; }, z.core.$strip>>>; payment_options: z.ZodArray; collection_mode: z.ZodEnum<{ readonly REQUEST_TO_PAY: "request_to_pay"; readonly MANDATE_DEBIT: "mandate_debit"; readonly CREDENTIAL_CHARGE: "credential_charge"; readonly OFFLINE_TENDER: "offline_tender"; }>; provider: z.ZodOptional>>; instrument: z.ZodOptional; brand: z.ZodString; last4: z.ZodString; exp_month: z.ZodNumber; exp_year: z.ZodNumber; }, z.core.$strip>, z.ZodObject<{ kind: z.ZodLiteral<"mobile_money">; network: z.ZodString; masked_number: z.ZodString; }, z.core.$strip>, z.ZodObject<{ kind: z.ZodLiteral<"erased">; }, z.core.$strip>], "kind">>>; principal_amount: z.ZodString; fee_amount: z.ZodString; customer_debit_amount: z.ZodString; currency: z.ZodString; protection: z.ZodObject<{ status: z.ZodEnum<{ readonly PROTECTED: "protected"; readonly UNAVAILABLE: "unavailable"; }>; message: z.ZodString; public_policy_version: z.ZodOptional>; }, z.core.$strip>; status: z.ZodEnum<{ readonly ELIGIBLE: "eligible"; readonly INELIGIBLE: "ineligible"; readonly EXPIRED: "expired"; }>; expected_next_action: z.ZodEnum<{ readonly NONE: "none"; readonly PROVIDER_APPROVAL: "provider_approval"; readonly STEP_UP: "step_up"; }>; expires_at: z.ZodISODateTime; }, z.core.$strip>>; valid_until: z.ZodISODateTime; created_at: z.ZodISODateTime; }, z.core.$strict>>>; converted_order_id: z.ZodOptional>; expires_at: z.ZodISODateTime; created_at: z.ZodISODateTime; updated_at: z.ZodISODateTime; }, z.core.$strict>; declare const ConfirmPurchaseIntentRequestSchema: z.ZodObject<{ accepted_intent_revision: z.ZodNumber; accepted_terms_version: z.ZodNumber; accepted_due_now: z.ZodString; accepted_customer_debit_amount: z.ZodString; currency: z.ZodString; payment_option_id: z.ZodOptional>; idempotency_key: z.ZodString; }, z.core.$strict>; declare const PreparePurchaseIntentRequestSchema: z.ZodObject<{ expected_intent_revision: z.ZodNumber; idempotency_key: z.ZodString; checkout: z.ZodObject<{ customer: z.ZodObject<{ name: z.ZodString; email: z.ZodString; phone: z.ZodString; notes: z.ZodOptional; save_details: z.ZodOptional; }, z.core.$strip>; order_type: z.ZodString; address_info: z.ZodObject<{ street_address: z.ZodOptional; apartment: z.ZodOptional; city: z.ZodOptional; region: z.ZodOptional; postal_code: z.ZodOptional; country: z.ZodOptional; delivery_instructions: z.ZodOptional; phone_for_delivery: z.ZodOptional; latitude: z.ZodOptional; longitude: z.ZodOptional; pickup_time: z.ZodOptional; guest_count: z.ZodOptional; seating_time: z.ZodOptional; seating_requests: z.ZodOptional; }, z.core.$strip>; location_id: z.ZodOptional; delivery_rate_id: z.ZodOptional; special_instructions: z.ZodOptional; link_address_id: z.ZodOptional; link_payment_method_id: z.ZodOptional; metadata: z.ZodOptional>; pay_currency: z.ZodOptional; fx_quote_id: z.ZodOptional; use_store_credit: z.ZodOptional; voucher_code: z.ZodOptional; pay_deposit: z.ZodOptional; tender_preference: z.ZodOptional; stored_instrument_id: z.ZodOptional; }, z.core.$strict>, z.ZodObject<{ method_kind: z.ZodLiteral<"mobile_money">; authority: z.ZodDiscriminatedUnion<[z.ZodObject<{ authority_kind: z.ZodLiteral<"transient">; phone_number: z.ZodString; network: z.ZodEnum<{ readonly MTN: "mtn"; readonly TELECEL: "telecel"; readonly AIRTEL: "airtel"; }>; }, z.core.$strict>, z.ZodObject<{ authority_kind: z.ZodLiteral<"saved_reference">; stored_instrument_id: z.ZodString; }, z.core.$strict>], "authority_kind">; }, z.core.$strict>], "method_kind">>; }, z.core.$strip>; }, z.core.$strict>; declare const SubmitPurchaseIntentActionRequestSchema: z.ZodObject<{ authorization: z.ZodDiscriminatedUnion<[z.ZodObject<{ type: z.ZodLiteral<"otp">; value: z.ZodString; }, z.core.$strict>, z.ZodObject<{ type: z.ZodLiteral<"pin">; value: z.ZodString; }, z.core.$strict>, z.ZodObject<{ type: z.ZodLiteral<"phone">; value: z.ZodString; }, z.core.$strict>, z.ZodObject<{ type: z.ZodLiteral<"birthday">; value: z.ZodString; }, z.core.$strict>, z.ZodObject<{ type: z.ZodLiteral<"address">; address: z.ZodString; city: z.ZodString; state: z.ZodString; zip_code: z.ZodString; }, z.core.$strict>], "type">; }, z.core.$strict>; declare const ConfirmPurchaseIntentResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{ intent_id: z.ZodString; attempt_id: z.ZodString; order_id: z.ZodString; order_number: z.ZodOptional; payment_id: z.ZodOptional; status: z.ZodLiteral<"order_created">; }, z.core.$loose>, z.ZodObject<{ intent_id: z.ZodString; attempt_id: z.ZodString; order_id: z.ZodString; order_number: z.ZodOptional; payment_id: z.ZodOptional; status: z.ZodLiteral<"collection_processing">; }, z.core.$loose>, z.ZodObject<{ intent_id: z.ZodString; attempt_id: z.ZodString; order_id: z.ZodString; order_number: z.ZodOptional; payment_id: z.ZodOptional; status: z.ZodLiteral<"payment_outcome_unknown">; }, z.core.$loose>, z.ZodObject<{ intent_id: z.ZodString; attempt_id: z.ZodString; order_id: z.ZodString; order_number: z.ZodOptional; payment_id: z.ZodOptional; status: z.ZodLiteral<"payment_failed">; }, z.core.$loose>, z.ZodObject<{ authorization_url: z.ZodString; intent_id: z.ZodString; attempt_id: z.ZodString; order_id: z.ZodString; order_number: z.ZodOptional; payment_id: z.ZodOptional; status: z.ZodLiteral<"redirect_required">; }, z.core.$loose>, z.ZodObject<{ provider: z.ZodEnum<{ readonly STRIPE: "stripe"; readonly PAYSTACK: "paystack"; readonly CELLULANT: "cellulant"; readonly MTN_MOMO: "mtn_momo"; }>; client_secret: z.ZodString; public_key: z.ZodString; provider_account_id: z.ZodOptional>; intent_id: z.ZodString; attempt_id: z.ZodString; order_id: z.ZodString; order_number: z.ZodOptional; payment_id: z.ZodOptional; status: z.ZodLiteral<"card_popup_required">; }, z.core.$loose>, z.ZodObject<{ authorization_type: z.ZodUnion, z.ZodObject<{ address: z.ZodObject<{ address: z.ZodString; city: z.ZodString; state: z.ZodString; zip_code: z.ZodString; }, z.core.$strip>; }, z.core.$strip>]>; display_text: z.ZodOptional; intent_id: z.ZodString; attempt_id: z.ZodString; order_id: z.ZodString; order_number: z.ZodOptional; payment_id: z.ZodOptional; status: z.ZodLiteral<"authorization_required">; }, z.core.$loose>, z.ZodObject<{ status: z.ZodLiteral<"terms_changed">; intent_id: z.ZodString; replacement: z.ZodObject<{ id: z.ZodString; intent_revision: z.ZodNumber; terms_version: z.ZodNumber; terms_digest: z.ZodString; money: z.ZodObject<{ currency: z.ZodString; subtotal: z.ZodString; discount_total: z.ZodString; tax_total: z.ZodString; delivery_total: z.ZodString; statutory_total: z.ZodString; total_obligation: z.ZodString; due_now: z.ZodString; rail_amount: z.ZodString; store_credit_consumed: z.ZodString; voucher_credit_consumed: z.ZodString; }, z.core.$strip>; material: z.ZodObject<{ line_digest: z.ZodString; destination_digest: z.ZodString; delivery_promise_digest: z.ZodString; entitlement_digest: z.ZodString; cancellation_terms_digest: z.ZodString; }, z.core.$strip>; compliance: z.ZodObject<{ disposition: z.ZodOptional>; purchase_policy: z.ZodOptional; market_region: z.ZodString; store_region: z.ZodOptional>; }, z.core.$strip>>>; policy_name: z.ZodString; policy_version: z.ZodNumber; lane: z.ZodEnum<{ readonly COMMERCE_CORE: "commerce_core"; readonly NATIVE: "native"; readonly STORE_KIT: "store_kit"; readonly PERMITTED_EXTERNAL: "permitted_external"; readonly BROWSE_ONLY: "browse_only"; }>; reason_code: z.ZodEnum<{ readonly COMMERCE_CORE: "commerce_core"; readonly PHYSICAL_GOODS_NATIVE: "physical_goods_native"; readonly PHYSICAL_WORLD_COMMERCE_NATIVE: "physical_world_commerce_native"; readonly STORE_KIT_REQUIRED: "store_kit_required"; readonly PERMITTED_EXTERNAL_PURCHASE: "permitted_external_purchase"; readonly DISTRIBUTION_AUTHORITY_UNVERIFIED: "distribution_authority_unverified"; readonly PRODUCT_POLICY_UNRESOLVED: "product_policy_unresolved"; readonly MIXED_LANE_UNSUPPORTED: "mixed_lane_unsupported"; readonly EXTERNAL_DIGITAL_NATIVE: "external_digital_native"; readonly MIXED_FACTS_NATIVE: "mixed_facts_native"; readonly UNRESOLVED_FACTS_NATIVE: "unresolved_facts_native"; }>; evidence_digest: z.ZodString; }, z.core.$strip>; protection: z.ZodOptional; message: z.ZodString; public_policy_version: z.ZodOptional>; }, z.core.$strip>>>; payment_options: z.ZodArray; collection_mode: z.ZodEnum<{ readonly REQUEST_TO_PAY: "request_to_pay"; readonly MANDATE_DEBIT: "mandate_debit"; readonly CREDENTIAL_CHARGE: "credential_charge"; readonly OFFLINE_TENDER: "offline_tender"; }>; provider: z.ZodOptional>>; instrument: z.ZodOptional; brand: z.ZodString; last4: z.ZodString; exp_month: z.ZodNumber; exp_year: z.ZodNumber; }, z.core.$strip>, z.ZodObject<{ kind: z.ZodLiteral<"mobile_money">; network: z.ZodString; masked_number: z.ZodString; }, z.core.$strip>, z.ZodObject<{ kind: z.ZodLiteral<"erased">; }, z.core.$strip>], "kind">>>; principal_amount: z.ZodString; fee_amount: z.ZodString; customer_debit_amount: z.ZodString; currency: z.ZodString; protection: z.ZodObject<{ status: z.ZodEnum<{ readonly PROTECTED: "protected"; readonly UNAVAILABLE: "unavailable"; }>; message: z.ZodString; public_policy_version: z.ZodOptional>; }, z.core.$strip>; status: z.ZodEnum<{ readonly ELIGIBLE: "eligible"; readonly INELIGIBLE: "ineligible"; readonly EXPIRED: "expired"; }>; expected_next_action: z.ZodEnum<{ readonly NONE: "none"; readonly PROVIDER_APPROVAL: "provider_approval"; readonly STEP_UP: "step_up"; }>; expires_at: z.ZodISODateTime; }, z.core.$strip>>; valid_until: z.ZodISODateTime; created_at: z.ZodISODateTime; }, z.core.$strict>; deltas: z.ZodArray; component: z.ZodEnum<{ readonly SUBTOTAL: "subtotal"; readonly DISCOUNT_TOTAL: "discount_total"; readonly TAX_TOTAL: "tax_total"; readonly DELIVERY_TOTAL: "delivery_total"; readonly STATUTORY_TOTAL: "statutory_total"; readonly TOTAL_OBLIGATION: "total_obligation"; readonly DUE_NOW: "due_now"; readonly RAIL_AMOUNT: "rail_amount"; readonly STORE_CREDIT_CONSUMED: "store_credit_consumed"; readonly VOUCHER_CREDIT_CONSUMED: "voucher_credit_consumed"; }>; accepted: z.ZodString; replacement: z.ZodString; }, z.core.$strip>, z.ZodObject<{ kind: z.ZodLiteral<"material">; component: z.ZodEnum<{ readonly LINES: "lines"; readonly DESTINATION: "destination"; readonly DELIVERY_PROMISE: "delivery_promise"; readonly ENTITLEMENT: "entitlement"; readonly CANCELLATION_TERMS: "cancellation_terms"; readonly COMPLIANCE: "compliance"; readonly CURRENCY: "currency"; }>; }, z.core.$strip>, z.ZodObject<{ kind: z.ZodLiteral<"payment_option">; accepted_option_id: z.ZodOptional>; accepted_customer_debit_amount: z.ZodString; replacement_option_id: z.ZodOptional>; replacement_customer_debit_amount: z.ZodOptional>; }, z.core.$strip>], "kind">>; }, z.core.$loose>, z.ZodObject<{ status: z.ZodLiteral<"selection_unavailable">; intent_id: z.ZodString; lines: z.ZodArray; }, z.core.$strip>>; }, z.core.$loose>, z.ZodObject<{ status: z.ZodLiteral<"offer_ended">; intent_id: z.ZodString; }, z.core.$loose>, z.ZodObject<{ status: z.ZodLiteral<"source_unavailable">; intent_id: z.ZodString; }, z.core.$loose>], "status">; type MintPurchaseIntentRequest = z.infer; type PurchaseIntentView = z.infer; type CheckoutTermsView = z.infer; type ConfirmPurchaseIntentRequest = z.infer; type PreparePurchaseIntentRequest = z.infer; type SubmitPurchaseIntentActionRequest = z.infer; type ConfirmPurchaseIntentResponse = z.infer; declare const assertMintPurchaseIntentRequest: (value: unknown) => asserts value is { source: { kind: "cart"; cart_id: string; } | { kind: "chat"; thread_id: string; }; checkout: { customer: { name: string; email: string; phone: string; notes?: string | undefined; save_details?: boolean | undefined; }; order_type: string; address_info: { street_address?: string | undefined; apartment?: string | undefined; city?: string | undefined; region?: string | undefined; postal_code?: string | undefined; country?: string | undefined; delivery_instructions?: string | undefined; phone_for_delivery?: string | undefined; latitude?: number | undefined; longitude?: number | undefined; pickup_time?: string | undefined; guest_count?: number | undefined; seating_time?: string | undefined; seating_requests?: string | undefined; }; location_id?: string | undefined; delivery_rate_id?: string | undefined; special_instructions?: string | undefined; link_address_id?: string | undefined; link_payment_method_id?: string | undefined; metadata?: Record | undefined; pay_currency?: string | undefined; fx_quote_id?: string | undefined; use_store_credit?: boolean | undefined; voucher_code?: string | undefined; pay_deposit?: boolean | undefined; tender_preference?: { method_kind: "card"; stored_instrument_id?: string | undefined; } | { method_kind: "mobile_money"; authority: { authority_kind: "transient"; phone_number: string; network: "mtn" | "telecel" | "airtel"; } | { authority_kind: "saved_reference"; stored_instrument_id: string; }; } | undefined; }; client_intent_key: string; destination?: { address_id: string; delivery_rate_id?: string | null | undefined; } | null | undefined; } | { source: { kind: "product"; product_id: string; } | { kind: "collection"; collection_id: string; } | { kind: "sale"; sale_id: string; } | { kind: "post"; signed_handoff: string; } | { kind: "live"; signed_handoff: string; signed_beat_identity: string; }; lines: { sellable: { kind: "product" | "variant"; product_id: string; location_id: string; variant_id?: string | null | undefined; }; quantity: number; configuration: { kind: "simple"; variant_id?: string | null | undefined; add_ons?: { option_id: string; quantity: number; }[] | undefined; customer_inputs?: { field_id: string; value: unknown; field_name?: string | undefined; field_type?: string | undefined; }[] | undefined; }; offer?: { kind: "sale" | "catalogue" | "rapid"; id: string; version: string; } | null | undefined; }[]; client_intent_key: string; destination?: { address_id: string; delivery_rate_id?: string | null | undefined; } | null | undefined; }; declare const assertPurchaseIntentView: (value: unknown) => asserts value is { id: string; seller_business_id: string; revision: number; status: "cancelled" | "draft" | "open" | "expired" | "converted"; source: { kind: "product" | "cart" | "manual" | "live" | "collection" | "sale" | "post" | "chat"; source_id: string; source_version: string; seller_business_id: string; subject: { kind: "account"; account_id: string; } | { kind: "business"; business_id: string; }; binding_digest: string; store_region?: string | null | undefined; native_platform?: "ios" | "android" | null | undefined; purchase_surface?: "native_app" | "web" | undefined; social_post_id?: string | null | undefined; }; lines: { sellable: { kind: "product" | "variant"; product_id: string; location_id: string; variant_id?: string | null | undefined; }; quantity: number; id: string; ordinal: number; configuration: { kind: "simple"; variant_id?: string | null | undefined; add_ons?: { option_id: string; quantity: number; }[] | undefined; customer_inputs?: { field_id: string; value: unknown; field_name?: string | undefined; field_type?: string | undefined; }[] | undefined; } | { kind: "cart"; configuration: { [x: string]: unknown; type: "service" | "digital" | "bundle" | "composite" | "simple"; }; }; offer?: { kind: "sale" | "catalogue" | "rapid"; id: string; version: string; } | null | undefined; }[]; line_pricing: { intent_line_id: string; quantity: number; unit_price: string; line_subtotal: string; currency: string; }[]; expires_at: string; created_at: string; updated_at: string; disposition?: "execute" | "store_purchase" | "link_out" | "locked" | undefined; principal?: { kind: "account"; account_id: string; } | { kind: "business"; business_id: string; } | { kind: "guest"; } | { kind: "recognised"; verified: boolean; } | null | undefined; current_terms?: { id: string; intent_revision: number; terms_version: number; terms_digest: string; money: { currency: string; subtotal: string; discount_total: string; tax_total: string; delivery_total: string; statutory_total: string; total_obligation: string; due_now: string; rail_amount: string; store_credit_consumed: string; voucher_credit_consumed: string; }; material: { line_digest: string; destination_digest: string; delivery_promise_digest: string; entitlement_digest: string; cancellation_terms_digest: string; }; compliance: { policy_name: string; policy_version: number; lane: "commerce_core" | "native" | "store_kit" | "permitted_external" | "browse_only"; reason_code: "commerce_core" | "physical_goods_native" | "physical_world_commerce_native" | "store_kit_required" | "permitted_external_purchase" | "product_policy_unresolved" | "mixed_lane_unsupported" | "external_digital_native" | "mixed_facts_native" | "unresolved_facts_native" | "distribution_authority_unverified"; evidence_digest: string; disposition?: "execute" | "store_purchase" | "link_out" | "locked" | undefined; purchase_policy?: { policy_version: number; surface: "web" | "native_ios" | "native_android"; market_region: string; store_region?: string | null | undefined; } | null | undefined; }; payment_options: { id: string; rank: number; method_kind: "mobile_money" | "card" | "offline"; collection_mode: "request_to_pay" | "mandate_debit" | "credential_charge" | "offline_tender"; principal_amount: string; fee_amount: string; customer_debit_amount: string; currency: string; protection: { status: "protected" | "unavailable"; message: string; public_policy_version?: string | null | undefined; }; status: "expired" | "eligible" | "ineligible"; expected_next_action: "none" | "provider_approval" | "step_up"; expires_at: string; provider?: "stripe" | "paystack" | "cellulant" | "mtn_momo" | null | undefined; instrument?: { kind: "card"; brand: string; last4: string; exp_month: number; exp_year: number; } | { kind: "mobile_money"; network: string; masked_number: string; } | { kind: "erased"; } | null | undefined; }[]; valid_until: string; created_at: string; protection?: { status: "protected" | "unavailable"; message: string; public_policy_version?: string | null | undefined; } | null | undefined; } | null | undefined; converted_order_id?: string | null | undefined; }; declare const assertCheckoutTermsView: (value: unknown) => asserts value is { id: string; intent_revision: number; terms_version: number; terms_digest: string; money: { currency: string; subtotal: string; discount_total: string; tax_total: string; delivery_total: string; statutory_total: string; total_obligation: string; due_now: string; rail_amount: string; store_credit_consumed: string; voucher_credit_consumed: string; }; material: { line_digest: string; destination_digest: string; delivery_promise_digest: string; entitlement_digest: string; cancellation_terms_digest: string; }; compliance: { policy_name: string; policy_version: number; lane: "commerce_core" | "native" | "store_kit" | "permitted_external" | "browse_only"; reason_code: "commerce_core" | "physical_goods_native" | "physical_world_commerce_native" | "store_kit_required" | "permitted_external_purchase" | "product_policy_unresolved" | "mixed_lane_unsupported" | "external_digital_native" | "mixed_facts_native" | "unresolved_facts_native" | "distribution_authority_unverified"; evidence_digest: string; disposition?: "execute" | "store_purchase" | "link_out" | "locked" | undefined; purchase_policy?: { policy_version: number; surface: "web" | "native_ios" | "native_android"; market_region: string; store_region?: string | null | undefined; } | null | undefined; }; payment_options: { id: string; rank: number; method_kind: "mobile_money" | "card" | "offline"; collection_mode: "request_to_pay" | "mandate_debit" | "credential_charge" | "offline_tender"; principal_amount: string; fee_amount: string; customer_debit_amount: string; currency: string; protection: { status: "protected" | "unavailable"; message: string; public_policy_version?: string | null | undefined; }; status: "expired" | "eligible" | "ineligible"; expected_next_action: "none" | "provider_approval" | "step_up"; expires_at: string; provider?: "stripe" | "paystack" | "cellulant" | "mtn_momo" | null | undefined; instrument?: { kind: "card"; brand: string; last4: string; exp_month: number; exp_year: number; } | { kind: "mobile_money"; network: string; masked_number: string; } | { kind: "erased"; } | null | undefined; }[]; valid_until: string; created_at: string; protection?: { status: "protected" | "unavailable"; message: string; public_policy_version?: string | null | undefined; } | null | undefined; }; declare const assertConfirmPurchaseIntentRequest: (value: unknown) => asserts value is { accepted_intent_revision: number; accepted_terms_version: number; accepted_due_now: string; accepted_customer_debit_amount: string; currency: string; idempotency_key: string; payment_option_id?: string | null | undefined; }; declare const assertPreparePurchaseIntentRequest: (value: unknown) => asserts value is { expected_intent_revision: number; idempotency_key: string; checkout: { customer: { name: string; email: string; phone: string; notes?: string | undefined; save_details?: boolean | undefined; }; order_type: string; address_info: { street_address?: string | undefined; apartment?: string | undefined; city?: string | undefined; region?: string | undefined; postal_code?: string | undefined; country?: string | undefined; delivery_instructions?: string | undefined; phone_for_delivery?: string | undefined; latitude?: number | undefined; longitude?: number | undefined; pickup_time?: string | undefined; guest_count?: number | undefined; seating_time?: string | undefined; seating_requests?: string | undefined; }; location_id?: string | undefined; delivery_rate_id?: string | undefined; special_instructions?: string | undefined; link_address_id?: string | undefined; link_payment_method_id?: string | undefined; metadata?: Record | undefined; pay_currency?: string | undefined; fx_quote_id?: string | undefined; use_store_credit?: boolean | undefined; voucher_code?: string | undefined; pay_deposit?: boolean | undefined; tender_preference?: { method_kind: "card"; stored_instrument_id?: string | undefined; } | { method_kind: "mobile_money"; authority: { authority_kind: "transient"; phone_number: string; network: "mtn" | "telecel" | "airtel"; } | { authority_kind: "saved_reference"; stored_instrument_id: string; }; } | undefined; }; }; declare const assertSubmitPurchaseIntentActionRequest: (value: unknown) => asserts value is { authorization: { type: "otp"; value: string; } | { type: "pin"; value: string; } | { type: "phone"; value: string; } | { type: "birthday"; value: string; } | { type: "address"; address: string; city: string; state: string; zip_code: string; }; }; declare const assertConfirmPurchaseIntentResponse: (value: unknown) => asserts value is { [x: string]: unknown; intent_id: string; attempt_id: string; order_id: string; status: "order_created"; order_number?: string | undefined; payment_id?: string | undefined; } | { [x: string]: unknown; intent_id: string; attempt_id: string; order_id: string; status: "collection_processing"; order_number?: string | undefined; payment_id?: string | undefined; } | { [x: string]: unknown; intent_id: string; attempt_id: string; order_id: string; status: "payment_outcome_unknown"; order_number?: string | undefined; payment_id?: string | undefined; } | { [x: string]: unknown; intent_id: string; attempt_id: string; order_id: string; status: "payment_failed"; order_number?: string | undefined; payment_id?: string | undefined; } | { [x: string]: unknown; authorization_url: string; intent_id: string; attempt_id: string; order_id: string; status: "redirect_required"; order_number?: string | undefined; payment_id?: string | undefined; } | { [x: string]: unknown; provider: "stripe" | "paystack" | "cellulant" | "mtn_momo"; client_secret: string; public_key: string; intent_id: string; attempt_id: string; order_id: string; status: "card_popup_required"; provider_account_id?: string | null | undefined; order_number?: string | undefined; payment_id?: string | undefined; } | { [x: string]: unknown; authorization_type: "phone" | "otp" | "pin" | "birthday" | { address: { address: string; city: string; state: string; zip_code: string; }; }; intent_id: string; attempt_id: string; order_id: string; status: "authorization_required"; display_text?: string | undefined; order_number?: string | undefined; payment_id?: string | undefined; } | { [x: string]: unknown; status: "terms_changed"; intent_id: string; replacement: { id: string; intent_revision: number; terms_version: number; terms_digest: string; money: { currency: string; subtotal: string; discount_total: string; tax_total: string; delivery_total: string; statutory_total: string; total_obligation: string; due_now: string; rail_amount: string; store_credit_consumed: string; voucher_credit_consumed: string; }; material: { line_digest: string; destination_digest: string; delivery_promise_digest: string; entitlement_digest: string; cancellation_terms_digest: string; }; compliance: { policy_name: string; policy_version: number; lane: "commerce_core" | "native" | "store_kit" | "permitted_external" | "browse_only"; reason_code: "commerce_core" | "physical_goods_native" | "physical_world_commerce_native" | "store_kit_required" | "permitted_external_purchase" | "product_policy_unresolved" | "mixed_lane_unsupported" | "external_digital_native" | "mixed_facts_native" | "unresolved_facts_native" | "distribution_authority_unverified"; evidence_digest: string; disposition?: "execute" | "store_purchase" | "link_out" | "locked" | undefined; purchase_policy?: { policy_version: number; surface: "web" | "native_ios" | "native_android"; market_region: string; store_region?: string | null | undefined; } | null | undefined; }; payment_options: { id: string; rank: number; method_kind: "mobile_money" | "card" | "offline"; collection_mode: "request_to_pay" | "mandate_debit" | "credential_charge" | "offline_tender"; principal_amount: string; fee_amount: string; customer_debit_amount: string; currency: string; protection: { status: "protected" | "unavailable"; message: string; public_policy_version?: string | null | undefined; }; status: "expired" | "eligible" | "ineligible"; expected_next_action: "none" | "provider_approval" | "step_up"; expires_at: string; provider?: "stripe" | "paystack" | "cellulant" | "mtn_momo" | null | undefined; instrument?: { kind: "card"; brand: string; last4: string; exp_month: number; exp_year: number; } | { kind: "mobile_money"; network: string; masked_number: string; } | { kind: "erased"; } | null | undefined; }[]; valid_until: string; created_at: string; protection?: { status: "protected" | "unavailable"; message: string; public_policy_version?: string | null | undefined; } | null | undefined; }; deltas: ({ kind: "money"; component: "subtotal" | "discount_total" | "tax_total" | "delivery_total" | "statutory_total" | "total_obligation" | "due_now" | "rail_amount" | "store_credit_consumed" | "voucher_credit_consumed"; accepted: string; replacement: string; } | { kind: "material"; component: "currency" | "lines" | "destination" | "delivery_promise" | "entitlement" | "cancellation_terms" | "compliance"; } | { kind: "payment_option"; accepted_customer_debit_amount: string; accepted_option_id?: string | null | undefined; replacement_option_id?: string | null | undefined; replacement_customer_debit_amount?: string | null | undefined; })[]; } | { [x: string]: unknown; status: "selection_unavailable"; intent_id: string; lines: { line_id: string; reason: "source_unavailable" | "offer_ended" | "offer_changed" | "sellable_unavailable" | "compliance_changed" | "payment_option_changed"; }[]; } | { [x: string]: unknown; status: "offer_ended"; intent_id: string; } | { [x: string]: unknown; status: "source_unavailable"; intent_id: string; }; /** Link OTP verification wire input. `challenge_id` remains optional only for * clients talking to the bounded rolling-deployment compatibility bridge. */ declare const VerifyOtpRequestSchema: z.ZodObject<{ challenge_id: z.ZodOptional>; contact: z.ZodString; contact_type: z.ZodEnum<{ email: "email"; phone: "phone"; }>; otp_code: z.ZodString; }, z.core.$strict>; /** The authoritative response from Link OTP issuance. */ declare const RequestOtpResponseSchema: z.ZodObject<{ success: z.ZodBoolean; challenge_id: z.ZodString; message: z.ZodString; expires_in: z.ZodNumber; is_new_account: z.ZodBoolean; }, z.core.$strict>; /** * JSON Schema export — feeds OpenAPI generators, agent prompts, * codegen tooling, and CI contract-snapshot diffs. * * Uses zod 4's built-in `z.toJSONSchema()` with our registry so output * has stable `$id`, `description`, and `$defs` for clean dereferencing. * * import { exportJsonSchemas } from "@cimplify/sdk/testing"; * const schemas = exportJsonSchemas(); * // → { Brand: { $id: "Brand", ...}, Cart: {...}, ... } * * For a single schema: * * import { z } from "zod"; * import { CartSchema } from "@cimplify/sdk/testing"; * const cartJsonSchema = z.toJSONSchema(CartSchema); */ declare const PUBLIC_SCHEMAS: { readonly Brand: z.ZodObject<{ name: z.ZodString; shortName: z.ZodString; microTag: z.ZodString; description: z.ZodString; schemaType: z.ZodString; currency: z.ZodString; locale: z.ZodString; contact: z.ZodObject<{ email: z.ZodString; phone: z.ZodString; phoneTel: z.ZodString; streetAddress: z.ZodString; city: z.ZodString; countryCode: z.ZodString; hours: z.ZodOptional; }, z.core.$strip>; socials: z.ZodArray; }, z.core.$strip>>; header: z.ZodObject<{ nav: z.ZodArray>; }, z.core.$strip>; hero: z.ZodObject<{ badge: z.ZodOptional; title: z.ZodString; subtitle: z.ZodString; primaryCtaLabel: z.ZodString; secondaryCtaLabel: z.ZodOptional; secondaryCtaHref: z.ZodOptional; }, z.core.$strip>; trustItems: z.ZodOptional>>; brandStrip: z.ZodOptional; }, z.core.$strip>>; promo: z.ZodOptional; title: z.ZodString; body: z.ZodString; ctaLabel: z.ZodString; ctaHref: z.ZodString; }, z.core.$strip>>; terms: z.ZodObject<{ eyebrow: z.ZodString; title: z.ZodString; lastUpdated: z.ZodString; sections: z.ZodArray; }, z.core.$strip>]>; }, z.core.$strip>>; }, z.core.$strip>; privacy: z.ZodObject<{ eyebrow: z.ZodString; title: z.ZodString; lastUpdated: z.ZodString; sections: z.ZodArray; }, z.core.$strip>]>; }, z.core.$strip>>; }, z.core.$strip>; shipping: z.ZodObject<{ eyebrow: z.ZodString; title: z.ZodString; lastUpdated: z.ZodString; sections: z.ZodArray; }, z.core.$strip>]>; }, z.core.$strip>>; }, z.core.$strip>; returns: z.ZodObject<{ eyebrow: z.ZodString; title: z.ZodString; lastUpdated: z.ZodString; sections: z.ZodArray; }, z.core.$strip>]>; }, z.core.$strip>>; }, z.core.$strip>; accessibility: z.ZodObject<{ eyebrow: z.ZodString; title: z.ZodString; lastUpdated: z.ZodString; sections: z.ZodArray; }, z.core.$strip>]>; }, z.core.$strip>>; }, z.core.$strip>; newsletter: z.ZodObject<{ eyebrow: z.ZodOptional; title: z.ZodString; body: z.ZodString; }, z.core.$strip>; about: z.ZodObject<{ eyebrow: z.ZodOptional; title: z.ZodString; paragraphs: z.ZodArray; sections: z.ZodOptional>>; }, z.core.$strip>; faq: z.ZodObject<{ eyebrow: z.ZodOptional; title: z.ZodString; sections: z.ZodArray>; }, z.core.$strip>>; }, z.core.$strip>; account: z.ZodObject<{ loginEyebrow: z.ZodString; loginTitle: z.ZodString; loginSubtitle: z.ZodOptional; signupEyebrow: z.ZodString; signupTitle: z.ZodString; signupSubtitle: z.ZodOptional; accountEyebrow: z.ZodString; accountTitle: z.ZodString; }, z.core.$strip>; contactPage: z.ZodObject<{ eyebrow: z.ZodOptional; title: z.ZodString; body: z.ZodString; }, z.core.$strip>; trackOrder: z.ZodObject<{ eyebrow: z.ZodOptional; title: z.ZodString; body: z.ZodString; }, z.core.$strip>; footer: z.ZodObject<{ blurb: z.ZodOptional; sitemap: z.ZodOptional>; poweredBy: z.ZodOptional>; }, z.core.$strip>; llms: z.ZodObject<{ summary: z.ZodString; }, z.core.$strip>; mock: z.ZodObject<{ seed: z.ZodEnum<{ default: "default"; empty: "empty"; "reesa-storefront": "reesa-storefront"; restaurant: "restaurant"; retail: "retail"; services: "services"; grocery: "grocery"; fashion: "fashion"; pharmacy: "pharmacy"; auto: "auto"; }>; businessId: z.ZodString; }, z.core.$strip>; }, z.core.$strip>; readonly AddItemPayload: z.ZodObject<{ item_id: z.ZodString; quantity: z.ZodNumber; variant_id: z.ZodOptional; quote_id: z.ZodOptional; add_on_options: z.ZodOptional>; bundle_selections: z.ZodOptional; quantity: z.ZodNumber; scheduled_start: z.ZodOptional; scheduled_end: z.ZodOptional; }, z.core.$strip>>>; composite_selections: z.ZodOptional; source_product_id: z.ZodOptional; source_stock_id: z.ZodOptional; source_type: z.ZodOptional>; quantity: z.ZodOptional; }, z.core.$strip>>>; scheduled_start: z.ZodOptional; scheduled_end: z.ZodOptional; staff_id: z.ZodOptional; resource_id: z.ZodOptional; special_instructions: z.ZodOptional; customer_inputs: z.ZodOptional; field_type: z.ZodOptional; value: z.ZodUnknown; }, z.core.$strip>>>; billing_plan_id: z.ZodOptional; metadata: z.ZodOptional>; }, z.core.$strip>; readonly Cart: z.ZodObject<{ id: z.ZodString; business_id: z.ZodString; items: z.ZodArray; name: z.ZodString; description: z.ZodOptional; image_url: z.ZodOptional; category_id: z.ZodOptional; category_name: z.ZodOptional; is_available: z.ZodBoolean; variant_id: z.ZodOptional; variant_name: z.ZodOptional; variant_info: z.ZodOptional; price: z.ZodString; price_adjustment: z.ZodString; is_default: z.ZodBoolean; display_attributes: z.ZodOptional>>; images: z.ZodOptional>; }, z.core.$strip>>; variant_details: z.ZodOptional; properties: z.ZodRecord; }, z.core.$strip>>; base_price: z.ZodString; add_ons_price: z.ZodString; total_price: z.ZodString; item_discount_amount: z.ZodString; price_info: z.ZodObject<{ base_price: z.ZodString; final_price: z.ZodString; markup_percentage: z.ZodString; markup_amount: z.ZodString; markup_discount_percentage: z.ZodString; markup_discount_amount: z.ZodString; }, z.core.$strip>; add_on_option_ids: z.ZodArray; add_on_ids: z.ZodArray; add_on_details: z.ZodObject<{ selected_options: z.ZodArray; price_info: z.ZodOptional; }, z.core.$strip>>; total_add_on_price: z.ZodString; add_ons: z.ZodArray; is_required: z.ZodBoolean; }, z.core.$strip>>; }, z.core.$strip>; add_on_options: z.ZodArray; price: z.ZodOptional; image_url: z.ZodOptional; }, z.core.$strip>>; add_ons: z.ZodArray; price: z.ZodOptional; image_url: z.ZodOptional; }, z.core.$strip>>; }, z.core.$strip>>; scheduled_start: z.ZodOptional; scheduled_end: z.ZodOptional; staff_id: z.ZodOptional; resource_id: z.ZodOptional; service_status: z.ZodOptional>; confirmation_code: z.ZodOptional; special_instructions: z.ZodOptional; customer_inputs: z.ZodOptional; field_type: z.ZodOptional; value: z.ZodUnknown; }, z.core.$strip>>>; bundle_selections: z.ZodOptional; bundle_resolved: z.ZodOptional; }, z.core.$loose>>; composite_selections: z.ZodOptional; composite_resolved: z.ZodOptional; breakdown: z.ZodOptional; }, z.core.$strip>>; }, z.core.$loose>>; billing_plan_id: z.ZodOptional; applied_discount_ids: z.ZodArray; discount_details: z.ZodOptional; }, z.core.$strip>>; metadata: z.ZodOptional>; created_at: z.ZodUnion; updated_at: z.ZodUnion; }, z.core.$loose>>; pricing: z.ZodObject<{ subtotal: z.ZodString; total_discounts: z.ZodString; tax_amount: z.ZodString; service_charge: z.ZodString; total_price: z.ZodString; currency: z.ZodString; tax_rate: z.ZodOptional; service_charge_rate: z.ZodOptional; tax_inclusive: z.ZodBoolean; price_display_mode: z.ZodOptional>; deposit_required: z.ZodBoolean; deposit_amount: z.ZodString; }, z.core.$strip>; customer_info: z.ZodObject<{ name: z.ZodString; email: z.ZodOptional; phone: z.ZodOptional; address: z.ZodOptional; }, z.core.$strip>; created_at: z.ZodUnion; updated_at: z.ZodUnion; expires_at: z.ZodUnion; status: z.ZodString; source: z.ZodString; channel: z.ZodString; requires_delivery: z.ZodOptional; }, z.core.$loose>; readonly CartItem: z.ZodObject<{ id: z.ZodString; cart_id: z.ZodString; item_id: z.ZodString; quantity: z.ZodNumber; line_key: z.ZodString; line_type: z.ZodEnum<{ service: "service"; digital: "digital"; bundle: "bundle"; composite: "composite"; simple: "simple"; }>; name: z.ZodString; description: z.ZodOptional; image_url: z.ZodOptional; category_id: z.ZodOptional; category_name: z.ZodOptional; is_available: z.ZodBoolean; variant_id: z.ZodOptional; variant_name: z.ZodOptional; variant_info: z.ZodOptional; price: z.ZodString; price_adjustment: z.ZodString; is_default: z.ZodBoolean; display_attributes: z.ZodOptional>>; images: z.ZodOptional>; }, z.core.$strip>>; variant_details: z.ZodOptional; properties: z.ZodRecord; }, z.core.$strip>>; base_price: z.ZodString; add_ons_price: z.ZodString; total_price: z.ZodString; item_discount_amount: z.ZodString; price_info: z.ZodObject<{ base_price: z.ZodString; final_price: z.ZodString; markup_percentage: z.ZodString; markup_amount: z.ZodString; markup_discount_percentage: z.ZodString; markup_discount_amount: z.ZodString; }, z.core.$strip>; add_on_option_ids: z.ZodArray; add_on_ids: z.ZodArray; add_on_details: z.ZodObject<{ selected_options: z.ZodArray; price_info: z.ZodOptional; }, z.core.$strip>>; total_add_on_price: z.ZodString; add_ons: z.ZodArray; is_required: z.ZodBoolean; }, z.core.$strip>>; }, z.core.$strip>; add_on_options: z.ZodArray; price: z.ZodOptional; image_url: z.ZodOptional; }, z.core.$strip>>; add_ons: z.ZodArray; price: z.ZodOptional; image_url: z.ZodOptional; }, z.core.$strip>>; }, z.core.$strip>>; scheduled_start: z.ZodOptional; scheduled_end: z.ZodOptional; staff_id: z.ZodOptional; resource_id: z.ZodOptional; service_status: z.ZodOptional>; confirmation_code: z.ZodOptional; special_instructions: z.ZodOptional; customer_inputs: z.ZodOptional; field_type: z.ZodOptional; value: z.ZodUnknown; }, z.core.$strip>>>; bundle_selections: z.ZodOptional; bundle_resolved: z.ZodOptional; }, z.core.$loose>>; composite_selections: z.ZodOptional; composite_resolved: z.ZodOptional; breakdown: z.ZodOptional; }, z.core.$strip>>; }, z.core.$loose>>; billing_plan_id: z.ZodOptional; applied_discount_ids: z.ZodArray; discount_details: z.ZodOptional; }, z.core.$strip>>; metadata: z.ZodOptional>; created_at: z.ZodUnion; updated_at: z.ZodUnion; }, z.core.$loose>; readonly CartPricing: z.ZodObject<{ subtotal: z.ZodString; total_discounts: z.ZodString; tax_amount: z.ZodString; service_charge: z.ZodString; total_price: z.ZodString; currency: z.ZodString; tax_rate: z.ZodOptional; service_charge_rate: z.ZodOptional; tax_inclusive: z.ZodBoolean; price_display_mode: z.ZodOptional>; deposit_required: z.ZodBoolean; deposit_amount: z.ZodString; }, z.core.$strip>; readonly CheckoutBody: z.ZodObject<{ cart_id: z.ZodString; location_id: z.ZodOptional; customer: z.ZodObject<{ name: z.ZodString; email: z.ZodString; phone: z.ZodString; notes: z.ZodOptional; save_details: z.ZodOptional; }, z.core.$strip>; order_type: z.ZodEnum<{ readonly DELIVERY: "delivery"; readonly PICKUP: "pickup"; readonly DINE_IN: "dine-in"; readonly WALK_IN: "walk-in"; }>; address_info: z.ZodOptional>; delivery_rate_id: z.ZodOptional; payment_method: z.ZodEnum<{ readonly MOBILE_MONEY: "mobile_money"; readonly CARD: "card"; }>; mobile_money_details: z.ZodOptional>; special_instructions: z.ZodOptional; metadata: z.ZodOptional>; pay_currency: z.ZodOptional; fx_quote_id: z.ZodOptional; }, z.core.$strip>; readonly CheckoutResponse: z.ZodObject<{ order_id: z.ZodString; order_number: z.ZodString; payment_id: z.ZodOptional>; payment_status: z.ZodString; payment_reference: z.ZodOptional>; requires_authorization: z.ZodBoolean; authorization_type: z.ZodOptional, z.ZodObject<{ address: z.ZodObject<{ address: z.ZodString; city: z.ZodString; state: z.ZodString; zip_code: z.ZodString; }, z.core.$strip>; }, z.core.$strip>]>>>; next_action: z.ZodDiscriminatedUnion<[z.ZodObject<{ type: z.ZodLiteral<"none">; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"card_popup">; provider: z.ZodString; client_secret: z.ZodString; public_key: z.ZodString; provider_account_id: z.ZodOptional; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"redirect">; authorization_url: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"authorization">; authorization_type: z.ZodUnion, z.ZodObject<{ address: z.ZodObject<{ address: z.ZodString; city: z.ZodString; state: z.ZodString; zip_code: z.ZodString; }, z.core.$strip>; }, z.core.$strip>]>; display_text: z.ZodOptional>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"terms_changed">; replacement: z.ZodUnknown; deltas: z.ZodArray; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"selection_unavailable">; lines: z.ZodArray; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"poll">; }, z.core.$strip>], "type">; provider: z.ZodOptional>; authorization_url: z.ZodOptional>; display_text: z.ZodOptional>; bill_token: z.ZodOptional>; client_secret: z.ZodOptional>; public_key: z.ZodOptional>; }, z.core.$loose>; readonly VariantInfo: z.ZodObject<{ id: z.ZodString; name: z.ZodString; sku: z.ZodOptional; price: z.ZodString; price_adjustment: z.ZodString; is_default: z.ZodBoolean; display_attributes: z.ZodOptional>>; images: z.ZodOptional>; }, z.core.$strip>; readonly VerifyOtpRequest: z.ZodObject<{ challenge_id: z.ZodOptional>; contact: z.ZodString; contact_type: z.ZodEnum<{ email: "email"; phone: "phone"; }>; otp_code: z.ZodString; }, z.core.$strict>; readonly RequestOtpResponse: z.ZodObject<{ success: z.ZodBoolean; challenge_id: z.ZodString; message: z.ZodString; expires_in: z.ZodNumber; is_new_account: z.ZodBoolean; }, z.core.$strict>; readonly MintPurchaseIntentRequest: z.ZodUnion; cart_id: z.ZodString; }, z.core.$strict>, z.ZodObject<{ kind: z.ZodLiteral<"chat">; thread_id: z.ZodString; }, z.core.$strict>]>; checkout: z.ZodObject<{ customer: z.ZodObject<{ name: z.ZodString; email: z.ZodString; phone: z.ZodString; notes: z.ZodOptional; save_details: z.ZodOptional; }, z.core.$strip>; order_type: z.ZodString; address_info: z.ZodObject<{ street_address: z.ZodOptional; apartment: z.ZodOptional; city: z.ZodOptional; region: z.ZodOptional; postal_code: z.ZodOptional; country: z.ZodOptional; delivery_instructions: z.ZodOptional; phone_for_delivery: z.ZodOptional; latitude: z.ZodOptional; longitude: z.ZodOptional; pickup_time: z.ZodOptional; guest_count: z.ZodOptional; seating_time: z.ZodOptional; seating_requests: z.ZodOptional; }, z.core.$strip>; location_id: z.ZodOptional; delivery_rate_id: z.ZodOptional; special_instructions: z.ZodOptional; link_address_id: z.ZodOptional; link_payment_method_id: z.ZodOptional; metadata: z.ZodOptional>; pay_currency: z.ZodOptional; fx_quote_id: z.ZodOptional; use_store_credit: z.ZodOptional; voucher_code: z.ZodOptional; pay_deposit: z.ZodOptional; tender_preference: z.ZodOptional; stored_instrument_id: z.ZodOptional; }, z.core.$strict>, z.ZodObject<{ method_kind: z.ZodLiteral<"mobile_money">; authority: z.ZodDiscriminatedUnion<[z.ZodObject<{ authority_kind: z.ZodLiteral<"transient">; phone_number: z.ZodString; network: z.ZodEnum<{ readonly MTN: "mtn"; readonly TELECEL: "telecel"; readonly AIRTEL: "airtel"; }>; }, z.core.$strict>, z.ZodObject<{ authority_kind: z.ZodLiteral<"saved_reference">; stored_instrument_id: z.ZodString; }, z.core.$strict>], "authority_kind">; }, z.core.$strict>], "method_kind">>; }, z.core.$strip>; client_intent_key: z.ZodString; destination: z.ZodOptional>; }, z.core.$strip>>>; }, z.core.$strict>, z.ZodObject<{ source: z.ZodUnion; product_id: z.ZodString; }, z.core.$strict>, z.ZodObject<{ kind: z.ZodLiteral<"collection">; collection_id: z.ZodString; }, z.core.$strict>, z.ZodObject<{ kind: z.ZodLiteral<"sale">; sale_id: z.ZodString; }, z.core.$strict>, z.ZodObject<{ kind: z.ZodLiteral<"post">; signed_handoff: z.ZodString; }, z.core.$strict>, z.ZodObject<{ kind: z.ZodLiteral<"live">; signed_handoff: z.ZodString; signed_beat_identity: z.ZodString; }, z.core.$strict>]>; lines: z.ZodArray; product_id: z.ZodString; variant_id: z.ZodOptional>; location_id: z.ZodString; }, z.core.$strip>; quantity: z.ZodNumber; configuration: z.ZodObject<{ kind: z.ZodLiteral<"simple">; variant_id: z.ZodOptional>; add_ons: z.ZodOptional>>; customer_inputs: z.ZodOptional; field_type: z.ZodOptional; value: z.ZodUnknown; }, z.core.$strip>>>; }, z.core.$strip>; offer: z.ZodOptional; id: z.ZodString; version: z.ZodString; }, z.core.$strip>>>; }, z.core.$strip>>; client_intent_key: z.ZodString; destination: z.ZodOptional>; }, z.core.$strip>>>; }, z.core.$strict>]>; readonly PurchaseIntentView: z.ZodObject<{ disposition: z.ZodOptional>; id: z.ZodString; seller_business_id: z.ZodString; principal: z.ZodOptional; account_id: z.ZodString; }, z.core.$strict>, z.ZodObject<{ kind: z.ZodLiteral<"business">; business_id: z.ZodString; }, z.core.$strict>, z.ZodObject<{ kind: z.ZodLiteral<"guest">; }, z.core.$strict>, z.ZodObject<{ kind: z.ZodLiteral<"recognised">; verified: z.ZodBoolean; }, z.core.$strict>], "kind">>>; revision: z.ZodNumber; status: z.ZodEnum<{ readonly DRAFT: "draft"; readonly OPEN: "open"; readonly CONVERTED: "converted"; readonly CANCELLED: "cancelled"; readonly EXPIRED: "expired"; }>; source: z.ZodObject<{ store_region: z.ZodOptional>; native_platform: z.ZodOptional>>; purchase_surface: z.ZodOptional>; kind: z.ZodEnum<{ readonly PRODUCT: "product"; readonly COLLECTION: "collection"; readonly SALE: "sale"; readonly POST: "post"; readonly LIVE: "live"; readonly CART: "cart"; readonly CHAT: "chat"; readonly MANUAL: "manual"; }>; source_id: z.ZodString; social_post_id: z.ZodOptional>; source_version: z.ZodString; seller_business_id: z.ZodString; subject: z.ZodDiscriminatedUnion<[z.ZodObject<{ kind: z.ZodLiteral<"account">; account_id: z.ZodString; }, z.core.$strict>, z.ZodObject<{ kind: z.ZodLiteral<"business">; business_id: z.ZodString; }, z.core.$strict>], "kind">; binding_digest: z.ZodString; }, z.core.$strict>; lines: z.ZodArray; product_id: z.ZodString; variant_id: z.ZodOptional>; location_id: z.ZodString; }, z.core.$strip>; quantity: z.ZodNumber; offer: z.ZodOptional; id: z.ZodString; version: z.ZodString; }, z.core.$strip>>>; id: z.ZodString; ordinal: z.ZodNumber; configuration: z.ZodDiscriminatedUnion<[z.ZodObject<{ kind: z.ZodLiteral<"simple">; variant_id: z.ZodOptional>; add_ons: z.ZodOptional>>; customer_inputs: z.ZodOptional; field_type: z.ZodOptional; value: z.ZodUnknown; }, z.core.$strip>>>; }, z.core.$strip>, z.ZodObject<{ kind: z.ZodLiteral<"cart">; configuration: z.ZodObject<{ type: z.ZodEnum<{ service: "service"; digital: "digital"; bundle: "bundle"; composite: "composite"; simple: "simple"; }>; }, z.core.$loose>; }, z.core.$strip>], "kind">; }, z.core.$strip>>; line_pricing: z.ZodArray>; current_terms: z.ZodOptional; material: z.ZodObject<{ line_digest: z.ZodString; destination_digest: z.ZodString; delivery_promise_digest: z.ZodString; entitlement_digest: z.ZodString; cancellation_terms_digest: z.ZodString; }, z.core.$strip>; compliance: z.ZodObject<{ disposition: z.ZodOptional>; purchase_policy: z.ZodOptional; market_region: z.ZodString; store_region: z.ZodOptional>; }, z.core.$strip>>>; policy_name: z.ZodString; policy_version: z.ZodNumber; lane: z.ZodEnum<{ readonly COMMERCE_CORE: "commerce_core"; readonly NATIVE: "native"; readonly STORE_KIT: "store_kit"; readonly PERMITTED_EXTERNAL: "permitted_external"; readonly BROWSE_ONLY: "browse_only"; }>; reason_code: z.ZodEnum<{ readonly COMMERCE_CORE: "commerce_core"; readonly PHYSICAL_GOODS_NATIVE: "physical_goods_native"; readonly PHYSICAL_WORLD_COMMERCE_NATIVE: "physical_world_commerce_native"; readonly STORE_KIT_REQUIRED: "store_kit_required"; readonly PERMITTED_EXTERNAL_PURCHASE: "permitted_external_purchase"; readonly DISTRIBUTION_AUTHORITY_UNVERIFIED: "distribution_authority_unverified"; readonly PRODUCT_POLICY_UNRESOLVED: "product_policy_unresolved"; readonly MIXED_LANE_UNSUPPORTED: "mixed_lane_unsupported"; readonly EXTERNAL_DIGITAL_NATIVE: "external_digital_native"; readonly MIXED_FACTS_NATIVE: "mixed_facts_native"; readonly UNRESOLVED_FACTS_NATIVE: "unresolved_facts_native"; }>; evidence_digest: z.ZodString; }, z.core.$strip>; protection: z.ZodOptional; message: z.ZodString; public_policy_version: z.ZodOptional>; }, z.core.$strip>>>; payment_options: z.ZodArray; collection_mode: z.ZodEnum<{ readonly REQUEST_TO_PAY: "request_to_pay"; readonly MANDATE_DEBIT: "mandate_debit"; readonly CREDENTIAL_CHARGE: "credential_charge"; readonly OFFLINE_TENDER: "offline_tender"; }>; provider: z.ZodOptional>>; instrument: z.ZodOptional; brand: z.ZodString; last4: z.ZodString; exp_month: z.ZodNumber; exp_year: z.ZodNumber; }, z.core.$strip>, z.ZodObject<{ kind: z.ZodLiteral<"mobile_money">; network: z.ZodString; masked_number: z.ZodString; }, z.core.$strip>, z.ZodObject<{ kind: z.ZodLiteral<"erased">; }, z.core.$strip>], "kind">>>; principal_amount: z.ZodString; fee_amount: z.ZodString; customer_debit_amount: z.ZodString; currency: z.ZodString; protection: z.ZodObject<{ status: z.ZodEnum<{ readonly PROTECTED: "protected"; readonly UNAVAILABLE: "unavailable"; }>; message: z.ZodString; public_policy_version: z.ZodOptional>; }, z.core.$strip>; status: z.ZodEnum<{ readonly ELIGIBLE: "eligible"; readonly INELIGIBLE: "ineligible"; readonly EXPIRED: "expired"; }>; expected_next_action: z.ZodEnum<{ readonly NONE: "none"; readonly PROVIDER_APPROVAL: "provider_approval"; readonly STEP_UP: "step_up"; }>; expires_at: z.ZodISODateTime; }, z.core.$strip>>; valid_until: z.ZodISODateTime; created_at: z.ZodISODateTime; }, z.core.$strict>>>; converted_order_id: z.ZodOptional>; expires_at: z.ZodISODateTime; created_at: z.ZodISODateTime; updated_at: z.ZodISODateTime; }, z.core.$strict>; readonly CheckoutTermsView: z.ZodObject<{ id: z.ZodString; intent_revision: z.ZodNumber; terms_version: z.ZodNumber; terms_digest: z.ZodString; money: z.ZodObject<{ currency: z.ZodString; subtotal: z.ZodString; discount_total: z.ZodString; tax_total: z.ZodString; delivery_total: z.ZodString; statutory_total: z.ZodString; total_obligation: z.ZodString; due_now: z.ZodString; rail_amount: z.ZodString; store_credit_consumed: z.ZodString; voucher_credit_consumed: z.ZodString; }, z.core.$strip>; material: z.ZodObject<{ line_digest: z.ZodString; destination_digest: z.ZodString; delivery_promise_digest: z.ZodString; entitlement_digest: z.ZodString; cancellation_terms_digest: z.ZodString; }, z.core.$strip>; compliance: z.ZodObject<{ disposition: z.ZodOptional>; purchase_policy: z.ZodOptional; market_region: z.ZodString; store_region: z.ZodOptional>; }, z.core.$strip>>>; policy_name: z.ZodString; policy_version: z.ZodNumber; lane: z.ZodEnum<{ readonly COMMERCE_CORE: "commerce_core"; readonly NATIVE: "native"; readonly STORE_KIT: "store_kit"; readonly PERMITTED_EXTERNAL: "permitted_external"; readonly BROWSE_ONLY: "browse_only"; }>; reason_code: z.ZodEnum<{ readonly COMMERCE_CORE: "commerce_core"; readonly PHYSICAL_GOODS_NATIVE: "physical_goods_native"; readonly PHYSICAL_WORLD_COMMERCE_NATIVE: "physical_world_commerce_native"; readonly STORE_KIT_REQUIRED: "store_kit_required"; readonly PERMITTED_EXTERNAL_PURCHASE: "permitted_external_purchase"; readonly DISTRIBUTION_AUTHORITY_UNVERIFIED: "distribution_authority_unverified"; readonly PRODUCT_POLICY_UNRESOLVED: "product_policy_unresolved"; readonly MIXED_LANE_UNSUPPORTED: "mixed_lane_unsupported"; readonly EXTERNAL_DIGITAL_NATIVE: "external_digital_native"; readonly MIXED_FACTS_NATIVE: "mixed_facts_native"; readonly UNRESOLVED_FACTS_NATIVE: "unresolved_facts_native"; }>; evidence_digest: z.ZodString; }, z.core.$strip>; protection: z.ZodOptional; message: z.ZodString; public_policy_version: z.ZodOptional>; }, z.core.$strip>>>; payment_options: z.ZodArray; collection_mode: z.ZodEnum<{ readonly REQUEST_TO_PAY: "request_to_pay"; readonly MANDATE_DEBIT: "mandate_debit"; readonly CREDENTIAL_CHARGE: "credential_charge"; readonly OFFLINE_TENDER: "offline_tender"; }>; provider: z.ZodOptional>>; instrument: z.ZodOptional; brand: z.ZodString; last4: z.ZodString; exp_month: z.ZodNumber; exp_year: z.ZodNumber; }, z.core.$strip>, z.ZodObject<{ kind: z.ZodLiteral<"mobile_money">; network: z.ZodString; masked_number: z.ZodString; }, z.core.$strip>, z.ZodObject<{ kind: z.ZodLiteral<"erased">; }, z.core.$strip>], "kind">>>; principal_amount: z.ZodString; fee_amount: z.ZodString; customer_debit_amount: z.ZodString; currency: z.ZodString; protection: z.ZodObject<{ status: z.ZodEnum<{ readonly PROTECTED: "protected"; readonly UNAVAILABLE: "unavailable"; }>; message: z.ZodString; public_policy_version: z.ZodOptional>; }, z.core.$strip>; status: z.ZodEnum<{ readonly ELIGIBLE: "eligible"; readonly INELIGIBLE: "ineligible"; readonly EXPIRED: "expired"; }>; expected_next_action: z.ZodEnum<{ readonly NONE: "none"; readonly PROVIDER_APPROVAL: "provider_approval"; readonly STEP_UP: "step_up"; }>; expires_at: z.ZodISODateTime; }, z.core.$strip>>; valid_until: z.ZodISODateTime; created_at: z.ZodISODateTime; }, z.core.$strict>; readonly ConfirmPurchaseIntentRequest: z.ZodObject<{ accepted_intent_revision: z.ZodNumber; accepted_terms_version: z.ZodNumber; accepted_due_now: z.ZodString; accepted_customer_debit_amount: z.ZodString; currency: z.ZodString; payment_option_id: z.ZodOptional>; idempotency_key: z.ZodString; }, z.core.$strict>; readonly PreparePurchaseIntentRequest: z.ZodObject<{ expected_intent_revision: z.ZodNumber; idempotency_key: z.ZodString; checkout: z.ZodObject<{ customer: z.ZodObject<{ name: z.ZodString; email: z.ZodString; phone: z.ZodString; notes: z.ZodOptional; save_details: z.ZodOptional; }, z.core.$strip>; order_type: z.ZodString; address_info: z.ZodObject<{ street_address: z.ZodOptional; apartment: z.ZodOptional; city: z.ZodOptional; region: z.ZodOptional; postal_code: z.ZodOptional; country: z.ZodOptional; delivery_instructions: z.ZodOptional; phone_for_delivery: z.ZodOptional; latitude: z.ZodOptional; longitude: z.ZodOptional; pickup_time: z.ZodOptional; guest_count: z.ZodOptional; seating_time: z.ZodOptional; seating_requests: z.ZodOptional; }, z.core.$strip>; location_id: z.ZodOptional; delivery_rate_id: z.ZodOptional; special_instructions: z.ZodOptional; link_address_id: z.ZodOptional; link_payment_method_id: z.ZodOptional; metadata: z.ZodOptional>; pay_currency: z.ZodOptional; fx_quote_id: z.ZodOptional; use_store_credit: z.ZodOptional; voucher_code: z.ZodOptional; pay_deposit: z.ZodOptional; tender_preference: z.ZodOptional; stored_instrument_id: z.ZodOptional; }, z.core.$strict>, z.ZodObject<{ method_kind: z.ZodLiteral<"mobile_money">; authority: z.ZodDiscriminatedUnion<[z.ZodObject<{ authority_kind: z.ZodLiteral<"transient">; phone_number: z.ZodString; network: z.ZodEnum<{ readonly MTN: "mtn"; readonly TELECEL: "telecel"; readonly AIRTEL: "airtel"; }>; }, z.core.$strict>, z.ZodObject<{ authority_kind: z.ZodLiteral<"saved_reference">; stored_instrument_id: z.ZodString; }, z.core.$strict>], "authority_kind">; }, z.core.$strict>], "method_kind">>; }, z.core.$strip>; }, z.core.$strict>; readonly SubmitPurchaseIntentActionRequest: z.ZodObject<{ authorization: z.ZodDiscriminatedUnion<[z.ZodObject<{ type: z.ZodLiteral<"otp">; value: z.ZodString; }, z.core.$strict>, z.ZodObject<{ type: z.ZodLiteral<"pin">; value: z.ZodString; }, z.core.$strict>, z.ZodObject<{ type: z.ZodLiteral<"phone">; value: z.ZodString; }, z.core.$strict>, z.ZodObject<{ type: z.ZodLiteral<"birthday">; value: z.ZodString; }, z.core.$strict>, z.ZodObject<{ type: z.ZodLiteral<"address">; address: z.ZodString; city: z.ZodString; state: z.ZodString; zip_code: z.ZodString; }, z.core.$strict>], "type">; }, z.core.$strict>; readonly ConfirmPurchaseIntentResponse: z.ZodDiscriminatedUnion<[z.ZodObject<{ intent_id: z.ZodString; attempt_id: z.ZodString; order_id: z.ZodString; order_number: z.ZodOptional; payment_id: z.ZodOptional; status: z.ZodLiteral<"order_created">; }, z.core.$loose>, z.ZodObject<{ intent_id: z.ZodString; attempt_id: z.ZodString; order_id: z.ZodString; order_number: z.ZodOptional; payment_id: z.ZodOptional; status: z.ZodLiteral<"collection_processing">; }, z.core.$loose>, z.ZodObject<{ intent_id: z.ZodString; attempt_id: z.ZodString; order_id: z.ZodString; order_number: z.ZodOptional; payment_id: z.ZodOptional; status: z.ZodLiteral<"payment_outcome_unknown">; }, z.core.$loose>, z.ZodObject<{ intent_id: z.ZodString; attempt_id: z.ZodString; order_id: z.ZodString; order_number: z.ZodOptional; payment_id: z.ZodOptional; status: z.ZodLiteral<"payment_failed">; }, z.core.$loose>, z.ZodObject<{ authorization_url: z.ZodString; intent_id: z.ZodString; attempt_id: z.ZodString; order_id: z.ZodString; order_number: z.ZodOptional; payment_id: z.ZodOptional; status: z.ZodLiteral<"redirect_required">; }, z.core.$loose>, z.ZodObject<{ provider: z.ZodEnum<{ readonly STRIPE: "stripe"; readonly PAYSTACK: "paystack"; readonly CELLULANT: "cellulant"; readonly MTN_MOMO: "mtn_momo"; }>; client_secret: z.ZodString; public_key: z.ZodString; provider_account_id: z.ZodOptional>; intent_id: z.ZodString; attempt_id: z.ZodString; order_id: z.ZodString; order_number: z.ZodOptional; payment_id: z.ZodOptional; status: z.ZodLiteral<"card_popup_required">; }, z.core.$loose>, z.ZodObject<{ authorization_type: z.ZodUnion, z.ZodObject<{ address: z.ZodObject<{ address: z.ZodString; city: z.ZodString; state: z.ZodString; zip_code: z.ZodString; }, z.core.$strip>; }, z.core.$strip>]>; display_text: z.ZodOptional; intent_id: z.ZodString; attempt_id: z.ZodString; order_id: z.ZodString; order_number: z.ZodOptional; payment_id: z.ZodOptional; status: z.ZodLiteral<"authorization_required">; }, z.core.$loose>, z.ZodObject<{ status: z.ZodLiteral<"terms_changed">; intent_id: z.ZodString; replacement: z.ZodObject<{ id: z.ZodString; intent_revision: z.ZodNumber; terms_version: z.ZodNumber; terms_digest: z.ZodString; money: z.ZodObject<{ currency: z.ZodString; subtotal: z.ZodString; discount_total: z.ZodString; tax_total: z.ZodString; delivery_total: z.ZodString; statutory_total: z.ZodString; total_obligation: z.ZodString; due_now: z.ZodString; rail_amount: z.ZodString; store_credit_consumed: z.ZodString; voucher_credit_consumed: z.ZodString; }, z.core.$strip>; material: z.ZodObject<{ line_digest: z.ZodString; destination_digest: z.ZodString; delivery_promise_digest: z.ZodString; entitlement_digest: z.ZodString; cancellation_terms_digest: z.ZodString; }, z.core.$strip>; compliance: z.ZodObject<{ disposition: z.ZodOptional>; purchase_policy: z.ZodOptional; market_region: z.ZodString; store_region: z.ZodOptional>; }, z.core.$strip>>>; policy_name: z.ZodString; policy_version: z.ZodNumber; lane: z.ZodEnum<{ readonly COMMERCE_CORE: "commerce_core"; readonly NATIVE: "native"; readonly STORE_KIT: "store_kit"; readonly PERMITTED_EXTERNAL: "permitted_external"; readonly BROWSE_ONLY: "browse_only"; }>; reason_code: z.ZodEnum<{ readonly COMMERCE_CORE: "commerce_core"; readonly PHYSICAL_GOODS_NATIVE: "physical_goods_native"; readonly PHYSICAL_WORLD_COMMERCE_NATIVE: "physical_world_commerce_native"; readonly STORE_KIT_REQUIRED: "store_kit_required"; readonly PERMITTED_EXTERNAL_PURCHASE: "permitted_external_purchase"; readonly DISTRIBUTION_AUTHORITY_UNVERIFIED: "distribution_authority_unverified"; readonly PRODUCT_POLICY_UNRESOLVED: "product_policy_unresolved"; readonly MIXED_LANE_UNSUPPORTED: "mixed_lane_unsupported"; readonly EXTERNAL_DIGITAL_NATIVE: "external_digital_native"; readonly MIXED_FACTS_NATIVE: "mixed_facts_native"; readonly UNRESOLVED_FACTS_NATIVE: "unresolved_facts_native"; }>; evidence_digest: z.ZodString; }, z.core.$strip>; protection: z.ZodOptional; message: z.ZodString; public_policy_version: z.ZodOptional>; }, z.core.$strip>>>; payment_options: z.ZodArray; collection_mode: z.ZodEnum<{ readonly REQUEST_TO_PAY: "request_to_pay"; readonly MANDATE_DEBIT: "mandate_debit"; readonly CREDENTIAL_CHARGE: "credential_charge"; readonly OFFLINE_TENDER: "offline_tender"; }>; provider: z.ZodOptional>>; instrument: z.ZodOptional; brand: z.ZodString; last4: z.ZodString; exp_month: z.ZodNumber; exp_year: z.ZodNumber; }, z.core.$strip>, z.ZodObject<{ kind: z.ZodLiteral<"mobile_money">; network: z.ZodString; masked_number: z.ZodString; }, z.core.$strip>, z.ZodObject<{ kind: z.ZodLiteral<"erased">; }, z.core.$strip>], "kind">>>; principal_amount: z.ZodString; fee_amount: z.ZodString; customer_debit_amount: z.ZodString; currency: z.ZodString; protection: z.ZodObject<{ status: z.ZodEnum<{ readonly PROTECTED: "protected"; readonly UNAVAILABLE: "unavailable"; }>; message: z.ZodString; public_policy_version: z.ZodOptional>; }, z.core.$strip>; status: z.ZodEnum<{ readonly ELIGIBLE: "eligible"; readonly INELIGIBLE: "ineligible"; readonly EXPIRED: "expired"; }>; expected_next_action: z.ZodEnum<{ readonly NONE: "none"; readonly PROVIDER_APPROVAL: "provider_approval"; readonly STEP_UP: "step_up"; }>; expires_at: z.ZodISODateTime; }, z.core.$strip>>; valid_until: z.ZodISODateTime; created_at: z.ZodISODateTime; }, z.core.$strict>; deltas: z.ZodArray; component: z.ZodEnum<{ readonly SUBTOTAL: "subtotal"; readonly DISCOUNT_TOTAL: "discount_total"; readonly TAX_TOTAL: "tax_total"; readonly DELIVERY_TOTAL: "delivery_total"; readonly STATUTORY_TOTAL: "statutory_total"; readonly TOTAL_OBLIGATION: "total_obligation"; readonly DUE_NOW: "due_now"; readonly RAIL_AMOUNT: "rail_amount"; readonly STORE_CREDIT_CONSUMED: "store_credit_consumed"; readonly VOUCHER_CREDIT_CONSUMED: "voucher_credit_consumed"; }>; accepted: z.ZodString; replacement: z.ZodString; }, z.core.$strip>, z.ZodObject<{ kind: z.ZodLiteral<"material">; component: z.ZodEnum<{ readonly LINES: "lines"; readonly DESTINATION: "destination"; readonly DELIVERY_PROMISE: "delivery_promise"; readonly ENTITLEMENT: "entitlement"; readonly CANCELLATION_TERMS: "cancellation_terms"; readonly COMPLIANCE: "compliance"; readonly CURRENCY: "currency"; }>; }, z.core.$strip>, z.ZodObject<{ kind: z.ZodLiteral<"payment_option">; accepted_option_id: z.ZodOptional>; accepted_customer_debit_amount: z.ZodString; replacement_option_id: z.ZodOptional>; replacement_customer_debit_amount: z.ZodOptional>; }, z.core.$strip>], "kind">>; }, z.core.$loose>, z.ZodObject<{ status: z.ZodLiteral<"selection_unavailable">; intent_id: z.ZodString; lines: z.ZodArray; }, z.core.$strip>>; }, z.core.$loose>, z.ZodObject<{ status: z.ZodLiteral<"offer_ended">; intent_id: z.ZodString; }, z.core.$loose>, z.ZodObject<{ status: z.ZodLiteral<"source_unavailable">; intent_id: z.ZodString; }, z.core.$loose>], "status">; }; type PublicSchemaName = keyof typeof PUBLIC_SCHEMAS; /** * Export all public schemas as JSON Schema (Draft 2020-12). Handy for * a CI contract-snapshot — diff `schemas.json` against the Rust * backend's emitted `openapi.json` to catch drift at PR time. */ declare function exportJsonSchemas(): Record>; /** * Read every schema currently in the cimplifyRegistry along with its * metadata. Useful for tooling that wants to discover available * schemas dynamically (e.g. an agent prompt generator). */ declare function listRegisteredSchemas(): Array<{ schema: z.ZodType; meta: CimplifySchemaMeta; }>; export { type AddItemPayload, AddItemPayloadSchema, AddOnDetailsSchema, AddOnGroupDetailsSchema, AddOnInDetailsSchema, AddOnOptionDetailsSchema, AuthorizationTypeSchema, type Brand, BrandContactSchema, BrandFaqSchema, BrandHeroSchema, BrandNavLinkSchema, BrandPolicyPageSchema, BrandPolicySectionSchema, BrandSchema, BrandSocialSchema, BundleResolvedSchema, BundleSelectionInputSchema, type Cart, type CartItem, CartItemSchema, CartPricingSchema, CartSchema, type CheckoutBody, CheckoutBodySchema, CheckoutCustomerSchema, type CheckoutResponse, CheckoutResponseSchema, type CheckoutTermsView, CheckoutTermsViewSchema, ChosenPriceSchema, type CimplifySchemaMeta, CompositeResolvedSchema, CompositeSelectionInputSchema, type ConfirmPurchaseIntentRequest, ConfirmPurchaseIntentRequestSchema, type ConfirmPurchaseIntentResponse, ConfirmPurchaseIntentResponseSchema, CountryCodeSchema, CurrencyCodeSchema, CustomerInputValueSchema, DiscountDetailsSchema, IsoDateTimeSchema, LineTypeSchema, LocaleSchema, type MintPurchaseIntentRequest, MintPurchaseIntentRequestSchema, MoneyLooseSchema, MoneySchema, NextActionSchema, PhoneE164Schema, type PreparePurchaseIntentRequest, PreparePurchaseIntentRequestSchema, ProductTypeSchema, type PublicSchemaName, PurchaseIntentSourceInputSchema, PurchaseIntentTenderPreferenceSchema, type PurchaseIntentView, PurchaseIntentViewSchema, RequestOtpResponseSchema, SchemaViolationError, SeedNameSchema, SelectedAddOnOptionSchema, ServiceStatusSchema, type SubmitPurchaseIntentActionRequest, SubmitPurchaseIntentActionRequestSchema, TaxPriceDisplayModeSchema, TimestampSchema, VariantDetailsSchema, VariantDisplayAttributeSchema, VariantInfoSchema, VerifyOtpRequestSchema, assertAddItemPayload, assertBrand, assertCart, assertCartItem, assertCheckoutBody, assertCheckoutResponse, assertCheckoutTermsView, assertConfirmPurchaseIntentRequest, assertConfirmPurchaseIntentResponse, assertMintPurchaseIntentRequest, assertPreparePurchaseIntentRequest, assertPurchaseIntentView, assertSubmitPurchaseIntentActionRequest, cimplifyRegistry, exportJsonSchemas, listRegisteredSchemas, makeAssertion, registerSchema };