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