/**
 * Per-entity settings for the memberships module
 * @generated by @constructive-io/graphql-codegen
 * DO NOT EDIT - changes will be overwritten
 */
import type { UseMutationOptions, UseMutationResult } from '@tanstack/react-query';
import type { OrgMembershipSettingSelect, OrgMembershipSettingWithRelations, OrgMembershipSettingPatch } from '../../orm/input-types';
import type { InferSelectResult, HookStrictSelect } from '../../orm/select-types';
export type { OrgMembershipSettingSelect, OrgMembershipSettingWithRelations, OrgMembershipSettingPatch, } from '../../orm/input-types';
/**
 * Per-entity settings for the memberships module
 *
 * @example
 * ```tsx
 * const { mutate, isPending } = useUpdateOrgMembershipSettingMutation({
 *   selection: { fields: { id: true, name: true } },
 * });
 *
 * mutate({ id: 'value-here', orgMembershipSettingPatch: { name: 'Updated' } });
 * ```
 */
export declare function useUpdateOrgMembershipSettingMutation<S extends OrgMembershipSettingSelect>(params: {
    selection: {
        fields: S & OrgMembershipSettingSelect;
    } & HookStrictSelect<NoInfer<S>, OrgMembershipSettingSelect>;
} & Omit<UseMutationOptions<{
    updateOrgMembershipSetting: {
        orgMembershipSetting: InferSelectResult<OrgMembershipSettingWithRelations, S>;
    };
}, Error, {
    id: string;
    orgMembershipSettingPatch: OrgMembershipSettingPatch;
}>, 'mutationFn'>): UseMutationResult<{
    updateOrgMembershipSetting: {
        orgMembershipSetting: InferSelectResult<OrgMembershipSettingWithRelations, S>;
    };
}, Error, {
    id: string;
    orgMembershipSettingPatch: OrgMembershipSettingPatch;
}>;
