import React from 'react';
type RenderType = 'default' | 'inline';
type RichTextAreaToolbarLabels = {
    undo: string;
    redo: string;
    link: string;
    bold: string;
    italic: string;
    strikethrough: string;
    unorderedList: string;
    orderedList: string;
    taskList: string;
    removeFormatting: string;
    table: string;
    blockquote: string;
    image: string;
    heading: string;
};
type RichTextAreaLinkModalLabels = {
    urlLabel: string;
    textLabel: string;
    submitLabel: string;
};
type RichTextAreaImageModalLabels = {
    urlLabel: string;
    submitLabel: string;
};
export type RichTextAreaCustomLabels = {
    toolbar?: Partial<RichTextAreaToolbarLabels>;
    linkModal?: Partial<RichTextAreaLinkModalLabels>;
    imageModal?: Partial<RichTextAreaImageModalLabels>;
};
type ToolbarButtonKey = 'undo' | 'redo' | 'bold' | 'italic' | 'strikethrough' | 'link' | 'unorderedList' | 'orderedList' | 'taskList' | 'removeFormatting' | 'table' | 'blockquote' | 'image' | 'heading';
export type ToolbarGroup = ToolbarButtonKey[];
export type RichTextAreaProps = {
    value?: string;
    onChange?: (value: string) => void;
    onSubmit?: (value: string) => void;
    isSubmitDisabled?: boolean;
    disabled?: boolean;
    maxLength?: number;
    showCount?: boolean;
    placeholder?: string;
    autoSize?: boolean | {
        minRows?: number;
        maxRows?: number;
    };
    overflowPolicy?: 'crop' | 'show';
    toolbarGroups?: ToolbarGroup[];
    customLabels?: RichTextAreaCustomLabels;
    bottomPanelUtils?: React.ReactElement[];
    type?: RenderType;
};
export declare const RichTextArea: React.FC<RichTextAreaProps>;
export {};
//# sourceMappingURL=richTextArea.d.ts.map