/**
 * SPDX-License-Identifier: Apache-2.0
 */
import type http from 'node:http';
import { type ResourceOperation } from './resources/resource_operation.js';
import { type ResourceType } from './resources/resource_type.js';
import { type NamespaceName } from './resources/namespace/namespace_name.js';
export declare class KubeApiResponse {
    private constructor();
    /**
     * Checks the response for an error status code and throws an error if one is found.
     *
     * @param response - the HTTP response to be verified.
     * @param resourceType - the type of resource being checked.
     * @param resourceOperation - the operation being performed on the resource.
     * @param namespace - the namespace of the resource being checked.
     * @param name - the name of the resource being checked.
     */
    static check(response: http.IncomingMessage, resourceOperation: ResourceOperation, resourceType: ResourceType, namespace: NamespaceName, name: string): void;
    static isFailingStatus(response: http.IncomingMessage): boolean;
    static isNotFound(response: http.IncomingMessage): boolean;
    static isCreatedStatus(response: http.IncomingMessage): boolean;
}
