import { type QAProps } from '@gravity-ui/uikit';
import { type ClassNameProps } from "../classname.js";
import type { ToolbarsPreset } from "../modules/toolbars/types.js";
import type { Editor } from "./Editor.js";
import type { MToolbarData, MToolbarItemData, WToolbarData, WToolbarItemData } from "./toolbar/types.js";
import "../styles/styles.css";
import "./MarkdownEditorView.css";
export declare const cnEditorComponent: import("@bem-react/classname").ClassNameFormatter;
export type MarkdownEditorViewProps = ClassNameProps & QAProps & {
    editor?: Editor;
    autofocus?: boolean;
    toolbarsPreset?: ToolbarsPreset;
    /**
     * @deprecated use `toolbarsPreset` instead
     */
    markupToolbarConfig?: MToolbarData;
    /**
     * @deprecated use `toolbarsPreset` instead
     */
    wysiwygToolbarConfig?: WToolbarData;
    /**
     * @deprecated use `toolbarsPreset` instead
     */
    markupHiddenActionsConfig?: MToolbarItemData[];
    /**
     * @deprecated use `toolbarsPreset` instead
     */
    wysiwygHiddenActionsConfig?: WToolbarItemData[];
    /** @default true */
    settingsVisible?: boolean;
    stickyToolbar: boolean;
    enableSubmitInPreview?: boolean;
    hidePreviewAfterSubmit?: boolean;
};
export declare const MarkdownEditorView: import("react").ForwardRefExoticComponent<ClassNameProps & QAProps & {
    editor?: Editor;
    autofocus?: boolean;
    toolbarsPreset?: ToolbarsPreset;
    /**
     * @deprecated use `toolbarsPreset` instead
     */
    markupToolbarConfig?: MToolbarData;
    /**
     * @deprecated use `toolbarsPreset` instead
     */
    wysiwygToolbarConfig?: WToolbarData;
    /**
     * @deprecated use `toolbarsPreset` instead
     */
    markupHiddenActionsConfig?: MToolbarItemData[];
    /**
     * @deprecated use `toolbarsPreset` instead
     */
    wysiwygHiddenActionsConfig?: WToolbarItemData[];
    /** @default true */
    settingsVisible?: boolean;
    stickyToolbar: boolean;
    enableSubmitInPreview?: boolean;
    hidePreviewAfterSubmit?: boolean;
} & import("react").RefAttributes<HTMLDivElement>>;
