export interface FileMeta { id: string; filename: string; size: number; mimetype: string | null; path: string | null; /** Displayed pixel size, present only for images that could be measured. */ width?: number; height?: number; createdAt: string; } export declare function insertFile(meta: { id: string; filename: string; size: number; mimetype: string | null; path: string | null; width?: number; height?: number; }): FileMeta; export declare function getFile(id: string): FileMeta | undefined; export declare function listFiles(): FileMeta[]; export declare function deleteFile(id: string): boolean; /** Update the recorded on-disk path for a file (used when re-homing into the uploads dir). */ export declare function setFilePath(id: string, filePath: string): void; //# sourceMappingURL=file-registry.d.ts.map