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