/** * The context column: the prototype's own two tabs, fixed above whichever card * is showing, so either card is one click away for as long as the column is * open. * * The composer entry opens this column with the snapshot tab selected, which * arrives as the tab's navigation parameters; a later navigation to the same * tab re-applies them. * * @module dsh-context-snapshot-bar/client/ContextPanel */ import type { BarView } from '../shared/types.ts'; import type { TranslateBar } from './locales.ts'; import { type SummaryCaller } from './summary.ts'; /** Which card the column is showing. */ export type ContextPane = 'trajectory' | 'snapshot'; /** Props for the column. */ export interface ContextPanelProps { /** The current projection value, absent until the first baseline or frame carries the key. */ view: BarView | undefined; /** The pane the opener asked for, or undefined when nobody asked. */ requested: ContextPane | undefined; /** Bumped by every navigation to this tab, so a repeat open re-applies the request. */ navigationRevision: number; /** Translate a key in this plugin's namespace. */ t: TranslateBar; /** Reads the digest channel's caller, which the Client provides asynchronously. */ summaryCaller?: () => SummaryCaller | undefined; } /** * Draw the column with its tabs and the selected card. * @param props - the projection value, the opener's request, and the copy. * @returns the column element. */ export declare function ContextPanel({ view, requested, navigationRevision, t, summaryCaller }: ContextPanelProps): import("react").JSX.Element; //# sourceMappingURL=ContextPanel.d.ts.map