/**
 * Records of individual permission grants and revocations for members via bitmask
 * @generated by @constructive-io/graphql-codegen
 * DO NOT EDIT - changes will be overwritten
 */
import type { UseMutationOptions, UseMutationResult } from '@tanstack/react-query';
import type { OrgGrantSelect, OrgGrantWithRelations, OrgGrantPatch } from '../../orm/input-types';
import type { InferSelectResult, HookStrictSelect } from '../../orm/select-types';
export type { OrgGrantSelect, OrgGrantWithRelations, OrgGrantPatch } from '../../orm/input-types';
/**
 * Records of individual permission grants and revocations for members via bitmask
 *
 * @example
 * ```tsx
 * const { mutate, isPending } = useUpdateOrgGrantMutation({
 *   selection: { fields: { id: true, name: true } },
 * });
 *
 * mutate({ id: 'value-here', orgGrantPatch: { name: 'Updated' } });
 * ```
 */
export declare function useUpdateOrgGrantMutation<S extends OrgGrantSelect>(params: {
    selection: {
        fields: S & OrgGrantSelect;
    } & HookStrictSelect<NoInfer<S>, OrgGrantSelect>;
} & Omit<UseMutationOptions<{
    updateOrgGrant: {
        orgGrant: InferSelectResult<OrgGrantWithRelations, S>;
    };
}, Error, {
    id: string;
    orgGrantPatch: OrgGrantPatch;
}>, 'mutationFn'>): UseMutationResult<{
    updateOrgGrant: {
        orgGrant: InferSelectResult<OrgGrantWithRelations, S>;
    };
}, Error, {
    id: string;
    orgGrantPatch: OrgGrantPatch;
}>;
