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