import { Invoice } from './invoice.interface';
import { Logger } from '../logger.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;
};
export declare class InvoiceService {
    private readonly logger;
    private readonly formatFactoryService;
    private readonly validator;
    private readonly validationService;
    constructor(logger: Logger);
    generate(input: Invoice, options: InvoiceServiceOptions): Promise<string | Uint8Array>;
}
