import * as React from "react"; import { EditorView } from "prosemirror-view"; import { SearchResult } from "./LinkEditor"; import baseDictionary from "../dictionary"; declare type Props = { dictionary: typeof baseDictionary; tooltip: typeof React.Component | React.FC; rtl: boolean; isTemplate: boolean; commands: Record; onOpen: () => void; onClose: () => void; onSearchLink?: (term: string) => Promise; onClickLink: (href: string, event: MouseEvent) => void; onCreateLink?: (title: string) => Promise; onShowToast?: (msg: string, code: string) => void; view: EditorView; }; export default class SelectionToolbar extends React.Component { isActive: boolean; menuRef: React.RefObject; componentDidUpdate(): void; componentDidMount(): void; componentWillUnmount(): void; handleClickOutside: (ev: MouseEvent) => void; handleOnCreateLink: (title: string) => Promise; handleOnSelectLink: ({ href, from, to, }: { href: string; from: number; to: number; }) => void; render(): JSX.Element | null; } export {}; //# sourceMappingURL=SelectionToolbar.d.ts.map