/** Classify a type string for color coding (conventions, not a formal standard) */ export declare function typeClass(value: unknown): string; /** Classify a literal value for color coding (defaults, current state) */ export declare function valueClass(value: unknown): string; /** * Split a union type into its top-level members, respecting quotes and * nesting — parens, brackets, braces, and generics — so a `|` inside * `Array`, `{ a: 1 } | { b: 2 }`, or `(x) => A | B` is not a split * point. The `>` of an arrow `=>` is not treated as a generic close. A * non-union returns a single-element array. */ export declare function splitUnion(value: string): string[]; /** Split a type into member chips: each top-level union member is its own * chip, classified individually (so `number | string` colors each part). A * non-union stays a single chip. */ export declare function typeParts(value: unknown): string[]; /** * Inline markdown for description prose — the same constructs the body * renderer supports, minus the block ones: emphasis, code spans, **links**, * and raw HTML, which is the author's own file at the same trust level as a * `[DOC]` body. * * `parseInline` rather than `parse`: a description sits inside a `

` already, * and block parsing would nest one inside it. * * Braces are escaped, and that is not cosmetic. The body renderer deliberately * leaves `{expressions}` intact so Svelte islands compile; a description is * attribute text rendered through `{@html}`, so a stray `{` would reach the * compiler as an expression and fail the build. */ export declare function renderInlineMarkdown(text: string): string; /** Parse a union of string or number literals ("'sm' | 'md'", "1 | 2") into * select options — across line breaks and leading pipes, the way Prettier * wraps long unions. Mixed or non-literal members return null: no select can * represent them. */ export declare function unionOptions(value: unknown): string[] | null;