import type { WandbAccessor } from '../../accessor/wandb.ts';
import { ContentType, DirListing, FileStat, type PathSpec } from '../../types.ts';
import type { IndexCacheStore } from '../../cache/index/store.ts';
import type { FileMetadata } from './types.ts';
export declare function row(name: string, directory: boolean, size?: number | null, content?: ContentType | null): FileStat;
export declare function fileTree(files: FileMetadata[]): Map<string, FileStat[]>;
/** A directory's rows. Mirrors `readdir` in `mirage/core/wandb/readdir.py`. */
export declare function readdir(accessor: WandbAccessor, pathSpec: PathSpec, index?: IndexCacheStore, limit?: number): Promise<FileStat[] | DirListing>;
//# sourceMappingURL=readdir.d.ts.map