/** * Types for status management */ import type { IndexingStatus } from '../types/models.js'; /** * Status icon mapping */ export declare const STATUS_ICONS: { readonly standby: "⚪"; readonly indexing: "🟡"; readonly indexed: "🟢"; readonly error: "🔴"; }; /** * Status display information */ export interface StatusDisplay { status: IndexingStatus; icon: string; message: string; color?: string; } /** * Progress information */ export interface ProgressInfo { percentage: number; filesProcessed: number; filesTotal: number; currentFile?: string; estimatedTimeRemaining?: number; rate?: number; } /** * Statistics information */ export interface StatsInfo { totalBlocks: number; totalVectors: number; totalFiles: number; languages: Record; fileTypes: Record; lastIndexed?: Date; indexingTime: number; averageBlocksPerFile: number; failureRate: number; } /** * Error information */ export interface ErrorInfo { file: string; error: string; timestamp: Date; retries?: number; } /** * Complete status information */ export interface CompleteStatus { status: IndexingStatus; statusIcon: string; progress: ProgressInfo; stats: StatsInfo; errors: ErrorInfo[]; isWatching: boolean; currentBranch?: string; queueSize: number; } /** * Status change event */ export interface StatusChangeEvent { previousStatus: IndexingStatus; newStatus: IndexingStatus; timestamp: Date; reason?: string; } /** * Status history entry */ export interface StatusHistoryEntry { status: IndexingStatus; timestamp: Date; duration?: number; filesProcessed?: number; } //# sourceMappingURL=types.d.ts.map