import { TemplateResult, CSSResultArray, PropertyValues, nothing } from 'lit'; import NileElement from '../../internal/nile-element'; /** * Keyboard shortcut reference dialog, opened from the toolbar or Mod-/. * Emits `wysiwyg-shortcut-help-close` when dismissed (Esc, ✕ or backdrop). */ export declare class NileWysiwygShortcutHelp extends NileElement { open: boolean; private panelEl?; /** Body overflow value before we locked it; null = not locked by us. */ private previousBodyOverflow; static get styles(): CSSResultArray; /** * Locks page scrolling while the dialog is open (the fixed backdrop blocks * clicks but not wheel/touch scrolling of the document behind it). * Save/restore keeps it composable with other locks (e.g. fullscreen). */ protected updated(changed: PropertyValues): void; disconnectedCallback(): void; /** Moves focus into the dialog so Esc lands here. */ focusPanel(): void; private close; private handleKeydown; render(): TemplateResult | typeof nothing; } declare global { interface HTMLElementTagNameMap { 'nile-wysiwyg-shortcut-help': NileWysiwygShortcutHelp; } }