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