import * as pm2 from "pm2"; export declare function pm2connect(): Promise; export declare function pm2disconnect(): void; export declare function pm2list(): Promise; export declare function pm2stop(name: string): Promise; export declare function pm2restart(name: string): Promise; export declare function pm2delete(name: string): Promise; export declare function pm2start(options: pm2.StartOptions): Promise; export type Platform = 'ubuntu' | 'centos' | 'redhat' | 'gentoo' | 'systemd' | 'darwin' | 'amazon'; export declare function pm2startup(platform: Platform): Promise; export declare function pm2dump(): Promise; export declare function pm2exists(name: string): Promise;