import { RefAttributes } from 'react'; import { BoxProps, BoxTagProps } from '../box'; import { ComponentsAndVariants } from '../types'; declare const tagProps: readonly ["name", "onInput", "onChange", "type", "step", "placeholder", "defaultValue", "autoFocus", "readOnly", "required", "value", "pattern"]; type TagPropsType = (typeof tagProps)[number]; type TextareaProps = Omit, 'tag' | 'props'>; type TextboxTagProps = Omit, TagPropsType>; type TextboxType = 'date' | 'datetime-local' | 'email' | 'hidden' | 'month' | 'number' | 'password' | 'search' | 'tel' | 'text' | 'time' | 'url' | 'week'; interface Props extends TextareaProps { name?: string; props?: TextboxTagProps; onInput?: (e: React.ChangeEvent) => void; onChange?: (e: React.ChangeEvent) => void; type?: TextboxType; placeholder?: string; value?: string | number; defaultValue?: string | number; pattern?: string; autoFocus?: boolean; readOnly?: boolean; step?: number | string; } declare const _default: (props: Props & RefAttributes) => React.ReactNode; export default _default;