export interface ListItem { id: string; timestamp: number; icon: string; title: string; subtitle: string; metadata: string; isChild?: boolean; canExpand?: boolean; isExpanded?: boolean; } export interface ListView { header: string; items: ListItem[]; selectedIndex: number; sortMode?: string; sortAscending?: boolean; pagination?: { currentPage: number; totalPages: number; itemsPerPage: number; startIndex: number; endIndex: number; }; } export interface ListActions { onSelect: (item: ListItem, index: number) => void; onBack: () => void; onQuit: () => void; onToggleExpand?: (item: ListItem, index: number) => void; onSelectionChange?: (newIndex: number) => void; } export declare class GenericListView { private view; private actions; constructor(view: ListView, actions: ListActions); render(): void; private clearScreen; private renderHeader; private renderColumnHeaders; private renderItems; private renderItem; private renderControls; handleKey(key: string): void; updateView(newView: ListView): void; updateActions(newActions: ListActions): void; } //# sourceMappingURL=generic-list-view.d.ts.map