import { Binary } from '@neo-one/server-plugin'; export declare class ServerManager { private readonly dataPath; private readonly serverVersion; constructor({ dataPath, serverVersion }: { readonly dataPath: string; readonly serverVersion: string; }); getServerPID(): Promise; getServerVersion(): Promise; getCurrentVersion({ port }: { readonly port: number; }): Promise; compareVersions(verA: string, verB: string): 1 | 0 | -1; getRelativeServerVersion({ port, expectedVersion, }: { readonly port: number; readonly expectedVersion: string; }): Promise; checkAlive(port: number): Promise; kill(optionsIn?: { readonly pid: number; }): Promise; start({ port, httpPort, binary, onStart, }: { readonly port: number; readonly httpPort: number; readonly binary: Binary; readonly onStart?: () => void; }): Promise<{ readonly pid: number; readonly started: boolean; readonly newerVersion: string | undefined; }>; writeVersionPID(pid: number, version: string): Promise; writeVersion(version: string): Promise; writePID(pid: number): Promise; readonly checkPath: string; readonly pidPath: string; readonly versionPath: string; }