UNPKG

datainout

Version:

Import and reports data

14 lines (11 loc) 554 B
import { pathReport, pathImport } from '../helpers/path-file.cjs'; import '../common/types/config.type.cjs'; declare abstract class TemplateGenerator { protected templatePath: string; protected functionPathFormat: typeof pathReport | typeof pathImport; constructor(templatePath: string, functionPathFormat: typeof pathReport | typeof pathImport); abstract generate(buffer: Buffer): Promise<any>; abstract generate(fileSample: string): Promise<any>; abstract generate(arg: unknown): Promise<any>; } export { TemplateGenerator };