import * as React from 'react'; import { type VariantProps } from 'class-variance-authority'; import { inputVariants } from '../input/input-variants'; type TextareaVariant = NonNullable['variant']>; type TextareaSize = NonNullable['size']>; interface TextareaProps extends Omit, 'size'> { /** * Field appearance - bordered or filled. * @default 'outline' */ variant?: TextareaVariant; /** * Scales padding and text. Named `inputSize` to avoid colliding with native attributes. * @default 'md' */ inputSize?: TextareaSize; /** * Show a clear (✕) button once the field has a value. * @default false */ clearable?: boolean; /** Adornment rendered before the field, aligned to the first line. */ startSlot?: React.ReactNode; /** Adornment rendered after the field, aligned to the first line. */ endSlot?: React.ReactNode; /** Called when the clear button is pressed. */ onClear?: () => void; } declare function Textarea({ className, variant, inputSize, clearable, startSlot, endSlot, onClear, ref, rows, ...props }: TextareaProps): React.JSX.Element; export { Textarea }; export type { TextareaProps }; //# sourceMappingURL=textarea.d.ts.map