import { Response } from 'express';
import { FileManagerService } from './file-manager.service';
type UploadedManagedFile = {
    originalname: string;
    mimetype: string;
    buffer?: Buffer;
    path?: string;
    size: number;
};
export declare class FileManagerController {
    private readonly fileManagerService;
    constructor(fileManagerService: FileManagerService);
    list(path?: string, limit?: string, offset?: string): Promise<{
        rootName: string;
        currentPath: string;
        parentPath: string;
        items: {
            name: string;
            relativePath: string;
            kind: "file" | "folder";
            extension: string;
            fileType: string;
            size: number;
            modifiedAt: string;
            isImage: boolean;
            isArchive: boolean;
        }[];
        total: number;
        offset: number;
        limit: number;
        hasMore: boolean;
    }>;
    createFolder(body: {
        path?: string;
        name?: string;
    }): Promise<{
        created: boolean;
    }>;
    createFile(body: {
        path?: string;
        name?: string;
        content?: string;
    }): Promise<{
        created: boolean;
    }>;
    rename(body: {
        path?: string;
        name?: string;
    }): Promise<{
        renamed: boolean;
    }>;
    move(body: {
        paths?: string[];
        destinationPath?: string;
    }): Promise<{
        moved: number;
        skipped: number;
        destinationPath: string;
    }>;
    remove(path?: string): Promise<{
        deleted: boolean;
    }>;
    upload(files: UploadedManagedFile[], path?: string): Promise<{
        uploaded: number;
    }>;
    unzip(body: {
        path?: string;
        destinationName?: string;
    }): Promise<{
        extracted: boolean;
        folder: string;
        name: string;
    }>;
    content(path: string | undefined, download: string | undefined, response: Response): Promise<any>;
}
export {};
