/**
 * Single item query hook for RateLimitMetersModule
 * @generated by @constructive-io/graphql-codegen
 * DO NOT EDIT - changes will be overwritten
 */
import type { UseQueryOptions, UseQueryResult, QueryClient } from '@tanstack/react-query';
import type { RateLimitMetersModuleSelect, RateLimitMetersModuleWithRelations } from '../../orm/input-types';
import type { InferSelectResult, HookStrictSelect } from '../../orm/select-types';
export type { RateLimitMetersModuleSelect, RateLimitMetersModuleWithRelations, } from '../../orm/input-types';
/** Query key factory - re-exported from query-keys.ts */
export declare const rateLimitMetersModuleQueryKey: (id: string | number) => readonly ["ratelimitmetersmodule", "detail", string | number];
/**
 * Query hook for fetching a single RateLimitMetersModule
 *
 * @example
 * ```tsx
 * const { data, isLoading } = useRateLimitMetersModuleQuery({
 *   id: 'some-id',
 *   selection: { fields: { id: true, name: true } },
 * });
 * ```
 */
export declare function useRateLimitMetersModuleQuery<S extends RateLimitMetersModuleSelect, TData = {
    rateLimitMetersModule: InferSelectResult<RateLimitMetersModuleWithRelations, S> | null;
}>(params: {
    id: string;
    selection: {
        fields: S;
    } & HookStrictSelect<NoInfer<S>, RateLimitMetersModuleSelect>;
} & Omit<UseQueryOptions<{
    rateLimitMetersModule: InferSelectResult<RateLimitMetersModuleWithRelations, S> | null;
}, Error, TData>, 'queryKey' | 'queryFn'>): UseQueryResult<TData>;
/**
 * Fetch a single RateLimitMetersModule without React hooks
 *
 * @example
 * ```ts
 * const data = await fetchRateLimitMetersModuleQuery({
 *   id: 'some-id',
 *   selection: { fields: { id: true } },
 * });
 * ```
 */
export declare function fetchRateLimitMetersModuleQuery<S extends RateLimitMetersModuleSelect>(params: {
    id: string;
    selection: {
        fields: S;
    } & HookStrictSelect<NoInfer<S>, RateLimitMetersModuleSelect>;
}): Promise<{
    rateLimitMetersModule: InferSelectResult<RateLimitMetersModuleWithRelations, S> | null;
}>;
/**
 * Prefetch a single RateLimitMetersModule for SSR or cache warming
 *
 * @example
 * ```ts
 * await prefetchRateLimitMetersModuleQuery(queryClient, { id: 'some-id', selection: { fields: { id: true } } });
 * ```
 */
export declare function prefetchRateLimitMetersModuleQuery<S extends RateLimitMetersModuleSelect>(queryClient: QueryClient, params: {
    id: string;
    selection: {
        fields: S;
    } & HookStrictSelect<NoInfer<S>, RateLimitMetersModuleSelect>;
}): Promise<void>;
