import type { OpenAPIV3 } from 'openapi-types'; /** * Map the 3.1-only schema-shape encodings onto the shared IR shape before * dispatching: `unevaluatedProperties`, type arrays, `const`, `examples[]`, * numeric exclusive bounds, and binary/base64 content keywords. Each step * returns its input unchanged when it does not apply, so the composed result * is referentially equal to `schema` when nothing matched — letting the * dispatcher re-dispatch only when needed. Idempotent: a normalized schema * comes back as the same object. */ export declare const normalizeSchemaShape: (schema: OpenAPIV3.SchemaObject) => OpenAPIV3.SchemaObject; /** * Is `type` only `null` (`'null'` or `['null']`)? `'null'` is a 3.1 type the * 3.0-typed SchemaObject does not model, so read it loosely. */ export declare const isNullOnlyType: (type: unknown) => boolean; /** * Normalize a schema as it enters the `allOf`/`oneOf`/`anyOf` merge: the * {@link normalizeSchemaShape} rules, plus a null-only member (`type: 'null'` * or `['null']`) becomes `{ nullable: true }` with no `type`, so it adds * nullability instead of conflicting with the other members' types. * Idempotent, like `normalizeSchemaShape`. */ export declare const normalizeMergeMember: (schema: OpenAPIV3.SchemaObject) => OpenAPIV3.SchemaObject;