/** * SDLoader Persistent Index * * Caches the results of package scanning to disk so that subsequent * startups don't need to rescan all packages (saves 2-4 seconds). * * The index is invalidated when: * - Any package manifest changes * - The index file is missing * - The index file version doesn't match * * Package directory mtimes are deliberately not used here. Container image * COPY operations may rewrite them even though the immutable package content * is unchanged, which would make a build-time index unusable at runtime. */ export interface PersistentIndexOptions { deduplicatePackages?: boolean; } /** * Load profile URLs from persistent index if valid * Returns null if index is missing, invalid, or outdated */ export declare function loadFromPersistentIndex(sourcePath: string, options?: PersistentIndexOptions): Promise | null>; /** * Save profile URLs to persistent index */ export declare function saveToPersistentIndex(sourcePath: string, profileUrls: Set, packageDetails: Array<{ name: string; profileCount: number; }>, options?: PersistentIndexOptions): Promise; /** * Clear the persistent index (force rescan on next startup) */ export declare function clearPersistentIndex(sourcePath: string): Promise; //# sourceMappingURL=sd-loader-persistent-index.d.ts.map