import { SvelteComponent, Snippet } from 'svelte'; import { HTMLAttributes } from 'svelte/elements'; import { Calendar, ColorPicker, TextEditor } from 'framework7/types'; interface Props { type?: string; name?: string; value?: string | number | Array | Date | Object; defaultValue?: string | number | Array; inputmode?: string; placeholder?: string; inputId?: string | number; size?: string | number; accept?: string | number; autocomplete?: string; autocorrect?: string; autocapitalize?: string; spellcheck?: string; autofocus?: boolean; autosave?: string; checked?: boolean; disabled?: boolean; max?: string | number; min?: string | number; step?: string | number; maxlength?: string | number; minlength?: string | number; multiple?: boolean; readonly?: boolean; required?: boolean; pattern?: string; validate?: boolean | string; validateOnBlur?: boolean; onValidate?: Function; tabindex?: string | number; resizable?: boolean; clearButton?: boolean; noFormStoreData?: boolean; noStoreData?: boolean; ignoreStoreData?: boolean; errorMessage?: string | Snippet; errorMessageForce?: boolean; info?: string | Snippet; outline?: boolean; wrap?: boolean; dropdown?: string | boolean; calendarParams?: Calendar.Parameters; colorPickerParams?: ColorPicker.Parameters; textEditorParams?: TextEditor.Parameters; inputStyle?: string; color?: string; colorTheme?: string; textColor?: string; bgColor?: string; borderColor?: string; rippleColor?: string; dark?: boolean; onCalendarChange?: (calendarValue?: any) => void; onColorPickerChange?: (colorPickerValue?: any) => void; onTextareaResize?: (event?: any) => void; onInputNotEmpty?: (event?: any) => void; onInputEmpty?: (event?: any) => void; onInputClear?: (event?: any) => void; onInput?: (...args: any[]) => void; onFocus?: (...args: any[]) => void; onBlur?: (...args: any[]) => void; onChange?: (...args: any[]) => void; onTextEditorChange?: (...args: any[]) => void; children?: Snippet; ontextarearesize?: () => void; oninputnotempty?: () => void; oninputempty?: () => void; oninputclear?: () => void; oninput?: () => void; onfocus?: () => void; onblur?: () => void; onchange?: () => void; ontexteditorchange?: () => void; oncalendarchange?: () => void; oncolorpickerchange?: () => void; } interface InputProps {} interface InputProps extends Props {} interface InputProps extends HTMLAttributes {} interface InputEvents extends Record<'',{}>{} declare class Input extends SvelteComponent< InputProps, InputEvents, { } > {} export { InputProps }; export default Input;