import { StringMap } from "@azure-tools/openapi-tools-common"; export interface Options { output?: string; shouldResolveXmsExamples?: unknown; matchApiVersion?: unknown; } /** * @class */ export declare class XMsExampleExtractor { private readonly specPath; private readonly recordings; private readonly options; /** * @constructor * Initializes a new instance of the xMsExampleExtractor class. * * @param {string} specPath the swagger spec path * * @param {object} recordings the folder for recordings * * @param {object} [options] The options object * * @param {object} [options.matchApiVersion] Only generate examples if api-version matches. * Default: false * * @param {object} [options.output] Output folder for the generated examples. */ constructor(specPath: string, recordings: string, options: Options); extractOne(relativeExamplesPath: string, outputExamples: string, api: any, recordingFileName: string): void; /** * Extracts x-ms-examples from the recordings */ extract(): Promise>; private mkdirSync; private getFileList; } //# sourceMappingURL=xMsExampleExtractor.d.ts.map