import { FC } from 'react'; interface Props { /** Friendly label for the page the user is on (e.g. "Inventory"). */ /** * Where the user is, or `null` when the product cannot say. * * ★ Nullable, and the whole segment is dropped rather than filled with a * placeholder. `describeCurrentPage` is optional on the product seam, so a * product with no route model reaches here with nothing — and "Context: null" * beside a claim to be Ready is worse than saying nothing at all. */ contextLabel: string | null; onNewConversation: () => void; onOpenHistory: () => void; /** True when the history drawer is currently open (drives the toggle state). */ historyOpen: boolean; /** * ★★ OPTIONAL, because this component is published. `AssistantHeader` is * `export *`-ed from the assistant barrel and reaches the built package, so a * product that composes its own panel chrome renders it directly. Two * REQUIRED props would have failed that product's build the moment it bumped * fe-libs — a breaking change to ship an OPTIONAL capability, which is * exactly backwards. Absent, the toggle simply does not render. */ onTogglePreview?: () => void; previewOpen?: boolean; onClose: () => void; docked?: boolean; onToggleDock?: () => void; } /** * AssistantHeader — the v2 identity bar (per the ai-assistant-v2 mockups): * a ✦ brand mark + "HealthyBowl AI", a small availability/context subtitle * ("Ready · Context: "), and a row of icon actions: New conversation, * History (opens the conversation list as an overlay drawer — NOT an accordion), * Export, Dock toggle, Close. * * Replaces the old "Conversation History" accordion header. HB semantic tokens * only; copy via useAssistantTr. */ export declare const AssistantHeader: FC; export {}; //# sourceMappingURL=AssistantHeader.d.ts.map