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