import { ModelOptions } from '../../types/index.js'; interface File { name: string; absPath: string; relPath: string; type: 'file'; size: number; sizeFormatted: string; isModelLocation: boolean; } interface Directory { name: string; absPath: string; relPath: string; type: 'directory'; size: number; sizeFormatted: string; children: FileTreeItem[]; isModelLocation: boolean; fileCount: number; } export type FileTreeItem = File | Directory; export interface ModelCacheInfo { fileTree: FileTreeItem[]; fileCount: number; } interface IndexModelCacheOptions { includeFiles?: boolean; includeUnused?: boolean; usedModels?: Record; } export declare function indexModelCache(dir: string, opts?: IndexModelCacheOptions): Promise; export {};