import type { HTMLAttributes } from 'svelte/elements'; import type { Snippet } from 'svelte'; interface Props extends HTMLAttributes { /** Visible label text rendered above the input. */ label: string; /** `id` of the associated input — wires the `` and context. */ inputId: string; /** Helper text shown below the input. */ hint?: string; /** Error message — overrides hint and sets error state on nested inputs. */ error?: string; children: Snippet; [key: string]: unknown; } declare const Field: import("svelte").Component; type Field = ReturnType; export default Field;