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