import { DatatypeModule } from "../../modules/datatype"; import { DatasetSchema } from "../dataset-resolver/interfaces/dataset-schema"; import { DumpConfig, FileConfig } from "../export/interfaces/export"; import { ChacaUtils } from "../utils"; import { DumpFile } from "../export/generators/generator/generator"; export declare class Dataset { private readonly schemas; private readonly utils; private readonly datatypeModule; constructor(schemas: DatasetSchema[], utils: ChacaUtils, datatypeModule: DatatypeModule); /** * Generates and serializes dataset data as a specific file format * * @param props.filename name for the file * @param props.format file extension (`'java'` | `'csv'` | `'typescript'` | `'json'` | `'javascript'` | `'yaml'` | `'postgresql'` | `'python'`) * @param config.verbose show log in console progretion */ transform(props: DumpConfig): Promise; /** * Generate and export data from relational schemas * @param schemas Array with the schemas config * @param config.filename file name * @param config.location location of the file * @param config.format file extension (`'java'` | `'csv'` | `'typescript'` | `'json'` | `'javascript'` | `'yaml'` | `'postgresql'` | `'python'`) * @param config.verbose show log in console progretion */ export(config: FileConfig): Promise; /** * Generates the dataset data through the defined schemas */ generate(): Promise; }