import { type TextInput, type TextInputProps, type ViewProps } from 'react-native'; import { type IInputFieldProps } from '@cdx-ui/primitives'; import { type TextareaVariantProps } from './styles'; export type TextareaResize = 'none' | 'vertical'; export interface TextareaProps extends Omit, IInputFieldProps, TextareaVariantProps { className?: string; placeholderTextColorClassName?: string; /** Initial / minimum visible rows. Defaults to 2 on web and 8 on native. */ numberOfLines?: number; /** * Grow the field height to fit its content. Defaults to `false`. * Web uses `field-sizing: content`; native grows intrinsically (`scrollEnabled` * off), using `onContentSizeChange` only to enable scrolling past `maxRows`. */ autoGrow?: boolean; /** Caps `autoGrow` at this many rows, after which the field scrolls. */ maxRows?: number; /** * Web-only user resize affordance. Defaults to `'none'`. `'vertical'` exposes the * browser resize handle and takes precedence over `autoGrow` (they are mutually * exclusive). No-op on native. */ resize?: TextareaResize; style?: ViewProps['style']; } export declare const Textarea: import("react").ForwardRefExoticComponent>; //# sourceMappingURL=index.d.ts.map