import { type Component, Container } from "@elyracode/tui"; /** A rewind point shown in the selector. */ export interface RewindPoint { /** Session entry ID for this rewind point. */ entryId: string; /** Human-readable description of the state at this point. */ text: string; /** ISO timestamp. */ timestamp: string; /** Number of files that will change if rewinding to this point. */ filesChanged: number; /** Whether this is the current position in the session. */ isCurrent: boolean; } /** * List component for navigating rewind points. */ declare class RewindList implements Component { private items; private selectedIndex; private maxVisible; onSelect?: (entryId: string) => void; onCancel?: () => void; constructor(items: RewindPoint[], initialSelectedIndex?: number); invalidate(): void; render(width: number): string[]; handleInput(keyData: string): void; } /** * Container component for the rewind selector UI. */ export declare class RewindSelectorComponent extends Container { private rewindList; constructor(items: RewindPoint[], onSelect: (entryId: string) => void, onCancel: () => void, initialSelectedIndex?: number); getList(): RewindList; } export {}; //# sourceMappingURL=rewind-selector.d.ts.map