/**
 * Single item 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 { RateLimitsModuleSelect, RateLimitsModuleWithRelations } from '../../orm/input-types';
import type { InferSelectResult, HookStrictSelect } from '../../orm/select-types';
export type { RateLimitsModuleSelect, RateLimitsModuleWithRelations } from '../../orm/input-types';
/** Query key factory - re-exported from query-keys.ts */
export declare const rateLimitsModuleQueryKey: (id: string | number) => readonly ["ratelimitsmodule", "detail", string | number];
/**
 * Query hook for fetching a single RateLimitsModule
 *
 * @example
 * ```tsx
 * const { data, isLoading } = useRateLimitsModuleQuery({
 *   id: 'some-id',
 *   selection: { fields: { id: true, name: true } },
 * });
 * ```
 */
export declare function useRateLimitsModuleQuery<S extends RateLimitsModuleSelect, TData = {
    rateLimitsModule: InferSelectResult<RateLimitsModuleWithRelations, S> | null;
}>(params: {
    id: string;
    selection: {
        fields: S;
    } & HookStrictSelect<NoInfer<S>, RateLimitsModuleSelect>;
} & Omit<UseQueryOptions<{
    rateLimitsModule: InferSelectResult<RateLimitsModuleWithRelations, S> | null;
}, Error, TData>, 'queryKey' | 'queryFn'>): UseQueryResult<TData>;
/**
 * Fetch a single RateLimitsModule without React hooks
 *
 * @example
 * ```ts
 * const data = await fetchRateLimitsModuleQuery({
 *   id: 'some-id',
 *   selection: { fields: { id: true } },
 * });
 * ```
 */
export declare function fetchRateLimitsModuleQuery<S extends RateLimitsModuleSelect>(params: {
    id: string;
    selection: {
        fields: S;
    } & HookStrictSelect<NoInfer<S>, RateLimitsModuleSelect>;
}): Promise<{
    rateLimitsModule: InferSelectResult<RateLimitsModuleWithRelations, S> | null;
}>;
/**
 * Prefetch a single RateLimitsModule for SSR or cache warming
 *
 * @example
 * ```ts
 * await prefetchRateLimitsModuleQuery(queryClient, { id: 'some-id', selection: { fields: { id: true } } });
 * ```
 */
export declare function prefetchRateLimitsModuleQuery<S extends RateLimitsModuleSelect>(queryClient: QueryClient, params: {
    id: string;
    selection: {
        fields: S;
    } & HookStrictSelect<NoInfer<S>, RateLimitsModuleSelect>;
}): Promise<void>;
