/**
 * Copyright Aquera Inc 2026
 *
 * This source code is licensed under the BSD-3-Clause license found in the
 * LICENSE file in the root directory of this source tree.
 */
import { CSSResultArray, TemplateResult } from 'lit';
import NileElement from '../internal/nile-element';
import type { NileContextMenuItem } from '../nile-context-menu-item';
import '../nile-floating-panel';
/**
 * Nested submenu inside a `nile-context-menu-item`.
 * @tag nile-context-submenu
 */
export declare class NileContextSubmenu extends NileElement {
    static get styles(): CSSResultArray;
    zIndex: number;
    private _open;
    static openStack: NileContextSubmenu[];
    private _parentItem;
    private _proxyId;
    private _proxyEl?;
    private _floatingPanelEl?;
    private _menuContainerRef;
    private _openTimer?;
    private _closeTimer?;
    private _setupDone;
    connectedCallback(): void;
    private _ensureProxy;
    private _syncProxyToParent;
    disconnectedCallback(): void;
    private _teardownBodyArtifacts;
    private _ensureBodyPanel;
    protected firstUpdated(): void;
    private _relocateLightChildren;
    private _clearTimers;
    private _onParentEnter;
    private _onParentLeave;
    private _onParentClick;
    private _onPanelEnter;
    private _onPanelLeave;
    openSubmenu(): void;
    closeSubmenu(): void;
    get isOpen(): boolean;
    static findByContainer(container: Element): NileContextSubmenu | null;
    get parentItem(): NileContextMenuItem | null;
    focusFirstItem(): void;
    private _closeSiblingSubmenus;
    private _parentLevel;
    private _onMenuMouseOver;
    private _onNestedSelect;
    private _onMenuClick;
    render(): TemplateResult;
}
export default NileContextSubmenu;
declare global {
    interface HTMLElementTagNameMap {
        'nile-context-submenu': NileContextSubmenu;
    }
}
