import "./icon-YIyJDwM9.js"; import { LitElement } from "lit"; type TitlebarOrientation = `horizontal` | `vertical`; type TitlebarVariant = `titlebar` | `midline` | `tree`; type TitlebarToggleInteraction = `implicit` | `explicit` | `disabled`; interface TitlebarToggleDetail { readonly collapsed: boolean; } type TitlebarToggleEvent = CustomEvent; type TitlebarCloseEvent = CustomEvent; interface TitlebarElementEventMap { toggle: TitlebarToggleEvent; close: TitlebarCloseEvent; } /** * Standalone titlebar chrome: title, icon, toolbar slot, close button and * optional collapse/expand caret. Extracted from `ixfx-panel`. * * Collapsing is opt-in via `collapsible`. When absent, no caret is shown and * `toggle-interaction` is inert. `close` is fired without removing the * element — the host decides what closing means. * * CSS variables * `--titlebar-background` – bar fill (default: `var(--surface-4)`). * Set to `transparent` for a translucent header over blurred content. */ declare class TitlebarElement extends LitElement { title: string; iconName: string; orientation: TitlebarOrientation; variant: TitlebarVariant; closable: boolean; /** Show the collapse/expand caret and enable toggle behaviour. */ collapsible: boolean; collapsed: boolean; toggleInteraction: TitlebarToggleInteraction; private _onToggleClick; private _onCloseClick; private _getCaretIcon; protected render(): import("lit").TemplateResult<1>; static styles: import("lit").CSSResult[]; } declare global { interface HTMLElementTagNameMap { 'ixfx-titlebar': TitlebarElement; } } interface TitlebarElement { addEventListener: ((type: K, listener: (this: TitlebarElement, event: TitlebarElementEventMap[K]) => void, options?: boolean | AddEventListenerOptions) => void) & ((type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions) => void); } export { TitlebarToggleDetail as a, TitlebarVariant as c, TitlebarOrientation as i, TitlebarElement as n, TitlebarToggleEvent as o, TitlebarElementEventMap as r, TitlebarToggleInteraction as s, TitlebarCloseEvent as t };