8 lines
392 B
TypeScript

import type { Invoice } from "../../contract";
export interface TransformInvoiceOptions {
defaultCurrencyCode?: string;
defaultCurrencySymbol?: string;
}
export declare function transformWhmcsInvoice(rawInvoice: unknown, options?: TransformInvoiceOptions): Invoice;
export declare function transformWhmcsInvoices(rawInvoices: unknown[], options?: TransformInvoiceOptions): Invoice[];