import { TemplateResult, CSSResultArray } from 'lit'; import NileElement from '../../internal/nile-element'; /** * Floating link create/edit panel. The host positions it absolutely inside * the editor chrome and listens for: * - `wysiwyg-link-apply` detail: { href, text } * - `wysiwyg-link-remove` * - `wysiwyg-link-cancel` */ export declare class NileWysiwygLinkEditor extends NileElement { open: boolean; href: string; text: string; /** Show the text field (only when creating a link from a cursor). */ allowText: boolean; /** Show the remove button (when editing an existing link). */ canRemove: boolean; hrefInput?: HTMLInputElement; static get styles(): CSSResultArray; /** Focuses the URL field; called by the host after opening. */ focusInput(): void; private handleSubmit; private handleKeydown; render(): TemplateResult; } declare global { interface HTMLElementTagNameMap { 'nile-wysiwyg-link-editor': NileWysiwygLinkEditor; } }