import { a as createCustomFieldValues, c as validateCustomFields, i as buildCustomFieldAnswers, n as CustomFieldValues, o as getCheckoutCustomFields, r as CustomFields, s as reconcileCustomFieldValues, t as CustomField } from "./custom-fields.js"; import { ComponentProps, ReactNode, RefObject } from "react"; import { LockerverseCheckoutEstimate, LockerversePreparedCheckout } from "@lockerverse/sdk/checkout"; //#region src/form-field.d.ts declare function FieldError({ className, error, id }: { className?: string; error: string | undefined; id: string; }): import("react").JSX.Element | null; declare function FormField({ children, error, errorId, id, label }: { children: ReactNode; error?: string | undefined; errorId?: string | undefined; id: string; label: string; }): import("react").JSX.Element; type TextFieldProps$1 = ComponentProps<"input"> & { error?: string | undefined; errorId?: string | undefined; id: string; label: string; }; declare function TextField({ className, error, errorId, id, label, ...inputProps }: TextFieldProps$1): import("react").JSX.Element; declare function EmailField(props: Omit): import("react").JSX.Element; /** Native checkbox semantics with the shared SDK control appearance. */ declare function Checkbox({ className, ...props }: Omit, "type">): import("react").JSX.Element; //#endregion //#region src/payment-summary.d.ts declare function PaymentSummary({ quote, displayedTipCents, displayedTotalCents, displayedBaseCents }: { displayedBaseCents?: number; displayedTipCents?: number; displayedTotalCents?: number; quote: LockerverseCheckoutEstimate | LockerversePreparedCheckout; }): import("react").JSX.Element; //#endregion //#region src/phone.d.ts declare const PHONE_COUNTRIES: readonly [{ readonly callingCode: "+1"; readonly label: "🇺🇸 +1"; readonly value: "US"; }, { readonly callingCode: "+52"; readonly label: "🇲🇽 +52"; readonly value: "MX"; }, { readonly callingCode: "+380"; readonly label: "🇺🇦 +380"; readonly value: "UA"; }, { readonly callingCode: "+48"; readonly label: "🇵🇱 +48"; readonly value: "PL"; }, { readonly callingCode: "+1"; readonly label: "🇨🇦 +1"; readonly value: "CA"; }, { readonly callingCode: "+49"; readonly label: "🇩🇪 +49"; readonly value: "DE"; }, { readonly callingCode: "+44"; readonly label: "🇬🇧 +44"; readonly value: "GB"; }, { readonly callingCode: "+46"; readonly label: "🇸🇪 +46"; readonly value: "SE"; }, { readonly callingCode: "+358"; readonly label: "🇫🇮 +358"; readonly value: "FI"; }, { readonly callingCode: "+1"; readonly label: "🇵🇷 +1"; readonly value: "PR"; }]; type PhoneCountry = (typeof PHONE_COUNTRIES)[number]["value"]; declare function getInternationalPhone(phone: string, country: string): string; //#endregion //#region src/phone-field.d.ts type PhoneInputValue = { value: string; country: string; }; type PhoneInputProps = { country: string; disabled?: boolean | undefined; error?: string | boolean | undefined; errorId?: string | undefined; id: string; inputRef?: RefObject | undefined; name?: string | undefined; onChange: (value: PhoneInputValue) => void; placeholder?: string | undefined; required?: boolean | undefined; value: string; }; /** Controlled raw input. The caller validates and normalizes it on submission. */ declare function PhoneInput({ id, name, value, onChange, country, required, disabled, inputRef, error, errorId, placeholder }: PhoneInputProps): import("react").JSX.Element; //#endregion //#region src/payment-primitives-entry.d.ts type CheckboxProps = ComponentProps; type CustomFieldProps = ComponentProps; type CustomFieldsProps = ComponentProps; type EmailFieldProps = ComponentProps; type FieldErrorProps = ComponentProps; type FormFieldProps = ComponentProps; type PaymentSummaryProps = ComponentProps; type TextFieldProps = ComponentProps; //#endregion export { Checkbox, CheckboxProps, CustomField, CustomFieldProps, type CustomFieldValues, CustomFields, CustomFieldsProps, EmailField, EmailFieldProps, FieldError, FieldErrorProps, FormField, FormFieldProps, PaymentSummary, PaymentSummaryProps, type PhoneCountry, PhoneInput, type PhoneInputProps, type PhoneInputValue, TextField, TextFieldProps, buildCustomFieldAnswers, createCustomFieldValues, getCheckoutCustomFields, getInternationalPhone, reconcileCustomFieldValues, validateCustomFields }; //# sourceMappingURL=payment-primitives.d.ts.map