import { ChangeEventProps, ChangeEventState, FocusEventProps, FocusEventState, FormMessageProps, FormProps, FormState, FormTextProps, GlobalProps, GlobalState, InputEventProps, InputEventState } from '../../shared/model'; export declare const TextareaResizeList: readonly ["none", "both", "horizontal", "vertical"]; export type TextareaResizeType = (typeof TextareaResizeList)[number]; export declare const TextareaWrapList: readonly ["hard", "soft", "off"]; export type TextareaWrapType = (typeof TextareaWrapList)[number]; export type DBTextareaDefaultProps = { /** * The visible width of the text control, in average character widths. If it is specified, it must be a positive integer */ cols?: number; /** * In most browsers, textareas are resizable — you'll notice the drag handle in the right-hand corner, you can control it with this */ resize?: TextareaResizeType; /** * The number of visible text lines for the control. If it is specified, it must be a positive integer */ rows?: number; /** * Specifies whether the textarea is subject to spell checking by the underlying browser/OS */ spellCheck?: boolean; /** * Indicates how the control should wrap the value for form submission. */ wrap?: TextareaWrapType; }; export type DBTextareaProps = DBTextareaDefaultProps & ChangeEventProps & InputEventProps & FocusEventProps & FormProps & GlobalProps & FormTextProps & FormMessageProps; export type DBTextareaDefaultState = {}; export type DBTextareaState = DBTextareaDefaultState & ChangeEventState & InputEventState & FocusEventState & FormState & GlobalState;