export interface ZipEntry { path: string; sizeBytes: number; } export interface ZipResult { buffer: Buffer; entries: ZipEntry[]; /** Detected default file: `index.html` at root, else the single root `.html`. */ entrypoint: string | null; } /** * Walk a directory and build an in-memory zip Buffer plus a manifest preview. * `.git`/`node_modules` and OS junk files are skipped. Paths use forward * slashes so they round-trip cleanly through the backend's POSIX normalizer. */ export declare function zipDirectory(dir: string): ZipResult;