import { Config } from './interfaces/config'; /** * A class to handle the MongoDB operations */ export default class MongoHandler { private config; /** * Create the Handler with the provided config * @param config - The configuration to use */ constructor(config: Config); /** * Get the command line arguments for the request */ private cmdLineArguments; /** * Dump the database */ dumpDatabase(): Promise; /** * Restore the database */ restoreDatabase(): Promise; /** * Execute the command * @param command */ private execute; }