import type { Request, Response, NextFunction } from "express";
interface FieldConfig {
    name: string;
    folder: string;
    prefix?: string;
    maxCount?: number;
}
/**
 * Multi-field upload middleware. Supports multiple named file fields in a
 * single multipart request, each saved to its own folder with its own
 * filename prefix (e.g. logo -> uploads/logos, authorizedSign -> uploads/signatures).
 */
export declare const createFieldsUploadMiddleware: (fields: FieldConfig[]) => (req: Request, res: Response, next: NextFunction) => void;
export declare const createUploadMiddleware: (folderPath: string, fieldName: string, prefix?: string) => (req: Request, res: Response, next: NextFunction) => void;
/**
 * Memory-storage multer middleware for a single Excel (.xlsx) file.
 * The parsed buffer is available at req.file.buffer.
 */
export declare const createExcelUploadMiddleware: (fieldName?: string) => (req: Request, res: Response, next: NextFunction) => void;
export declare const createMultipleUploadMiddleware: (folderPath: string, fieldName?: string, maxCount?: number, maxFileSizeMb?: number, prefix?: string) => (req: Request, res: Response, next: NextFunction) => void;
export {};
//# sourceMappingURL=upload.middleware.d.ts.map