import { default as React, Ref } from 'react'; import { SafeOmit } from '../../../.deps/utils/src'; import { Complete, Size } from '../../../types'; import { HTMLTextareaProps, PlaceholderProps, TextareaOwnProps as TextareaBaseProps } from '../types'; export interface TextareaCommonProps extends SafeOmit, PlaceholderProps { } export interface TextareaOwnProps { cols?: HTMLTextareaProps['cols']; defaultValue?: string | number; label?: string; ref?: Ref; rows?: HTMLTextareaProps['rows']; value?: string | number; width?: Size; } /** @inheritdoc */ export interface TextareaProps extends TextareaOwnProps, TextareaCommonProps { } type GetTextareaClassName = Complete>; export declare const getTextareaClassName: ({ width, error, warning }: GetTextareaClassName) => string; export declare const Textarea: ({ cols, defaultValue, error, label, ref, rows, value, warning, width, ...rest }: TextareaProps) => React.JSX.Element; export {};