/**
 * Audit log of permission additions and removals from the defaults bitmask
 * @generated by @constructive-io/graphql-codegen
 * DO NOT EDIT - changes will be overwritten
 */
import type { UseMutationOptions, UseMutationResult } from '@tanstack/react-query';
import type { OrgPermissionDefaultGrantSelect, OrgPermissionDefaultGrantWithRelations, OrgPermissionDefaultGrantPatch } from '../../orm/input-types';
import type { InferSelectResult, HookStrictSelect } from '../../orm/select-types';
export type { OrgPermissionDefaultGrantSelect, OrgPermissionDefaultGrantWithRelations, OrgPermissionDefaultGrantPatch, } from '../../orm/input-types';
/**
 * Audit log of permission additions and removals from the defaults bitmask
 *
 * @example
 * ```tsx
 * const { mutate, isPending } = useUpdateOrgPermissionDefaultGrantMutation({
 *   selection: { fields: { id: true, name: true } },
 * });
 *
 * mutate({ id: 'value-here', orgPermissionDefaultGrantPatch: { name: 'Updated' } });
 * ```
 */
export declare function useUpdateOrgPermissionDefaultGrantMutation<S extends OrgPermissionDefaultGrantSelect>(params: {
    selection: {
        fields: S & OrgPermissionDefaultGrantSelect;
    } & HookStrictSelect<NoInfer<S>, OrgPermissionDefaultGrantSelect>;
} & Omit<UseMutationOptions<{
    updateOrgPermissionDefaultGrant: {
        orgPermissionDefaultGrant: InferSelectResult<OrgPermissionDefaultGrantWithRelations, S>;
    };
}, Error, {
    id: string;
    orgPermissionDefaultGrantPatch: OrgPermissionDefaultGrantPatch;
}>, 'mutationFn'>): UseMutationResult<{
    updateOrgPermissionDefaultGrant: {
        orgPermissionDefaultGrant: InferSelectResult<OrgPermissionDefaultGrantWithRelations, S>;
    };
}, Error, {
    id: string;
    orgPermissionDefaultGrantPatch: OrgPermissionDefaultGrantPatch;
}>;
