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