import { AbstractMediaManager } from "../../lib/media-manager/AbstractMediaManager"; export declare class MediaManagerAdapter { private manager; constructor(manager: AbstractMediaManager); delete(req: ReqType, res: ResType): Promise; get(req: ReqType, res: ResType): Promise; getLocales(req: ReqType): { [k: string]: string; }; search(req: ReqType, res: ResType): Promise; getVariants(req: ReqType, res: ResType): Promise; private setStorage; private checkDirectory; private getUploadConfig; private handleUpload; uploadVariant(req: ReqType, res: ResType): Promise; upload(req: ReqType, res: ResType): Promise; getMeta(req: ReqType, res: ResType): Promise; setMeta(req: ReqType, res: ResType): Promise; /** * Check if the file type is allowed. * @param allowedTypes - Array of allowed MIME types (e.g., ["image/*", "video/mp4"]) * @param type - MIME type of the uploaded file (e.g., "image/jpeg") * @returns `true` if allowed, `false` if not allowed */ checkMIMEType(allowedTypes: string[], type: string): boolean; }