import { KubernetesApi } from './types';
import { Event } from 'kubernetes-models/v1';
/**
 * A client for common requests through the proxy endpoint of the kubernetes backend plugin.
 *
 * @public
 */
export declare class KubernetesProxyClient {
    private readonly kubernetesApi;
    constructor(options: {
        kubernetesApi: KubernetesApi;
    });
    private handleText;
    private handleJson;
    getEventsByInvolvedObjectName({ clusterName, involvedObjectName, namespace, }: {
        clusterName: string;
        involvedObjectName: string;
        namespace: string;
    }): Promise<Event[]>;
    getPodLogs({ podName, namespace, clusterName, containerName, previous, }: {
        podName: string;
        namespace: string;
        clusterName: string;
        containerName: string;
        previous?: boolean;
    }): Promise<{
        text: string;
    }>;
    deletePod({ podName, namespace, clusterName, }: {
        podName: string;
        namespace: string;
        clusterName: string;
    }): Promise<{
        text: string;
    }>;
}
