import { FileLoader, FileLoaderOption } from "./fileLoader"; import { JsonLoader, JsonLoaderOption } from "./jsonLoader"; import { Loader } from "./loader"; import { SuppressionLoader, SuppressionLoaderOption } from "./suppressionLoader"; import { SwaggerExample, SwaggerSpec } from "./swaggerTypes"; export interface SwaggerLoaderOption extends SuppressionLoaderOption, JsonLoaderOption, FileLoaderOption { setFilePath?: boolean; } export interface ExampleUpdateEntry { swaggerPath: string; operationId: string; exampleName: string; exampleFilePath: string; exampleContent: SwaggerExample; } export declare class SwaggerLoader implements Loader { private opts; private suppressionLoader; private jsonLoader; private siblingsJsonLoader; private fileLoader; constructor(opts: SwaggerLoaderOption, suppressionLoader: SuppressionLoader, jsonLoader: JsonLoader, siblingsJsonLoader: JsonLoader, fileLoader: FileLoader); getResolvedJsonLoader(): JsonLoader; load(specFilePath: string, keepRefSiblings?: boolean): Promise; updateSwaggerAndExamples(entries: ExampleUpdateEntry[]): Promise; } //# sourceMappingURL=swaggerLoader.d.ts.map