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