/**
 * Tracks membership records linking actors to entities with permission bitmasks, ownership, and admin status
 * @generated by @constructive-io/graphql-codegen
 * DO NOT EDIT - changes will be overwritten
 */
import type { UseMutationOptions, UseMutationResult } from '@tanstack/react-query';
import type { OrgMembershipSelect, OrgMembershipWithRelations, OrgMembershipPatch } from '../../orm/input-types';
import type { InferSelectResult, HookStrictSelect } from '../../orm/select-types';
export type { OrgMembershipSelect, OrgMembershipWithRelations, OrgMembershipPatch, } from '../../orm/input-types';
/**
 * Tracks membership records linking actors to entities with permission bitmasks, ownership, and admin status
 *
 * @example
 * ```tsx
 * const { mutate, isPending } = useUpdateOrgMembershipMutation({
 *   selection: { fields: { id: true, name: true } },
 * });
 *
 * mutate({ id: 'value-here', orgMembershipPatch: { name: 'Updated' } });
 * ```
 */
export declare function useUpdateOrgMembershipMutation<S extends OrgMembershipSelect>(params: {
    selection: {
        fields: S & OrgMembershipSelect;
    } & HookStrictSelect<NoInfer<S>, OrgMembershipSelect>;
} & Omit<UseMutationOptions<{
    updateOrgMembership: {
        orgMembership: InferSelectResult<OrgMembershipWithRelations, S>;
    };
}, Error, {
    id: string;
    orgMembershipPatch: OrgMembershipPatch;
}>, 'mutationFn'>): UseMutationResult<{
    updateOrgMembership: {
        orgMembership: InferSelectResult<OrgMembershipWithRelations, S>;
    };
}, Error, {
    id: string;
    orgMembershipPatch: OrgMembershipPatch;
}>;
