import { JSONSchema4 } from 'json-schema'; /** * Transforms JSON Schema `const` keywords into equivalent single-value `enum` arrays. * This normalization allows the existing enum handling logic to process both patterns uniformly. * * @example * Input: { type: 'string', const: 'tab', description: 'Tab indent' } * Output: { type: 'string', enum: ['tab'], description: 'Tab indent' } * * @param def - The JSON schema definition to transform * @returns The transformed schema with `const` converted to `enum` */ export declare function constToEnum(def: JSONSchema4): JSONSchema4;