import type { BillingAdapter } from "./types.js"; export type CustomerTaxId = { id: string; /** Stripe's `tax_id.type`, e.g. "eu_vat". */ type: string; value: string; /** "pending" | "verified" | "unverified" | "unavailable", when Stripe checks. */ verification: string | null; /** Registered name Stripe got back from the tax authority, when it checks. */ verifiedName: string | null; }; /** The customer's tax ids, newest first. Empty when billing never started. */ export declare function listCustomerTaxIds(adapter: BillingAdapter, orgId: string): Promise; /** * Replace the customer's tax id with this one, or remove it when value is empty. * * Singular on purpose: Stripe allows several, but an invoice shows them all and * a settings screen that asks for "your tax id" implies one. Keeping it to one * also means this can be idempotent — the old ids go, the new one arrives — * instead of quietly accumulating duplicates every time someone corrects a typo. */ export declare function setCustomerTaxId(adapter: BillingAdapter, orgId: string, input: { type: string; value: string; } | null): Promise; //# sourceMappingURL=tax-ids.d.ts.map