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