import { type ComponentProps } from 'react';
import { TextareaAutosize as ReactTextareaAutosize } from '@platejs/caption/react';
import { type VariantProps } from 'class-variance-authority';
export declare const textareaVariants: (props?: ({
    variant?: "default" | "ai" | "equation" | "equationInline" | null | undefined;
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
export type TextareaAutosizeProps = ComponentProps<typeof ReactTextareaAutosize> & VariantProps<typeof textareaVariants>;
export declare function Textarea({ className, variant, ...props }: TextareaProps): import("react/jsx-runtime").JSX.Element;
export type TextareaProps = ComponentProps<'textarea'> & VariantProps<typeof textareaVariants>;
export declare function TextareaAutosize({ children: _children, className, variant, ...props }: TextareaAutosizeProps): import("react/jsx-runtime").JSX.Element;
