import { DeepPartial, IHttpEndpointOperation, IHttpOperation } from '@stoplight/types'; import type * as OAS3 from 'openapi3-ts'; import type * as OAS2 from 'swagger-schema-official'; import type { HttpEndpointOperationTransformer, HttpServiceBundle, HttpServiceTransformer, ITransformEndpointOperationOpts, ITransformServiceOpts } from '../types'; export declare enum OasVersion { OAS2 = 2, OAS3 = 3 } export declare type Oas2TransformServiceOpts = ITransformServiceOpts>; export declare type Oas3TransformServiceOpts = ITransformServiceOpts>; export declare type Oas2HttpServiceTransformer = HttpServiceTransformer; export declare type Oas3HttpServiceTransformer = HttpServiceTransformer; export declare type Oas2HttpServiceBundle = HttpServiceBundle; export declare type Oas3HttpServiceBundle = HttpServiceBundle; export declare type Oas2TransformOperationOpts = ITransformEndpointOperationOpts>; export declare type Oas3TransformOperationOpts = ITransformEndpointOperationOpts>; export declare type Oas2HttpOperationTransformer = HttpEndpointOperationTransformer; export declare type Oas3HttpEndpointOperationTransformer = HttpEndpointOperationTransformer; export declare type Oas3ParamBase = ParamBase & { in: OAS3.ParameterLocation; }; export declare type Oas2ParamBase = ParamBase & { in: OAS2.BaseParameter['in']; }; export declare type ParamBase = { name: string; in: string; } & Record; export declare type PathItemObject = Omit | Omit; export declare type OperationObject = OAS2.Operation | OAS3.OperationObject;