/** * Compute SHA-256 hash of a file, returned as a hex string. */ export declare function hashFile(filePath: string): Promise; /** * Store a file into the workspace files directory. * * Creates a `/` subdirectory, then tries a hard link first * (fast, no extra disk usage). Falls back to copyFile on error * (e.g. cross-device link or unsupported filesystem). * * @returns The full destination path. */ export declare function storeFile(src: string, filesDir: string, id: string, ext: string): Promise; /** * Remove a file from the workspace. */ export declare function removeFile(filePath: string): Promise; //# sourceMappingURL=files.d.ts.map