import { type BuildCodebaseOptions } from './build.js';
import type { CodebaseIndex } from './types.js';
export interface CachedCodebaseIndex extends CodebaseIndex {
    cacheVersion: string;
    cachedAt: string;
    fileHashes: Record<string, string>;
}
export declare function loadIndexCache(cachePath: string): Promise<CachedCodebaseIndex | undefined>;
export declare function saveIndexCache(index: CachedCodebaseIndex, cachePath: string): Promise<void>;
export declare function invalidateCache(cachePath: string): Promise<void>;
export declare function buildCodebaseIndexCached(options: BuildCodebaseOptions & {
    cachePath?: string;
}): Promise<CachedCodebaseIndex>;
