import { VoidInvoiceBody } from './invoiceDetailPayload'; /** * Whether an invoice falls before the current month. Voiding one of those * leaves a hole in a closed period, which is why the adjustment credit note is * offered — and defaulted on — for them. */ export declare const isBackdatedInvoiceDate: (invoiceDate: string, referenceDate?: Date) => boolean; /** Whether the void dialog should pre-tick "create adjustment credit note". */ export declare const shouldDefaultAdjustmentCreditNote: (invoiceDate: string, referenceDate?: Date) => boolean; /** The request body for the void action, given the user's credit-note choice. */ export declare const buildVoidInvoiceSubmitBody: (createAdjustmentCreditNote: boolean, referenceDate?: Date) => VoidInvoiceBody;