import { IKubernetesRESTClient, ListOptions, PatchKind, WatchOptions, WatchResult } from "./client"; import { Registry } from "prom-client"; import { DeleteOptions, WatchEvent } from "./types/meta/v1"; import { MetadataObject } from "./types/meta"; export declare class MonitoringKubernetesRESTClient implements IKubernetesRESTClient { private inner; private requestLatencies; private errorCount; constructor(inner: IKubernetesRESTClient, registry: Registry); private wrap; post(url: string, body: any): Promise; put(url: string, body: any): Promise; delete(url: string, opts?: DeleteOptions, queryParams?: { [p: string]: string; }, body?: any): Promise; get(url: string, opts?: ListOptions): Promise; patch(url: string, body: any, patchKind: PatchKind): Promise; watch(url: string, onUpdate: (o: WatchEvent) => any, onError: (err: any) => any, opts?: WatchOptions): Promise; }