/** * The composer entry: the prototype's runtime-snapshot row, docked above the * input. It reads the same projection the pane does, reports the same summary * and standing, and its click reveals the snapshot card in the right column — * the prototype wires the identical toggle to the identical action. * * @module dsh-context-snapshot-bar/client/ComposerEntry */ import type { BarView } from '../shared/types.ts'; import type { TranslateBar } from './locales.ts'; /** What the entry asks of the right column. */ export interface ComposerEntryInjected { /** * Open the snapshot card, revealing the column. * @returns nothing; the column records the navigation. */ open: () => void; } /** Props for the composer entry. */ export interface ComposerEntryProps extends ComposerEntryInjected { /** The current projection value, absent until the first baseline or frame carries the key. */ view: BarView | undefined; /** Translate a key in this plugin's namespace. */ t: TranslateBar; } /** * The row's summary line: the committed sections and their time, the cleared * marker, or the fact that nothing was committed yet. * @param view - the current projection value. * @param t - namespace-bound translate. * @returns the line drawn beside the title. */ export declare function entrySummary(view: BarView | undefined, t: TranslateBar): string; /** * Draw the composer row. * @param props - the projection value, the column opener, and the copy. * @returns the entry element. */ export declare function ComposerEntry({ view, open, t }: ComposerEntryProps): import("react").JSX.Element; //# sourceMappingURL=ComposerEntry.d.ts.map