import type { StreamableFile } from '@nestjs/common';
import type { FastifyRequest } from 'fastify';
import { Logger } from '../../core/logger/logger.service';
import { BackupService } from './backup.service';
export declare class BackupController {
    private backupService;
    private logger;
    constructor(backupService: BackupService, logger: Logger);
    createBackupInDirectory(): Promise<void>;
    downloadBackup(res: any): Promise<StreamableFile>;
    getNextBackupTime(): Promise<{
        next: boolean | Date;
    }>;
    listScheduledBackups(): Promise<{
        id: string;
        instanceId: string;
        timestamp: Date;
        fileName: string;
        size: string;
        maxBackupSize: number;
        maxBackupSizeText: any;
    }[]>;
    getScheduledBackup(backupId: any): Promise<StreamableFile>;
    deleteScheduledBackup(backupId: any): Promise<void>;
    restoreScheduledBackup(backupId: any): Promise<void>;
    restoreBackup(req: FastifyRequest): Promise<void>;
    restoreBackupTrigger(): Promise<{
        status: number;
    }>;
    restoreHbfx(req: FastifyRequest): Promise<void>;
    postBackupRestoreRestart(): {
        status: number;
    };
}
