import { OpenApi as OpenApiV2 } from '../openApi/v2/interfaces/OpenApi.js'; import { OpenApi as OpenApiV3 } from '../openApi/v3/interfaces/OpenApi.js'; type OpenApiInput = Pick | Pick; export declare enum OpenApiVersion { V2 = 2, V3 = 3 } /** * Get the Open API specification version (V2 or V3). This generator only supports * version 2 and 3 of the specification, so we will alert the user if we encounter * an incompatible type. Or if the type is missing... * @param openApi The loaded spec (can be any object) */ export declare const getOpenApiVersion: (openApi: OpenApiInput) => OpenApiVersion; export {};