import type { Snippet } from 'svelte'; type InputStatus = 'default' | 'error' | 'success' | 'warning'; type InputSize = 'sm' | 'md' | 'lg'; interface InputProps { id?: string; name?: string; label?: string; placeholder?: string; value?: string; type?: 'text' | 'email' | 'password' | 'number' | 'search' | 'tel' | 'url' | 'date' | 'time'; status?: InputStatus; helperText?: string; disabled?: boolean; readonly?: boolean; required?: boolean; clearable?: boolean; size?: InputSize; leadIcon?: Snippet; trailIcon?: Snippet; class?: string; autofocus?: boolean; min?: number; max?: number; step?: number; maxLength?: number; /** Show `n/max` counter (defaults on when `maxLength` is set). */ showCount?: boolean; oninput?: (e: Event) => void; onchange?: (e: Event) => void; onfocus?: (e: FocusEvent) => void; onblur?: (e: FocusEvent) => void; onkeydown?: (e: KeyboardEvent) => void; autocomplete?: string; /** Native form value only (no Svelte bind). Needed for login + autofill. */ uncontrolled?: boolean; } declare const Input: import("svelte").Component; type Input = ReturnType; export default Input;