import { DatasetResolver } from "../../../dataset-resolver/dataset-resolver"; import { DumpFile, DumpProps, DumpRelationalProps, Generator } from "../generator/generator"; import { IndentConfig, SeparateConfig, ZipConfig } from "../params"; import { FileCreator } from "../file-creator/file-creator"; export declare type YamlProps = { /**If `true`, sort keys when dumping YAML. If is a `function`, use the function to sort the keys. Default `false`*/ sortKeys?: boolean | ((a: any, b: any) => number); /**Set max line width. Default `80`*/ lineWidth?: number; /**Strings will be quoted using this quoting style. Default `'` */ quotingType?: "'" | '"'; } & ZipConfig & SeparateConfig & IndentConfig; export declare class YamlGenerator extends Generator { private readonly zip; private readonly separate; private readonly creator; constructor(config: YamlProps); dump({ data, filename }: DumpProps): DumpFile[]; createFile(fileCreator: FileCreator, data: any): Promise; dumpRelational({ resolver, filename, }: DumpRelationalProps): Promise; createRelationalFile(fileCreator: FileCreator, resolver: DatasetResolver): Promise; }