UNPKG

@hv-kit/hexpress

Version:

facilitates typescript backend development with express

16 lines 941 B
import { Response } from 'express'; import { ExportDatas } from '../interfaces/struct.interface'; declare function createFilenameExport(filename: string, typeType: string): string; export declare function ExportToCSV(res: Response, datas: ExportDatas, lang: 'en' | 'fr'): Promise<void>; export declare function ExportToPDF_1(res: Response, datas: ExportDatas, lang: 'en' | 'fr'): Promise<void>; export declare function ExportToExcel_1(res: Response, datas: ExportDatas, lang: 'en' | 'fr'): Promise<void>; export declare function ExportToJSON(res: Response, datas: ExportDatas, lang: 'en' | 'fr'): Promise<void>; declare const _default: { createFilenameExport: typeof createFilenameExport; ExportToCSV: typeof ExportToCSV; ExportToPDF_1: typeof ExportToPDF_1; ExportToExcel_1: typeof ExportToExcel_1; ExportToJSON: typeof ExportToJSON; }; export default _default; //# sourceMappingURL=export_functs.d.ts.map