import { AutoEncoder } from '@simonbackx/simple-encoding'; import { STInvoice } from '../billing/STInvoice.js'; export declare enum StripePayoutItemType { Invoice = "Invoice", StripeFees = "StripeFees", StripeReserved = "StripeReserved" } export declare class StripePayoutItem extends AutoEncoder { name: string; type: StripePayoutItemType; amount: number; description: string; invoices: STInvoice[]; } export declare class StripePayout extends AutoEncoder { id: string; amount: number; arrivalDate: Date; statementDescriptor: string; } export declare class StripePayoutBreakdown extends AutoEncoder { payout: StripePayout; items: StripePayoutItem[]; /** * Whether the payout amout matches the sum of the items */ get isValid(): boolean; isComplete(payoutExport: StripePayoutExport): boolean; } export declare class StripePayoutExport extends AutoEncoder { /** * All fetched payouts (we need to fetch more payouts than requested in order to complete all information on each invoice, because an invoice might have been paid out in other payouts than requested) */ payouts: StripePayoutBreakdown[]; start: Date; end: Date; get includedPayouts(): StripePayoutBreakdown[]; /** * All payouts that only have invoices that are completely paid out in this export */ get completePayouts(): StripePayoutBreakdown[]; get totalPaidOut(): number; get totalStripeFees(): number; get totalStripeReserved(): number; get totalInvoices(): number; get totalVAT(): number; get net(): number; get isValid(): boolean; } //# sourceMappingURL=StripePayoutExport.d.ts.map