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