import { TJSON } from '../localTypes/JSON';
export declare const useCrdResources: <T = TJSON[]>({ cluster, namespace, apiGroup, apiVersion, crdName, refetchInterval, isEnabled, }: {
    cluster: string;
    namespace?: string | undefined;
    apiGroup: string;
    apiVersion: string;
    crdName: string;
    refetchInterval?: number | false | undefined;
    isEnabled?: boolean | undefined;
}) => import("@tanstack/react-query/build/legacy/types").UseQueryResult<{
    kind: string;
    apiVersion: string;
    metadata: {
        managedFields?: any;
    };
    items: T;
    status?: {
        allowed?: boolean | undefined;
        reason?: string | undefined;
    } | undefined;
}, Error>;
export declare const useCrdResourceSingle: ({ cluster, namespace, apiGroup, apiVersion, crdName, name, refetchInterval, }: {
    cluster: string;
    namespace?: string | undefined;
    apiGroup: string;
    apiVersion: string;
    crdName: string;
    name: string;
    refetchInterval?: number | false | undefined;
}) => import("@tanstack/react-query/build/legacy/types").UseQueryResult<{
    metadata: {
        name: string;
        creationTimestamp: string;
        uid?: string | undefined;
        namespace?: string | undefined;
        managedFields?: any;
        resourceVersion?: number | undefined;
    };
    spec?: TJSON | undefined;
    status?: any;
}, Error>;
