/** * Copyright Aquera Inc 2023 * * 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 '../nile-button/nile-button'; import NileElement from '../internal/nile-element'; import type { NileAppShell } from '../nile-app-shell/nile-app-shell'; /** * @summary The side-nav toggle as a standalone control, for a header you build yourself. * * @status stable * @since 2.0 * * @tag nile-app-shell-nav-toggle * * @dependency nile-app-shell * @dependency nile-glyph * * @csspart button - The toggle button. * @csspart rule - The trailing vertical rule. * * @cssproperty [--nile-app-shell-nav-toggle-offset=-6px] - Optical start offset, so the glyph lands on the bar's text origin. * @cssproperty [--nile-app-shell-utility-size=32px] - Box the toggle sits in; the hit area and hover surface, not a visible chip. */ export declare class NileAppShellNavToggle extends NileElement { static get styles(): CSSResultArray; /** Draws the vertical rule the shell's own bar puts after the toggle. */ withRule: boolean; /** The shell to drive. Defaults to the nearest `nile-app-shell` ancestor, or the element with this id. */ shell?: string; private _rail; private _locked; private _observed?; connectedCallback(): void; disconnectedCallback(): void; /** The shell this toggle drives, if it found one. */ get appShell(): NileAppShell | null; private _attach; private _onShellToggle; private _sync; render(): TemplateResult; private _onClick; } export default NileAppShellNavToggle; declare global { interface HTMLElementTagNameMap { 'nile-app-shell-nav-toggle': NileAppShellNavToggle; } }