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