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