import { UiElement } from '../shared/element.js'; /** * One link of a ``: a title (the default slot), and optionally an icon (`icon` slot) and a * one-line `description` under the title (Vercel's Products menu). `current` marks the page (`aria-current="page"`). * Following it closes the mega menu. * * @slot - The title * @slot icon - An icon before the title (20px) * @csspart base - The link * @csspart description - The line under the title * @fires ui-navigate - detail: { href } (cancelable) on a plain click of the link; cancel it to route client-side (README: SPA router) * @cssprop --ui-mega-item-font - The title's type (default Carbon's body 14px; Kanok: 20px, as Vercel) * @cssprop --ui-mega-item-ink - The title's colour (default `--ui-ink-muted`; Kanok: `--ui-ink`); hovered or current it is `--ui-ink` * @cssprop --ui-mega-item-hover-background - The row's fill while hovered (default `--ui-layer-hover-1`; Kanok: `--ui-canvas-hover`) * @cssprop --ui-mega-item-radius - The row's corners (default 0; Kanok: 8px) */ export declare class UiHeaderMegaItem extends UiElement { static readonly shadowRootOptions: ShadowRootInit; static readonly styles: import("lit").CSSResult; href: string; /** A line under the title. */ description: string; current: boolean; /** Where the link opens (`_blank` for a new tab), as on ``. */ target: string; /** The link's relation (`noopener`, `external` …), as on ``. */ rel: string; private hasIcon; connectedCallback(): void; protected updated(changed: Map): void; private onIconSlotChange; render(): import("lit-html").TemplateResult<1>; } declare global { interface HTMLElementTagNameMap { 'ui-header-mega-item': UiHeaderMegaItem; } }