export interface VatSplit { netMinor: number; vatMinor: number; source: "stripe-tax" | "rate"; /** Set when a Stripe tax line was present but disagreed with the configured rate. */ mismatch?: { ratedVatMinor: number; stripeVatMinor: number; }; } /** * @param grossMinor VAT-inclusive amount the buyer paid, in minor units. * @param rate Configured VAT rate, e.g. 0.24. * @param stripeTaxMinor VAT recorded by Stripe Tax for this charge, or null. */ export declare function splitVat(grossMinor: number, rate: number, stripeTaxMinor?: number | null): VatSplit;