import * as react_jsx_runtime from 'react/jsx-runtime';
import { I as InputGroupProps } from '../InputGroup-aoaZxCLk.mjs';
import { I as InputLeadingIconProps, a as InputTrailingIconProps } from '../InputTrailingIcon-BBp7sE6D.mjs';
import { ComponentPropsWithRef, PropsWithChildren } from 'react';
import 'class-variance-authority/types';
import 'class-variance-authority';
import '../icon/index.mjs';

type TextareaGroupProps = Omit<InputGroupProps, 'onClear'>;
declare const TextareaGroup$1: {
    (props: InputGroupProps): react_jsx_runtime.JSX.Element;
    displayName: string;
};

type TextareaLeadingIconProps = InputLeadingIconProps;
declare const TextareaLeadingIcon: {
    (props: InputLeadingIconProps): react_jsx_runtime.JSX.Element;
    id: string;
    displayName: string;
};

type TextareaTrailingIconProps = InputTrailingIconProps;
declare const TextareaTrailingIcon: {
    (props: InputTrailingIconProps): react_jsx_runtime.JSX.Element;
    id: string;
    displayName: string;
};

interface TextareaProps extends ComponentPropsWithRef<'textarea'> {
    /**
     * If `false`, the textarea won't be resizable.
     */
    isResizable?: boolean;
}
declare const Textarea: {
    ({ className, disabled, rows, isResizable, ref, ...others }: PropsWithChildren<TextareaProps>): react_jsx_runtime.JSX.Element;
    displayName: string;
} & {
    id: string;
};

declare const TextareaGroup: typeof TextareaGroup$1 & {
    LeadingIcon: typeof TextareaLeadingIcon;
    TrailingIcon: typeof TextareaTrailingIcon;
};

export { Textarea, TextareaGroup, type TextareaGroupProps, type TextareaLeadingIconProps, type TextareaProps, type TextareaTrailingIconProps };
