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