UNPKG

@neo-one/node-data-backup

Version:

NEO•ONE node data path backup and restore.

27 lines (26 loc) 774 B
import { Monitor } from '@neo-one/monitor'; import { Environment } from '../types'; import { Provider } from './Provider'; export interface Options { readonly download?: { readonly id: string; readonly key: string; }; readonly upload?: { readonly email: string; readonly password: string; readonly file: string; }; } export declare class MegaProvider extends Provider { private readonly environment; private readonly options; constructor({ environment, options }: { readonly environment: Environment; readonly options: Options; }); canRestore(): Promise<boolean>; restore(monitorIn: Monitor): Promise<void>; backup(monitorIn: Monitor): Promise<void>; private getMega; }