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