import { HonoRequest } from 'hono'; export interface StorageFile { fieldName: string; originalFilename: string; mimetype: string; encoding: string; size: number; uploadedAt?: string; } export interface StorageOptions { maxSize?: number; tmpDir?: string; } export interface Storage { handleFile(file: File, req: HonoRequest, fieldName: string): Promise; removeFile(file: TFile, force?: boolean): Promise; }