import { Command } from 'commander'; export interface ScanEntry { path: string; size: number; type: 'file' | 'dir'; } /** Format a byte count as a human-readable string. */ export declare function formatSize(bytes: number): string; /** * Scan a directory (depth 1) and return entries for each file and subdirectory. * Files get their byte size; directories get their recursive total size. */ export declare function scanDirectory(dir: string): ScanEntry[]; export declare function registerClear(program: Command): void;