/**
 * Simplified view of active members in an entity, used for listing who belongs to an org or group
 * @generated by @constructive-io/graphql-codegen
 * DO NOT EDIT - changes will be overwritten
 */
import type { UseMutationOptions, UseMutationResult } from '@tanstack/react-query';
import type { OrgMemberSelect, OrgMemberWithRelations, OrgMemberPatch } from '../../orm/input-types';
import type { InferSelectResult, HookStrictSelect } from '../../orm/select-types';
export type { OrgMemberSelect, OrgMemberWithRelations, OrgMemberPatch, } from '../../orm/input-types';
/**
 * Simplified view of active members in an entity, used for listing who belongs to an org or group
 *
 * @example
 * ```tsx
 * const { mutate, isPending } = useUpdateOrgMemberMutation({
 *   selection: { fields: { id: true, name: true } },
 * });
 *
 * mutate({ id: 'value-here', orgMemberPatch: { name: 'Updated' } });
 * ```
 */
export declare function useUpdateOrgMemberMutation<S extends OrgMemberSelect>(params: {
    selection: {
        fields: S & OrgMemberSelect;
    } & HookStrictSelect<NoInfer<S>, OrgMemberSelect>;
} & Omit<UseMutationOptions<{
    updateOrgMember: {
        orgMember: InferSelectResult<OrgMemberWithRelations, S>;
    };
}, Error, {
    id: string;
    orgMemberPatch: OrgMemberPatch;
}>, 'mutationFn'>): UseMutationResult<{
    updateOrgMember: {
        orgMember: InferSelectResult<OrgMemberWithRelations, S>;
    };
}, Error, {
    id: string;
    orgMemberPatch: OrgMemberPatch;
}>;
