import { LitElement, PropertyValues } from 'lit'; import { ShadowPartsController } from '../../controllers/shadow-parts-controller'; import { Ref } from 'lit/directives/ref.js'; declare global { interface HTMLElementTagNameMap { "wy-titlebar": WyTitlebar; "wy-titlebar-text": WyTitlebarText; } } /** * Header title bar for dialogs. * * @slot first - The first section, which contains `icon`. * @slot middle - The middle section, which contains `title`. * @slot last - The last section, which contains `actions`. * @slot icon - Icon, avatar or button in the `first` section. * @slot title-section - Title in the `middle` section. * @slot title - Text in the `title`. * @slot actions - Action buttons in the `last` section. * * @csspart wy-titlebar - Wrapper for the titlebar. * @csspart wy-titlebar-lg - Wrapper when size is `lg`. * @csspart wy-titlebar-icon - The icon in the first section. * @csspart wy-titlebar-title - The title text in the middle section. * @csspart wy-titlebar-actions - The actions in the last section. * @csspart wy-titlebar-section - Normal section; the middle section. * @csspart wy-titlebar-buttons - Sections with buttons; the icon section and the actions section. * @csspart wy-titlebar-buttons-first - Button section placed in the first section. * @csspart wy-titlebar-buttons-last - Button section placed in the last section. * @csspart wy-header - Outer wrapper when titlebar is defined as header. * @csspart wy-header-floating - Applies floating positioning to wy-header. * @csspart wy-header-outer - Applies outer paddings for wy-header. */ export declare class WyTitlebar extends LitElement { static styles: import('lit').CSSResult[]; protected exportParts: ShadowPartsController; /** * Whether the titlebar is wrapped in a header. */ header: boolean; /** Whether the wrapped header titlebar is floating. */ floating: boolean; /** Whether the wrapped header titlebar should be treated with outer padding and outer border radius. */ outer: boolean; /** * Use trashed visual style for the titlebar text. */ trashed: boolean; /** * Size of the titlebar. Defaults to `md`. */ size: "md" | "lg"; /** * Allow titlebar layout to wrap. */ wrapping: boolean; /** * @internal */ slotIcons: Array; /** * @internal */ slotActions: Array; protected iconSlotRef: Ref; protected actionsSlotRef: Ref; protected iconFillRef: Ref; protected actionsFillRef: Ref; resizeObserver: ResizeObserver; /** * render function for the inner titlebar. * @internal * @returns */ renderTitlebar(): import('../../../node_modules/lit-html/node/lit-html.js').TemplateResult<1>; render(): import('../../../node_modules/lit-html/node/lit-html.js').TemplateResult<1>; protected updated(_changedProperties: PropertyValues): void; disconnectedCallback(): void; } /** * Title text for title bar. * * @slot - Text for the title. * * @csspart wy-titlebar-text - Truncated title text. * @csspart wy-titlebar-text-trashed - State text style when title is trashed. */ export declare class WyTitlebarText extends LitElement { static styles: import('lit').CSSResult[]; protected exportParts: ShadowPartsController; trashed: boolean; render(): import('../../../node_modules/lit-html/node/lit-html.js').TemplateResult<1>; } //# sourceMappingURL=wy-titlebar.d.ts.map