import { UiElement } from '../shared/element.js'; import '../tooltip/tooltip.js'; /** * Carbon `HeaderGlobalAction`: a 48px icon button in the header, named by `label` through an icon * tooltip. `active` shows the pressed state used while its `` is open. * * @slot - 20px icon * @csspart base - The button * @cssprop --ui-header-action-radius - Corners of the button's hover fill and focus box (default 0; Kanok: 6px) */ export declare class UiHeaderGlobalAction extends UiElement { static readonly shadowRootOptions: ShadowRootInit; static readonly styles: import("lit").CSSResult; label: string; active: boolean; tooltipPlacement: 'bottom' | 'bottom-start' | 'bottom-end'; /** * Id of the `` this action opens. Clicking toggles the panel, `active` follows it, * and the button reports `aria-expanded` (a disclosure) instead of `aria-pressed` (a toggle). * The button has an explicit tabindex, as Carbon's (cds-button): Safari then focuses it on click and Tab reaches it. */ panel: string; connectedCallback(): void; disconnectedCallback(): void; /** The document or shadow root whose panels this action follows. */ private root?; private get panelElement(); private readonly onClick; /** The panel also closes itself (Escape, focus leaving); keep `active` in step. */ private readonly onPanelToggle; render(): import("lit-html").TemplateResult<1>; } declare global { interface HTMLElementTagNameMap { 'ui-header-global-action': UiHeaderGlobalAction; } }