import { ChangeEvent, Ref } from "react";
import * as React from "react";
import { TextareaComponentProps, TextareaProps } from "./Textarea.types";
export declare const TextareaComponent: React.ForwardRefExoticComponent<{
    autosize?: boolean | undefined;
    maxRows?: number | undefined;
    minRows?: number | undefined;
    placeholder?: string | undefined;
    label?: React.ReactNode;
    description?: React.ReactNode;
    error?: React.ReactNode;
    disabled?: boolean | undefined;
    size?: import("@mantine/core").MantineSize | undefined;
    radius?: import("@mantine/core").MantineSize | undefined;
    value?: string | undefined;
    onChange?: ((e: ChangeEvent<HTMLTextAreaElement>) => void) | undefined;
    icon?: React.ReactNode;
    variant?: "unstyled" | "default" | undefined;
    sx?: import("@mantine/core").CSSObject | undefined;
    classNames?: Partial<Record<import("@mantine/core").TextInputStylesNames, string>> | undefined;
    styles?: import("@mantine/core").Styles<import("@mantine/core").TextInputStylesNames, Record<string, any>> | undefined;
} & import("../layout/layout.types").CommonLayoutProps & import("../styling.types").CommonStylingProps & Omit<React.DetailedHTMLProps<React.TextareaHTMLAttributes<HTMLTextAreaElement>, HTMLTextAreaElement>, "error" | "value" | "ref" | "size" | "styles" | "classNames" | "variant" | "sx" | "label" | "placeholder" | "onChange" | "radius" | keyof import("../layout/layout.types").CommonLayoutProps | keyof import("../styling.types").CommonStylingProps | "disabled" | "autosize" | "description" | "icon" | "maxRows" | "minRows"> & React.RefAttributes<HTMLTextAreaElement>>;
export declare const Textarea: React.ForwardRefExoticComponent<{
    id?: string | undefined;
    defaultValue?: string | undefined;
    defaultDisabled?: boolean | undefined;
} & import("../../state/components/input/types").InputProps<string, ChangeEvent<HTMLTextAreaElement>> & Omit<TextareaComponentProps, "defaultValue" | "id" | "defaultDisabled"> & React.RefAttributes<HTMLTextAreaElement>>;
export declare const TextareaWithoutRef: (props: TextareaProps & {
    innerRef: React.Ref<HTMLTextAreaElement>;
}) => import("react/jsx-runtime").JSX.Element;
