import { type HTMLProps, Ref, type StateProp } from '@innet/dom'; import { type IconProps } from '../../icons'; import { type FlexProps } from '../../layout'; export type InputType = 'text' | 'password' | 'date' | 'email' | 'tel' | 'number' | 'color'; export type RequiredType = 'star'; export interface InputProps extends Omit, 'oninput' | 'autofocus'> { label?: StateProp; value?: StateProp; oninput?: (value: string) => void; placeholder?: StateProp; error?: StateProp; disabled?: StateProp; required?: StateProp; type?: StateProp; name?: StateProp; autofocus?: boolean | number; clearable?: boolean; debounce?: boolean | number; inputRef?: Ref; renderInput?: (props: HTMLProps) => any; props?: { input?: HTMLProps; before?: HTMLProps; after?: HTMLProps; border?: HTMLProps; label?: HTMLProps; hint?: HTMLProps; clear?: Partial; }; } export declare const defaultRenderInput: (props: HTMLProps) => any; export declare function Input({ label, value, oninput, props, placeholder, autofocus, renderInput, error, disabled, required, inputRef, name, type, clearable, debounce, ...rest }?: InputProps): any;