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