import { LitElement } from 'lit'; import './pageTitleOption'; import type { PageTitleOption } from './pageTitleOption'; /** * Page Title * * If the contextual variant is used to trigger navigation, consider using anchor elements instead, as buttons do not convey destination information to assistive technology users. * @slot icon - Slot for icon. Use size 56 * 56 as per UX guidelines. * @slot unnamed - Slot for `kyn-pagetitle-option` elements when using the contextual variant. * @fires on-change - Fired when a contextual dropdown item is selected. Detail: `{ value: string, text: string }`. */ export declare class PageTitle extends LitElement { static styles: import("lit").CSSResult; /** Headline text. */ accessor headLine: string; /** Page title text (required). Used as fallback when no contextual item is selected. */ accessor pageTitle: string; /** Page subtitle text. */ accessor subTitle: string; /** Type of page title `'primary'` , `'secondary'` & `'tertiary'`. */ accessor type: string; /** Set this to `true` for AI theme. */ accessor aiConnected: boolean; /** Enables the contextual dropdown variant with a chevron toggle. */ accessor contextual: boolean; /** Whether the contextual dropdown is open. */ accessor open: boolean; /** The value of the currently selected contextual item. Auto-selects first item if not set. * @internal */ accessor selectedValue: string; /** * Slotted `kyn-pagetitle-option` elements. * @internal */ accessor _options: Array; /** * @ignore */ private _onDocumentClick; /** * @ignore */ private _handleOptionClick; connectedCallback(): void; disconnectedCallback(): void; updated(changedProps: Map): void; private _syncOptions; private _handleSlotChange; private _getDisplayTitle; private _emitChange; private _toggleDropdown; private _closeDropdown; private _handleTriggerKeydown; private _handleListboxKeydown; render(): import("lit-html").TemplateResult<1>; private _renderContextualTitle; } declare global { interface HTMLElementTagNameMap { 'kyn-page-title': PageTitle; } } //# sourceMappingURL=pageTitle.d.ts.map