import type { FileRecord } from "./types.js"; export interface ReadOptions { wsPath: string; includeDigest?: boolean; } /** * Get file info by id (non-deleted records only). * Returns the FileRecord or null if not found. */ export declare function getFileInfo(id: string, opts: ReadOptions): Promise; /** * Resolve a file by its canonical visible name. * Legacy ids are still accepted as a fallback for compatibility. */ export declare function resolveFileInfo(selector: string, opts: ReadOptions): Promise; /** * Resolve the absolute path to the stored file. */ export declare function getFilePath(id: string, opts: ReadOptions): Promise; /** * Export (copy) a stored file to a destination path. * Validates that destPath doesn't escape via path traversal. */ export declare function exportFile(id: string, destPath: string, opts: ReadOptions): Promise; //# sourceMappingURL=read.d.ts.map