/** * The runtime-snapshot card: the prototype's snapshot pane — heading, caption, * then the detail with the standing's note, the commit coordinates, the copy * control, and the committed sections under their producer names. * * @module dsh-context-snapshot-bar/client/SnapshotCard */ import type { BarView } from '../shared/types.ts'; import type { SummaryState } from './summary.ts'; import type { TranslateBar } from './locales.ts'; /** Props for the snapshot card. */ export interface SnapshotCardProps { /** 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 model-written digest of the record on screen. Absent when the Client has * no digest channel, which leaves the card showing the raw record alone. */ summary?: SummaryState; } /** * Format a commit time for display. * @param time - milliseconds since the epoch. * @returns the local time as `HH:MM:SS`. */ export declare function formatTime(time: number): string; /** * Draw the snapshot pane. * @param props - the projection value and the card's copy. * @returns the card element. */ export declare function SnapshotCard({ view, t, summary }: SnapshotCardProps): import("react").JSX.Element; //# sourceMappingURL=SnapshotCard.d.ts.map