import type { FormValidationHandler } from '../../core/validation'; import { type FieldBinding, type ValidateOnEvent } from '../validatable'; import type { Snippet } from 'svelte'; declare function $$render, K extends keyof T & string>(): { props: { /** Form validation handler instance. */ handler: FormValidationHandler; /** Field name in the form handler. */ name: K; /** 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. Forwarded to ``. */ hint?: string | Snippet; /** Appends a danger-colored `*` to the label. */ required?: boolean; /** Which events trigger validation. Forwarded to ``. @default ['input', 'change', 'blur'] */ validateOn?: ValidateOnEvent[]; /** Debounce validator calls in ms. Forwarded to ``. @default 0 */ debounceMs?: number; /** Show errors before the field has been touched. Forwarded to ``. @default false */ disableTouchedTracking?: boolean; /** Reserve space below the field so a toggling error doesn't shift layout. Forwarded to `` (whose own default is `true`). @default false */ reserveErrorSpace?: boolean; /** Extra consumer callbacks. Forwarded to ``. */ on?: { input?: (value: T[K]) => void; change?: (value: T[K]) => void; blur?: () => void; }; /** Receives the wired `FieldBinding` — spread or wire onto the kit input — plus the `validating` flag. */ children: Snippet<[FieldBinding, boolean]>; }; exports: {}; bindings: ""; slots: {}; events: {}; }; declare class __sveltets_Render, K extends keyof T & string> { props(): ReturnType>['props']; events(): ReturnType>['events']; slots(): ReturnType>['slots']; bindings(): ""; exports(): {}; } interface $$IsomorphicComponent { new , K extends keyof T & string>(options: import('svelte').ComponentConstructorOptions['props']>>): import('svelte').SvelteComponent['props']>, ReturnType<__sveltets_Render['events']>, ReturnType<__sveltets_Render['slots']>> & { $$bindings?: ReturnType<__sveltets_Render['bindings']>; } & ReturnType<__sveltets_Render['exports']>; , K extends keyof T & string>(internal: unknown, props: ReturnType<__sveltets_Render['props']> & {}): ReturnType<__sveltets_Render['exports']>; z_$$bindings?: ReturnType<__sveltets_Render['bindings']>; } /** * FormFieldValidatable — convenience wrapper that composes `` and `` in a single component. Reduces the 3-level nesting (FormField → Validatable → Input) to a flat callsite when you need both a label and validation binding. * * ### Usage * ```svelte * * {#snippet children(field)} * * {/snippet} * * ``` * * The snippet takes a second `validating: boolean` argument — true from the value change until the validator has caught up, debounce window included. See `Validatable` for what it drives. * * Identical visual output to: * ```svelte * * * {#snippet children(field)} * * {/snippet} * * * ``` * * Both `FormField`'s label/required and `Validatable`'s no-jump error slot apply unchanged — this cmp adds no styling, just collapses the wiring. */ declare const Cmp: $$IsomorphicComponent; type Cmp, K extends keyof T & string> = InstanceType>; export default Cmp;