/**
 * 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 { AppPermissionDefaultGrantSelect, AppPermissionDefaultGrantWithRelations, AppPermissionDefaultGrantPatch } from '../../orm/input-types';
import type { InferSelectResult, HookStrictSelect } from '../../orm/select-types';
export type { AppPermissionDefaultGrantSelect, AppPermissionDefaultGrantWithRelations, AppPermissionDefaultGrantPatch, } from '../../orm/input-types';
/**
 * Audit log of permission additions and removals from the defaults bitmask
 *
 * @example
 * ```tsx
 * const { mutate, isPending } = useUpdateAppPermissionDefaultGrantMutation({
 *   selection: { fields: { id: true, name: true } },
 * });
 *
 * mutate({ id: 'value-here', appPermissionDefaultGrantPatch: { name: 'Updated' } });
 * ```
 */
export declare function useUpdateAppPermissionDefaultGrantMutation<S extends AppPermissionDefaultGrantSelect>(params: {
    selection: {
        fields: S & AppPermissionDefaultGrantSelect;
    } & HookStrictSelect<NoInfer<S>, AppPermissionDefaultGrantSelect>;
} & Omit<UseMutationOptions<{
    updateAppPermissionDefaultGrant: {
        appPermissionDefaultGrant: InferSelectResult<AppPermissionDefaultGrantWithRelations, S>;
    };
}, Error, {
    id: string;
    appPermissionDefaultGrantPatch: AppPermissionDefaultGrantPatch;
}>, 'mutationFn'>): UseMutationResult<{
    updateAppPermissionDefaultGrant: {
        appPermissionDefaultGrant: InferSelectResult<AppPermissionDefaultGrantWithRelations, S>;
    };
}, Error, {
    id: string;
    appPermissionDefaultGrantPatch: AppPermissionDefaultGrantPatch;
}>;
