import { AxiosError } from 'axios';
import { TSingleResource } from '../../localTypes/k8s';
export type TUseK8sSmartResourceParams<T> = {
    cluster: string;
    apiGroup?: string;
    apiVersion: string;
    plural: string;
    namespace?: string;
    fieldSelector?: string;
    labelSelector?: string;
    limit?: number;
    isEnabled?: boolean;
    listRefetchInterval?: number | false;
    mapListWatchState?: (state: {
        order: string[];
        byKey: Record<string, TSingleResource>;
    }) => T;
};
type SmartResult<T> = {
    data: T | undefined;
    isLoading: boolean;
    isError: boolean;
    error: AxiosError | Error | string | undefined;
    _meta?: {
        used: 'list' | 'watch' | 'disabled' | 'verbs-loading' | 'verbs-error';
    };
    debugTick?: number;
};
export declare const useK8sSmartResourceWithoutKinds: <T>({ cluster, apiGroup, apiVersion, plural, namespace, fieldSelector, labelSelector, isEnabled, listRefetchInterval, limit, mapListWatchState, }: TUseK8sSmartResourceParams<T>) => SmartResult<T>;
export {};
