import { type SqliteDatabase } from '../sqlite/sqlite-driver.js'; import type { BeeManifest } from '../sediment/types.js'; /** Compute the sha256 hash and byte length of a single file. */ export declare function sha256OfFile(p: string): { sha: string; bytes: number; }; /** Copy a file into the content-addressed blob store under `blobsDir//` * if not already present, and return the relative blob_path used by `bee_file`. */ export declare function ensureBlob(blobsDir: string, sha: string, srcPath: string): string; export declare function walk(root: string, base?: string): Generator<{ abs: string; rel: string; }>; export declare function retainRelease({ db, blobsDir, scratchDir, manifest, version: explicitVersion, parentVersion, changelog }: { db: SqliteDatabase; blobsDir: string; scratchDir: string; manifest: BeeManifest; version?: string; parentVersion?: string; changelog?: string; }): number;