import { Logger } from '../../utils/logger'; export interface FileState { lastModified: number; chunkIds: string[]; } export interface IndexState { version?: number; lastCommitSha?: string; files: Record; } export declare class IndexingStateManager { private logger; private statePath; private state; constructor(logger: Logger, projectRoot: string); /** * Loads the current state from disk. */ load(): void; /** * Saves the current state to disk. */ save(): void; /** * Gets the last processed commit SHA. */ getLastCommitSha(): string | undefined; /** * Sets the last processed commit SHA. */ setLastCommitSha(sha: string): void; /** * Gets the state for a specific file. */ getFileState(filePath: string): FileState | undefined; /** * Updates the state for a file. */ updateFileState(filePath: string, lastModified: number, chunkIds: string[]): void; /** * Removes a file from the state. */ removeFileState(filePath: string): void; /** * Returns all tracked file paths. */ getTrackedFiles(): string[]; } //# sourceMappingURL=indexing-state.d.ts.map