/** * `` — the composer's CONTEXT MEMORY strip * (Figma node 271:38656). * * A one-line summary row pinned to the top of the composer card ("5 recently * viewed items in context") with a `⋯` trigger that opens a dropdown listing * every remembered entity, each removable via its `×`. * * This is the AMBIENT half of the composer's context UI — the entities the host * accumulated from the user's navigation history and sends along with every * message — as opposed to ``, which shows the items the * user ASSIGNED to the message they're typing. Both sit above the input; memory * on top (passive, always the same items), assigned chips closest to the * textarea (active selection for this message). * * The lib owns only the chrome: items and removal are host-fed * (`EmbeddableChat`'s `contextMemory` prop), and lead glyphs come from the * picker's entity-type icon map via `resolveIcon`. Renders `null` when the host * has nothing remembered, so it has no permanent footprint. */ import type * as React from 'react'; import type { ChatContextItem } from './types/context-item.types'; export interface ChatContextMemoryBarProps { /** Remembered entities, most-recent-first. Empty → the bar renders nothing. */ items: ChatContextItem[]; /** Drop one entity from the host's memory (dropdown row `×`). When omitted the * list is read-only. */ onRemove?: (item: ChatContextItem) => void; /** Lead-glyph resolver — the composer passes its entity-type icon map, so the * rows match the picker and the assigned chips. */ resolveIcon?: (item: ChatContextItem) => React.ReactNode; /** External disable (e.g. while a message is streaming). */ disabled?: boolean; className?: string; } export declare function ChatContextMemoryBar({ items, onRemove, resolveIcon, disabled, className, }: ChatContextMemoryBarProps): React.JSX.Element | null; //# sourceMappingURL=chat-context-memory-bar.d.ts.map