import { KubeConfig } from '@kubernetes/client-node'; import request from 'request-promise-native'; import requestForStream from 'request'; export declare type watchCallback = (phase: string, obj: any) => void; export declare type watchDone = (err: any) => void; export declare class Request { private kubeConfig; constructor(kubeConfig: KubeConfig); private getRequestOptions; get(path: string, options?: {}): Promise; post(path: any, body: any): Promise; put(path: any, body: any): Promise; patch(path: any, body: any, _options?: any): Promise; delete(path: any): Promise; watch(path: any, opts: request.Options, callback: watchCallback, done: watchDone): Promise; }