/**
 * List 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 { ListSelectionConfig } from '../selection';
import type { MerkleStoreModuleSelect, MerkleStoreModuleWithRelations, MerkleStoreModuleFilter, MerkleStoreModuleOrderBy } from '../../orm/input-types';
import type { InferSelectResult, ConnectionResult, HookStrictSelect } from '../../orm/select-types';
export type { MerkleStoreModuleSelect, MerkleStoreModuleWithRelations, MerkleStoreModuleFilter, MerkleStoreModuleOrderBy, } from '../../orm/input-types';
/** Query key factory - re-exported from query-keys.ts */
export declare const merkleStoreModulesQueryKey: (variables?: object) => readonly ["merklestoremodule", "list", object];
/**
 * Query hook for fetching MerkleStoreModule list
 *
 * @example
 * ```tsx
 * const { data, isLoading } = useMerkleStoreModulesQuery({
 *   selection: {
 *     fields: { id: true, name: true },
 *     where: { name: { equalTo: "example" } },
 *     orderBy: ['CREATED_AT_DESC'],
 *     first: 10,
 *   },
 * });
 * ```
 */
export declare function useMerkleStoreModulesQuery<S extends MerkleStoreModuleSelect, TData = {
    merkleStoreModules: ConnectionResult<InferSelectResult<MerkleStoreModuleWithRelations, S>>;
}>(params: {
    selection: {
        fields: S;
    } & Omit<ListSelectionConfig<S, MerkleStoreModuleFilter, MerkleStoreModuleOrderBy>, 'fields'> & HookStrictSelect<NoInfer<S>, MerkleStoreModuleSelect>;
} & Omit<UseQueryOptions<{
    merkleStoreModules: ConnectionResult<InferSelectResult<MerkleStoreModuleWithRelations, S>>;
}, Error, TData>, 'queryKey' | 'queryFn'>): UseQueryResult<TData>;
/**
 * Fetch MerkleStoreModule list without React hooks
 *
 * @example
 * ```ts
 * const data = await fetchMerkleStoreModulesQuery({
 *   selection: {
 *     fields: { id: true },
 *     first: 10,
 *   },
 * });
 * ```
 */
export declare function fetchMerkleStoreModulesQuery<S extends MerkleStoreModuleSelect>(params: {
    selection: {
        fields: S;
    } & Omit<ListSelectionConfig<S, MerkleStoreModuleFilter, MerkleStoreModuleOrderBy>, 'fields'> & HookStrictSelect<NoInfer<S>, MerkleStoreModuleSelect>;
}): Promise<{
    merkleStoreModules: ConnectionResult<InferSelectResult<MerkleStoreModuleWithRelations, S>>;
}>;
/**
 * Prefetch MerkleStoreModule list for SSR or cache warming
 *
 * @example
 * ```ts
 * await prefetchMerkleStoreModulesQuery(queryClient, { selection: { fields: { id: true }, first: 10 } });
 * ```
 */
export declare function prefetchMerkleStoreModulesQuery<S extends MerkleStoreModuleSelect>(queryClient: QueryClient, params: {
    selection: {
        fields: S;
    } & Omit<ListSelectionConfig<S, MerkleStoreModuleFilter, MerkleStoreModuleOrderBy>, 'fields'> & HookStrictSelect<NoInfer<S>, MerkleStoreModuleSelect>;
}): Promise<void>;
