import { type ComponentType, type ReactElement } from "react";
import { type IExecutionConfig, type IFilter, type ISeparators } from "@gooddata/sdk-model";
import { type OnError, type OnLoadingChanged } from "@gooddata/sdk-ui";
/**
 * @internal
 */
export interface IRichTextProps {
    value: string;
    onChange?: (text: string) => void;
    renderMode?: "view" | "edit";
    editPlaceholder?: string;
    execConfig?: IExecutionConfig;
    editRows?: number;
    emptyElement?: ReactElement;
    className?: string;
    referencesEnabled?: boolean;
    /**
     * If provided, the textarea starts at just 1 row,
     * resizing dynamically up to editRows value.
     */
    autoResize?: boolean;
    /**
     * This will enable of rendering hidden input with markdown content
     * and data attributes for export purposes.
     */
    rawContent?: {
        show: boolean;
        dataAttributes?: Record<string, string>;
    };
    /**
     * Filters to be used for rendering references.
     */
    filters?: IFilter[];
    /**
     * If true, the filters are loading.
     */
    isFiltersLoading?: boolean;
    /**
     * Separators to be used for rendering references.
     */
    separators?: ISeparators;
    /**
     * @alpha
     */
    onLoadingChanged?: OnLoadingChanged;
    /**
     * @alpha
     */
    onError?: OnError;
    LoadingComponent?: ComponentType;
}
/**
 * @internal
 */
export declare function RichText(props: IRichTextProps): import("react/jsx-runtime").JSX.Element;
//# sourceMappingURL=RichText.d.ts.map