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