import { EditorTextLink } from '../prosemirror-adapter/menu/types';
import { Languages } from '../../date-picker/date.types';
/**
 * This component is a menu for editing a link in the text editor.
 * It allows the user to input the text and url for the link.
 * @beta
 * @private
 */
export declare class TextEditorLinkMenu {
    /**
     * The link
     */
    link: EditorTextLink;
    /**
     * Defines the language for translations.
     */
    language: Languages;
    /**
     * Open state of the link-menu dialog
     */
    isOpen: boolean;
    /**
     * Emitted when the menu is closed from inside the component.
     * (*Not* emitted when the consumer sets the `open`-property to `false`.)
     */
    private cancel;
    /**
     * Emitted when the menu is saved from inside the component.
     */
    private save;
    /**
     * Emitted when the user inputs new values for the link
     */
    private linkChange;
    private textInput;
    private saveButton;
    connectedCallback(): void;
    disconnectedCallback(): void;
    private setupGlobalHandlers;
    private teardownGlobalHandlers;
    componentDidLoad(): void;
    private focusOnTextInput;
    render(): any[];
    private getTranslation;
    private isValid;
    private handleKeyDown;
    private handleCancel;
    private handleSave;
    private handleLinkInputAction;
    private handleLinkTitleChange;
    private handleLinkValueChange;
    private emitLinkChange;
}
//# sourceMappingURL=editor-link-menu.d.ts.map