export declare function uninstall(pkgSpec: string, options: { global?: boolean; agent?: string; }): Promise;