import type { ComponentType } from "react";
import { LinkTypes, TagTypes } from "./toolbar";
import type { LocalLinkDialogAdapterProps } from "./editorModel";
import type { LinkType } from "./model/textEditorTypes";
interface TextEditorDialogsProps {
    linkTypeDialog: LinkTypes | null;
    tagTypeDialog: TagTypes | null;
    localLinkDialogComponent?: ComponentType<LocalLinkDialogAdapterProps>;
    onCloseLinkDialog: () => void;
    onCloseTagDialog: () => void;
    onAddLink: (url: string, text: string, add: string, ariaLabel: string, showQrCode: boolean) => void;
    onAddLocalLink: (url: string, caption: string) => void;
    onInsertSemanticTag: (tagName: string, text: string, attributes: Record<string, string>) => void;
    getCurrentSelectionText: () => string;
    getSelectedLinkState: () => LinkType;
}
/**
 * Контейнер набора диалогов, которые используются редактором для вставки ссылок и семантических сущностей.
 */
export declare function TextEditorDialogs({ linkTypeDialog, tagTypeDialog, localLinkDialogComponent, onCloseLinkDialog, onCloseTagDialog, onAddLink, onAddLocalLink, onInsertSemanticTag, getCurrentSelectionText, getSelectedLinkState }: TextEditorDialogsProps): import("react").JSX.Element;
export {};
//# sourceMappingURL=TextEditorDialogs.d.ts.map