import type { OpenApiDocument, OperationObject, ParameterObject } from '@ahmttyydn/workspace-store/schemas/v3.1/strict/openapi-document'; /** * Extracts the request body from an operation. */ export declare function extractRequestBody(operation: OperationObject): string[] | boolean; /** * Deep merge for objects */ export declare function deepMerge(source: Record, target: Record): Record; /** * Creates an empty specification object. * The returning object has the same structure as a valid OpenAPI specification, but everything is empty. */ export declare function createEmptySpecification(partialSpecification?: Partial): OpenApiDocument; export type ParameterMap = { path: ParameterObject[]; query: ParameterObject[]; header: ParameterObject[]; cookie: ParameterObject[]; }; /** * This function creates a parameter map from an Operation Object, that's easier to consume. * * TODO: Isn't it easier to just stick to the OpenAPI structure, without transforming it? */ export declare function createParameterMap(operation: OperationObject): ParameterMap; //# sourceMappingURL=openapi.d.ts.map