import { type PropertyValues } from 'lit'; import { UiElement } from '../shared/element.js'; import { type PageHeaderState } from './page-header-shared.js'; import '../truncated-text/truncated-text.js'; import '../icon-button/icon-button.js'; import './page-header-overflow.js'; export * from './page-header-breadcrumb.js'; export * from './page-header-content.js'; export * from './page-header-content-text.js'; export * from './page-header-hero-image.js'; export * from './page-header-tabs.js'; export * from './page-header-scroller.js'; export * from './page-header-title-breadcrumb.js'; export type { PageHeaderState } from './page-header-shared.js'; export { UiPageHeaderActions, UiPageHeaderTags, type PageHeaderTag } from './page-header-overflow.js'; /** * Carbon `PageHeader` (Carbon for IBM Products `c4p-page-header`): the top of a page — a 40px breadcrumb bar * (``), the content (``: heading-04 title, icon, contextual and * page actions, ``), and a tab bar (``), on layer-01 with a line * below. It sticks as the page scrolls: the content slides under the breadcrumb bar, which stays (as do the tabs); * once the title has gone its `` appears in the trail, and the content's page * actions give way to the bar's `slot="content-actions"`. `` collapses / expands it. * * @fires ui-page-header-state - The state changed (`state`: fullyCollapsed, titleClipped, contentActionsClipped …); not bubbling * @slot - The parts * @cssprop --ui-page-header-top - Set by the header: how far up it sticks (minus the content's height) * @cssprop --ui-page-header-bar-top - Set by the header: where the bar sticks (under a fixed UI shell) */ export declare class UiPageHeader extends UiElement { static readonly styles: import("lit").CSSResult; /** No 1584px cap on the grid. */ fullWidthGrid: boolean; /** Hang the text on the grid margin. */ narrowGrid: boolean; /** The shared state; its parts read it. */ state: PageHeaderState; private resizeObserver?; private observers; connectedCallback(): void; disconnectedCallback(): void; protected updated(changed: PropertyValues): void; /** Merge into the state and tell the parts. */ setState(next: Partial): void; /** A tab bar asks the header not to stick (Carbon `disableStickyTabBar`): the bar is fixed instead. */ setStatic(on: boolean): void; private disconnectObservers; /** Where the header and its bar stick, and what to watch scroll under the bar. */ private measure; render(): import("lit-html").TemplateResult<1>; } declare global { interface HTMLElementTagNameMap { 'ui-page-header': UiPageHeader; } }