/**
 * Update mutation hook for MerkleStoreModule
 * @generated by @constructive-io/graphql-codegen
 * DO NOT EDIT - changes will be overwritten
 */
import type { UseMutationOptions, UseMutationResult } from '@tanstack/react-query';
import type { MerkleStoreModuleSelect, MerkleStoreModuleWithRelations, MerkleStoreModulePatch } from '../../orm/input-types';
import type { InferSelectResult, HookStrictSelect } from '../../orm/select-types';
export type { MerkleStoreModuleSelect, MerkleStoreModuleWithRelations, MerkleStoreModulePatch, } from '../../orm/input-types';
/**
 * Mutation hook for updating a MerkleStoreModule
 *
 * @example
 * ```tsx
 * const { mutate, isPending } = useUpdateMerkleStoreModuleMutation({
 *   selection: { fields: { id: true, name: true } },
 * });
 *
 * mutate({ id: 'value-here', merkleStoreModulePatch: { name: 'Updated' } });
 * ```
 */
export declare function useUpdateMerkleStoreModuleMutation<S extends MerkleStoreModuleSelect>(params: {
    selection: {
        fields: S & MerkleStoreModuleSelect;
    } & HookStrictSelect<NoInfer<S>, MerkleStoreModuleSelect>;
} & Omit<UseMutationOptions<{
    updateMerkleStoreModule: {
        merkleStoreModule: InferSelectResult<MerkleStoreModuleWithRelations, S>;
    };
}, Error, {
    id: string;
    merkleStoreModulePatch: MerkleStoreModulePatch;
}>, 'mutationFn'>): UseMutationResult<{
    updateMerkleStoreModule: {
        merkleStoreModule: InferSelectResult<MerkleStoreModuleWithRelations, S>;
    };
}, Error, {
    id: string;
    merkleStoreModulePatch: MerkleStoreModulePatch;
}>;
