/**
 * List 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 { ListSelectionConfig } from '../selection';
import type { PlatformResourcesHealthSelect, PlatformResourcesHealthWithRelations, PlatformResourcesHealthFilter, PlatformResourcesHealthOrderBy } from '../../orm/input-types';
import type { InferSelectResult, ConnectionResult, HookStrictSelect } from '../../orm/select-types';
export type { PlatformResourcesHealthSelect, PlatformResourcesHealthWithRelations, PlatformResourcesHealthFilter, PlatformResourcesHealthOrderBy, } from '../../orm/input-types';
/** Query key factory - re-exported from query-keys.ts */
export declare const platformResourcesHealthsQueryKey: (variables?: object) => readonly ["platformresourceshealth", "list", object];
/**
 * Query hook for fetching PlatformResourcesHealth list
 *
 * @example
 * ```tsx
 * const { data, isLoading } = usePlatformResourcesHealthsQuery({
 *   selection: {
 *     fields: { id: true, name: true },
 *     where: { name: { equalTo: "example" } },
 *     orderBy: ['CREATED_AT_DESC'],
 *     first: 10,
 *   },
 * });
 * ```
 */
export declare function usePlatformResourcesHealthsQuery<S extends PlatformResourcesHealthSelect, TData = {
    platformResourcesHealths: ConnectionResult<InferSelectResult<PlatformResourcesHealthWithRelations, S>>;
}>(params: {
    selection: {
        fields: S;
    } & Omit<ListSelectionConfig<S, PlatformResourcesHealthFilter, PlatformResourcesHealthOrderBy>, 'fields'> & HookStrictSelect<NoInfer<S>, PlatformResourcesHealthSelect>;
} & Omit<UseQueryOptions<{
    platformResourcesHealths: ConnectionResult<InferSelectResult<PlatformResourcesHealthWithRelations, S>>;
}, Error, TData>, 'queryKey' | 'queryFn'>): UseQueryResult<TData>;
/**
 * Fetch PlatformResourcesHealth list without React hooks
 *
 * @example
 * ```ts
 * const data = await fetchPlatformResourcesHealthsQuery({
 *   selection: {
 *     fields: { id: true },
 *     first: 10,
 *   },
 * });
 * ```
 */
export declare function fetchPlatformResourcesHealthsQuery<S extends PlatformResourcesHealthSelect>(params: {
    selection: {
        fields: S;
    } & Omit<ListSelectionConfig<S, PlatformResourcesHealthFilter, PlatformResourcesHealthOrderBy>, 'fields'> & HookStrictSelect<NoInfer<S>, PlatformResourcesHealthSelect>;
}): Promise<{
    platformResourcesHealths: ConnectionResult<InferSelectResult<PlatformResourcesHealthWithRelations, S>>;
}>;
/**
 * Prefetch PlatformResourcesHealth list for SSR or cache warming
 *
 * @example
 * ```ts
 * await prefetchPlatformResourcesHealthsQuery(queryClient, { selection: { fields: { id: true }, first: 10 } });
 * ```
 */
export declare function prefetchPlatformResourcesHealthsQuery<S extends PlatformResourcesHealthSelect>(queryClient: QueryClient, params: {
    selection: {
        fields: S;
    } & Omit<ListSelectionConfig<S, PlatformResourcesHealthFilter, PlatformResourcesHealthOrderBy>, 'fields'> & HookStrictSelect<NoInfer<S>, PlatformResourcesHealthSelect>;
}): Promise<void>;
