import { type TUseK8sSmartResourceParams } from './useK8sSmartResourceWithoutKinds';
/**
 * If T has an `{ items: U[] }` field, we add `kind?: string` and `apiVersion?: string` to each item.
 * Otherwise T is left unchanged.
 */
type TWithKindAndApiVersionOnItems<T> = T extends {
    items: (infer U)[];
} ? Omit<T, 'items'> & {
    items: (U & {
        kind?: string;
        apiVersion?: string;
    })[];
} : T;
/**
 * Same params as useK8sSmartResource.
 * Returns the same shape as useK8sSmartResource,
 * but if `data.items` exists, items are enriched with `kind`.
 */
export declare const useK8sSmartResource: <T>(params: TUseK8sSmartResourceParams<T>) => {
    data: TWithKindAndApiVersionOnItems<T> | undefined;
    isLoading: boolean;
    isError: boolean;
    error: string | Error | import("axios").AxiosError<unknown, any> | undefined;
    _meta?: {
        used: "disabled" | "list" | "watch" | "verbs-loading" | "verbs-error";
    } | undefined;
    debugTick?: number | undefined;
};
export {};
