/** * The single source of truth for "what kind of field is this schema?". Both the * renderer and the validator classify through here so a construct is treated * identically everywhere. Classification resolves `$ref`, normalizes `anyOf`/ * `oneOf` (null-union → nullable single field; multi-member → variant selector), * and lands every shape it has no structured editor for on the explicit `json` * kind (a free-form JSON textarea) — a field is never silently dropped, and a * shapeless one is edited as the JSON it is rather than dead-ending on a badge. */ import type { ClassifiedField } from './field-model'; import type { JsonSchema } from './types'; /** * Classify a schema node (resolving `$ref` first). `wrapper` metadata (a * ref-site title/description) is threaded down so a `{ $ref, title }` or a * null-union wrapper keeps its property-level label. */ export declare function classifySchema(raw: JsonSchema, root: JsonSchema): ClassifiedField; //# sourceMappingURL=classify.d.ts.map