/** * TicketAlertsButton — the unified header affordance for support-ticket * unread indication. Mounted by BOTH header shells (hub `Header` via * `HeaderConfig.tickets`, console `AppHeader` via `showTicketAlerts`). * * ATTENTION-ONLY element, deliberately unlike the always-on header cells: * - renders NOTHING unless there are unread support replies (and a * `TicketLiveProvider` is mounted and the viewer is signed in) — * appearing IS the indication, and it disappears once everything * is read; * - standard header-cell glyph coloring (matches the notifications / * time-tracker cells) + accent count pill (2 updates → "2", the * sidebar count-pill treatment); * - clicking routes to the ticket with the NEWEST unread reply via the * SSOT deep link (`buildTicketOpenHref` → `?ticket=`): the * `?ticket=` param is the ONE open-drawer source of truth in * `HelpCenterList`, and opening the drawer already smooth-scrolls * the row. With multiple updates the pill stays up with the * remaining count and the next click routes to the next-newest * unread ticket. * * Design note: the console's NATS-backed `NotificationsProvider` bell * covers OpenFrame-internal events; Help Center replies come from the * HubSpot mirror domain and must ALSO surface on the hub, which mounts * no notifications system — so the affordance both hosts can share is * this dedicated cell, not the bell. */ import React from 'react'; export interface TicketAlertsButtonProps { /** BASE path of the host's tickets surface — may carry ANY nesting * prefix (hub `/tickets`, console `/help-center/tickets`, an * embedder's `/support/portal/tickets`). The deep link is built by * the SSOT `buildTicketOpenHref` (`?ticket=` — the same * param `HelpCenterList` derives its drawer state from; opening the * drawer also smooth-scrolls the row). */ href: string; /** Host navigation (router push) — receives the FULL computed href. * Defaults to `window.location.assign`. */ onNavigate?: (href: string) => void; disabled?: boolean; className?: string; } export declare function TicketAlertsButton({ href, onNavigate, disabled, className }: TicketAlertsButtonProps): React.JSX.Element | null; export default TicketAlertsButton; //# sourceMappingURL=ticket-alerts-button.d.ts.map