import { Request, Response } from 'express';
import { DeleteDTO } from './dto/delete.dto';
import { UploadFileDTO } from './dto/upload.dto';
import { FileService } from './file.service';
export declare class FileController {
    private readonly fileService;
    constructor(fileService: FileService);
    list(paginationParams: any): Promise<{
        total: any;
        lastPage: number;
        page: number;
        pageSize: number;
        prev: number;
        next: number;
        data: any[];
    }>;
    show(id: any): Promise<{
        filename: string;
        location: string;
        id: number;
        path: string;
        size: number;
        created_at: Date;
        updated_at: Date;
        provider_id: number;
        mimetype_id: number;
    }>;
    getTempOpenURL(id: number): Promise<{
        url: any;
    }>;
    getTempURL(id: number, req: Request): Promise<{
        url: string;
    }>;
    download(token: string, res: Response, locale: string): Promise<void>;
    open(token: string, res: Response, locale: string): Promise<void>;
    upload(file: MulterFile, body: UploadFileDTO): Promise<{
        filename: string;
        location: string;
        id: number;
        path: string;
        size: number;
        created_at: Date;
        updated_at: Date;
        provider_id: number;
        mimetype_id: number;
    }>;
    delete(data: DeleteDTO, locale: string): Promise<number[]>;
}
//# sourceMappingURL=file.controller.d.ts.map