/**
 * Copyright (c) OpenLens Maintainers. All rights reserved.
 * Licensed under MIT License. See LICENSE in root directory for more information.
 */
import type { JsonApiError } from "@openlens/json-api";
import { JsonApi } from "@openlens/json-api";
import type { Response } from "@openlens/node-fetch";
import type { KubeJsonApiData } from "@openlens/kube-object";
export interface KubeJsonApiError extends JsonApiError {
    code: number;
    status: string;
    message?: string;
    reason: string;
    details: {
        name: string;
        kind: string;
    };
}
export declare class KubeJsonApi extends JsonApi<KubeJsonApiData> {
    protected parseError(error: KubeJsonApiError | string, res: Response): string[];
}
