import { TemplateResult } from 'lit'; import { BahtElement } from '../base.js'; export interface NotificationItem { id: string | number; title: string; body?: string; /** Already formatted for display. */ time?: string; unread?: boolean; } /** * Header bell: an icon button with the unread count and a panel listing the * notifications. Opening emits `baht-open` (refresh then); picking one emits * `baht-select` `{ id }` and closes; "Mark all read" emits `baht-mark-all`. * Escape and a click outside close the panel. The host owns the data. */ export declare class BahtNotificationBell extends BahtElement { items: NotificationItem[]; /** Unread count on the badge; defaults to the unread items. */ count: number | null; label: string; emptyMessage: string; private open; private readonly onDocClick; private readonly onKey; connectedCallback(): void; disconnectedCallback(): void; private get unread(); private pick; private toggle; protected render(): TemplateResult; }