import { CommonOptions, DirectOptions, URIOptions } from '../types/types';
export declare const generateOptionString: ({ verbose, quiet, readPreference, gzip, database, collection, query, queryFilePath, dumpUsersAndRoles, excludeCollection, excludeWithPrefix, parallel, viewsAsCollections, }: CommonOptions) => string;
export declare const extendedOptionString: ({ host, port, username, password, authenticationDatabase, ...rest }: DirectOptions) => string;
export declare const generatePathOptions: ({ outputPath, archive, removeOldBackups, localBackupRange, archiveExtension, }: CommonOptions) => {
    options: string;
    backupDir: string;
    backupPath: string;
    oldBackupDir: string;
    oldBackupPath: string;
};
export declare const handleBackupProcess: (options: URIOptions | DirectOptions, cmd: string) => Promise<{
    backupPath: string;
    output: {
        stdout: string;
        log: string;
    };
    deleteStatus: {};
    backupDir?: undefined;
    oldBackupPath?: undefined;
    oldBackupDir?: undefined;
} | {
    backupPath: string;
    backupDir: string;
    oldBackupPath: string;
    oldBackupDir: string;
    output: {
        stdout: string;
        log: string;
    };
    deleteStatus: {};
}>;
