/** * @license * Copyright 2026 Aglyn LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ /** A billing address, in the words the billing profile takes it. */ export interface BillingAddressValue { name: string; line1: string; line2: string; city: string; state: string; postalCode: string; country: string; } export interface BillingAddressFormProps { /** Hand back the address; the server saves it and says whether it took. */ onConfirmed: (address: BillingAddressValue) => Promise | void; onCancel: () => void; } /** * A billing address in Stripe's own Address Element, in our theme, for a * purchase that needs one before it can be taxed. It holds no card data, and * the address goes to the same `set-billing-address` action Billing's own card * uses, so the two cannot disagree. */ export default function BillingAddressFormComponent(props: BillingAddressFormProps): import("react").JSX.Element;