/**
 * Single item query hook for ResourcesHealth
 * @generated by @constructive-io/graphql-codegen
 * DO NOT EDIT - changes will be overwritten
 */
import type { UseQueryOptions, UseQueryResult, QueryClient } from '@tanstack/react-query';
import type { ResourcesHealthSelect, ResourcesHealthWithRelations } from '../../orm/input-types';
import type { InferSelectResult, HookStrictSelect } from '../../orm/select-types';
export type { ResourcesHealthSelect, ResourcesHealthWithRelations } from '../../orm/input-types';
/** Query key factory - re-exported from query-keys.ts */
export declare const resourcesHealthQueryKey: (id: string | number) => readonly ["resourceshealth", "detail", string | number];
/**
 * Query hook for fetching a single ResourcesHealth
 *
 * @example
 * ```tsx
 * const { data, isLoading } = useResourcesHealthQuery({
 *   id: 'some-id',
 *   selection: { fields: { id: true, name: true } },
 * });
 * ```
 */
export declare function useResourcesHealthQuery<S extends ResourcesHealthSelect, TData = {
    resourcesHealth: InferSelectResult<ResourcesHealthWithRelations, S> | null;
}>(params: {
    id: string;
    selection: {
        fields: S;
    } & HookStrictSelect<NoInfer<S>, ResourcesHealthSelect>;
} & Omit<UseQueryOptions<{
    resourcesHealth: InferSelectResult<ResourcesHealthWithRelations, S> | null;
}, Error, TData>, 'queryKey' | 'queryFn'>): UseQueryResult<TData>;
/**
 * Fetch a single ResourcesHealth without React hooks
 *
 * @example
 * ```ts
 * const data = await fetchResourcesHealthQuery({
 *   id: 'some-id',
 *   selection: { fields: { id: true } },
 * });
 * ```
 */
export declare function fetchResourcesHealthQuery<S extends ResourcesHealthSelect>(params: {
    id: string;
    selection: {
        fields: S;
    } & HookStrictSelect<NoInfer<S>, ResourcesHealthSelect>;
}): Promise<{
    resourcesHealth: InferSelectResult<ResourcesHealthWithRelations, S> | null;
}>;
/**
 * Prefetch a single ResourcesHealth for SSR or cache warming
 *
 * @example
 * ```ts
 * await prefetchResourcesHealthQuery(queryClient, { id: 'some-id', selection: { fields: { id: true } } });
 * ```
 */
export declare function prefetchResourcesHealthQuery<S extends ResourcesHealthSelect>(queryClient: QueryClient, params: {
    id: string;
    selection: {
        fields: S;
    } & HookStrictSelect<NoInfer<S>, ResourcesHealthSelect>;
}): Promise<void>;
