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