import { CreateMediaDto } from '../dtos/create-media.dto';
import { UpdateMediaDto } from '../dtos/update-media.dto';
import { MediaService } from '../services/media.service';
export declare class MediaController {
    private readonly service;
    constructor(service: MediaService);
    create(createDto: CreateMediaDto, files: Array<Express.Multer.File>): Promise<import("..").Media>;
    insertMany(createDtos: CreateMediaDto[], filesArray?: Express.Multer.File[][]): Promise<import("..").Media[]>;
    update(id: number, updateDto: UpdateMediaDto, files: Array<Express.Multer.File>): Promise<import("..").Media>;
    partialUpdate(id: number, updateDto: UpdateMediaDto, files: Array<Express.Multer.File>): Promise<import("..").Media>;
    upload(files: Array<Express.Multer.File>, createDto: CreateMediaDto): Promise<any[]>;
    recoverMany(ids: number[]): Promise<{
        message: string;
        recoveredIds: number[];
    }>;
    recover(id: number): Promise<{
        message: string;
        data: import("..").Media;
    }>;
    findMany(query: any): Promise<{
        meta: {
            totalRecords: number;
        };
        groupMeta: any[];
        groupRecords: any[];
        records?: undefined;
    } | {
        meta: {
            totalRecords: number;
            currentPage: number;
            nextPage: number;
            prevPage: number;
            totalPages: number;
            perPage: number;
        };
        records: import("..").Media[];
        groupMeta?: undefined;
        groupRecords?: undefined;
    }>;
    findOne(id: string, query: any): Promise<import("..").Media>;
    deleteMany(ids: number[]): Promise<any>;
    delete(id: number): Promise<import("..").Media>;
}
//# sourceMappingURL=media.controller.d.ts.map