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