import { ExpandObject } from 'xmlbuilder2/lib/interfaces'; import { Logger } from '../logger.interface'; import { Invoice } from './invoice.interface'; export type FileInfo = { buffer: Uint8Array; filename: string; mimetype: string; id?: string; description?: string; }; export type InvoiceServiceOptions = { format: string; spreadsheet?: FileInfo; pdf?: FileInfo; lang: string; attachments?: FileInfo[]; embedPDF?: boolean; libreOfficePath?: string; noWarnings?: boolean; postProcessor?: (data: ExpandObject) => Promise; }; export declare class InvoiceService { private readonly logger; private readonly formatFactoryService; private readonly validationService; constructor(logger: Logger); generate(input: Invoice, options: InvoiceServiceOptions): Promise; private deprecationWarning; }