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