import { TApiResources } from '../localTypes/k8s';
export declare const useApiResources: ({ cluster, namespace, apiGroup, apiVersion, plural, name, labels, fields, limit, refetchInterval, isEnabled, }: {
    cluster: string;
    namespace?: string | undefined;
    apiGroup: string;
    apiVersion: string;
    plural: string;
    name?: string | undefined;
    labels?: string[] | undefined;
    fields?: string[] | undefined;
    limit: string | null;
    refetchInterval?: number | false | undefined;
    isEnabled?: boolean | undefined;
}) => import("@tanstack/react-query/build/legacy/types").UseQueryResult<TApiResources, Error>;
export declare const useApiResourceSingle: ({ cluster, namespace, apiGroup, apiVersion, plural, name, refetchInterval, enabler, }: {
    cluster: string;
    namespace?: string | undefined;
    apiGroup: string;
    apiVersion: string;
    plural: string;
    name: string;
    refetchInterval?: number | false | undefined;
    enabler?: boolean | 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?: import("..").TJSON | undefined;
    status?: any;
}, Error>;
