import { EventEmitter } from '../../stencil-public-runtime'; import { FormControlState } from '../../utils/form-control'; export declare class SekiInput { el: HTMLElement; internals: ElementInternals; private inputEl?; private formControl?; /** * Input type (text, email, password, number, tel, url, date, file, etc.) */ type: string; /** * Current value of the input */ value?: string; /** * Placeholder text */ placeholder?: string; /** * Whether the input is disabled */ disabled: boolean; /** * Whether the input is readonly */ readonly: boolean; /** * Whether the input is required */ required: boolean; /** * Name attribute for form submission */ name?: string; /** * Autocomplete attribute */ autocomplete?: string; /** * Minimum value (for number/date inputs) */ min?: string | number; /** * Maximum value (for number/date inputs) */ max?: string | number; /** * Step value (for number inputs) */ step?: string | number; /** * Validation pattern (regex) */ pattern?: string; /** * Minimum length */ minlength?: number; /** * Maximum length */ maxlength?: number; /** * Size variant */ size: 'sm' | 'md' | 'lg'; /** * Whether the input is in an invalid/error state */ invalid: boolean; /** * Accessible label for screen readers */ ariaLabel?: string; /** * ID of element describing this input */ ariaDescribedby?: string; /** * Text that describes this control. Set by `seki-field` from its description * (and error) slot, because an `aria-describedby` id cannot cross the shadow * boundary to the inner element (#358). */ ariaDescription?: string; /** Marks the control invalid for assistive technology. Set by `seki-field` (#358). */ ariaInvalid?: string; /** * Emitted on every keystroke */ sekiInput: EventEmitter<{ value: string; nativeEvent: Event; }>; /** * Emitted on blur or Enter */ sekiChange: EventEmitter<{ value: string; nativeEvent: Event; }>; /** * Emitted on focus */ sekiFocus: EventEmitter<{ nativeEvent: FocusEvent; }>; /** * Emitted on blur */ sekiBlur: EventEmitter<{ value: string; nativeEvent: FocusEvent; }>; private handleInput; private handleChange; private handleFocus; private handleBlur; formResetCallback(): void; formDisabledCallback(disabled: boolean): void; formStateRestoreCallback(state: FormControlState): void; /** * Keep the inner inputEl and the form in step with a programmatic `el.value = x` * without waiting for the next render, so `form.checkValidity()` and FormData * read the new value immediately. */ handleFormStateChange(): void; componentWillLoad(): void; componentDidRender(): void; render(): any; }