/** * Schema Flattening Module * * This module handles: * - Flattening allOf compositions by merging properties * - Resolving nested schemas to reduce complexity * - Handling anyOf, oneOf, and other complex schema constructs */ type JSONSchema = Record; /** * Flatten a JSON schema by resolving allOf, anyOf, oneOf compositions * * @param schema - JSON schema to flatten * @returns Flattened schema */ export declare function flattenSchema(schema: JSONSchema): JSONSchema; /** * Flatten all schemas in parameters * * @param parameters - Array of parameter definitions * @returns Parameters with flattened schemas */ export declare function flattenParameters(parameters: any[]): any[]; /** * Flatten schemas in request body content * * @param requestBody - Request body definition * @returns Request body with flattened schemas */ export declare function flattenRequestBody(requestBody: any): any; /** * Flatten schemas in responses * * @param responses - Response definitions * @returns Responses with flattened schemas */ export declare function flattenResponses(responses: any): any; export {}; //# sourceMappingURL=flattener.d.ts.map