export default class WorkerProcess { execCommand(command: string): Promise; /** Inherits stdio; rejects if the process exits with a non-zero code. */ spawnCommand(command: string, args?: string[]): Promise; static getOS(): string; }