/**
 * Defines the different scopes of membership (e.g. App Member, Organization Member, Group Member)
 * @generated by @constructive-io/graphql-codegen
 * DO NOT EDIT - changes will be overwritten
 */
import type { UseMutationOptions, UseMutationResult } from '@tanstack/react-query';
import type { MembershipTypeSelect, MembershipTypeWithRelations, MembershipTypePatch } from '../../orm/input-types';
import type { InferSelectResult, HookStrictSelect } from '../../orm/select-types';
export type { MembershipTypeSelect, MembershipTypeWithRelations, MembershipTypePatch, } from '../../orm/input-types';
/**
 * Defines the different scopes of membership (e.g. App Member, Organization Member, Group Member)
 *
 * @example
 * ```tsx
 * const { mutate, isPending } = useUpdateMembershipTypeMutation({
 *   selection: { fields: { id: true, name: true } },
 * });
 *
 * mutate({ id: 'value-here', membershipTypePatch: { name: 'Updated' } });
 * ```
 */
export declare function useUpdateMembershipTypeMutation<S extends MembershipTypeSelect>(params: {
    selection: {
        fields: S & MembershipTypeSelect;
    } & HookStrictSelect<NoInfer<S>, MembershipTypeSelect>;
} & Omit<UseMutationOptions<{
    updateMembershipType: {
        membershipType: InferSelectResult<MembershipTypeWithRelations, S>;
    };
}, Error, {
    id: number;
    membershipTypePatch: MembershipTypePatch;
}>, 'mutationFn'>): UseMutationResult<{
    updateMembershipType: {
        membershipType: InferSelectResult<MembershipTypeWithRelations, S>;
    };
}, Error, {
    id: number;
    membershipTypePatch: MembershipTypePatch;
}>;
