UNPKG

datainout

Version:

Import and reports data

14 lines (11 loc) 552 B
import { pathReport, pathImport } from '../helpers/path-file.js'; import '../common/types/config.type.js'; 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 };