import type { Snippet } from 'svelte'; type Props = { /** Label rendered above the input. String renders as text; Snippet allows extra content (e.g. tooltip icon) next to the text. */ label?: string | Snippet; /** Affordance pinned to the trailing edge of the label row — rendered only alongside a `label`. String renders the standard info icon with that text in a tooltip; Snippet renders anything (button, link, badge). Clicks inside never reach the field. */ hint?: string | Snippet; /** Appends a danger-colored `*` to the label. Purely visual — does not enforce anything. */ required?: boolean; /** Input slot. The wrapping `