import { PreCompiler } from "./PreCompiler"; import { FormatOptions } from "gherkin-io"; import { Document, ParseConfig } from "gherkin-ast"; export * from "./PreCompiler"; export * from "gherkin-ast"; export { FormatOptions } from "gherkin-io"; export declare const load: (pattern: string, config?: ParseConfig) => Promise; export declare const process: (ast: Document, ...preCompilers: PreCompiler[]) => Promise; export type PathGenerator = (document: Document, i?: number) => string; export declare function save(path: string, ast: Document, options?: FormatOptions): Promise; export declare function save(path: string | PathGenerator, ast: Document[], options?: FormatOptions): Promise;