datainout
Version:
Import and reports data
13 lines (10 loc) • 370 B
TypeScript
import { IExporter } from './IExporter.js';
declare class PdfExporter implements IExporter {
private templatePath;
constructor(templatePath: string);
write(reportPath: string, data: any, opts?: any): Promise<void>;
toBuffer(data: any, opts?: any): Promise<Buffer>;
private genTemplate;
streamTo(...args: any[]): void;
}
export { PdfExporter };