import { FormattingFunctions } from "@matrix-org/matrix-wysiwyg";
import React from "react";
import { ComposerContextState } from "../ComposerContext";
export declare function openLinkModal(composer: FormattingFunctions, composerContext: ComposerContextState, isEditing: boolean): void;
interface LinkModalProps {
    composer: FormattingFunctions;
    isTextEnabled: boolean;
    onFinished: () => void;
    composerContext: ComposerContextState;
    isEditing: boolean;
}
export declare const LinkModal: React.FC<LinkModalProps>;
export {};
