/**
 * 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 { AppGrantSelect, AppGrantWithRelations, AppGrantPatch } from '../../orm/input-types';
import type { InferSelectResult, HookStrictSelect } from '../../orm/select-types';
export type { AppGrantSelect, AppGrantWithRelations, AppGrantPatch } from '../../orm/input-types';
/**
 * Records of individual permission grants and revocations for members via bitmask
 *
 * @example
 * ```tsx
 * const { mutate, isPending } = useUpdateAppGrantMutation({
 *   selection: { fields: { id: true, name: true } },
 * });
 *
 * mutate({ id: 'value-here', appGrantPatch: { name: 'Updated' } });
 * ```
 */
export declare function useUpdateAppGrantMutation<S extends AppGrantSelect>(params: {
    selection: {
        fields: S & AppGrantSelect;
    } & HookStrictSelect<NoInfer<S>, AppGrantSelect>;
} & Omit<UseMutationOptions<{
    updateAppGrant: {
        appGrant: InferSelectResult<AppGrantWithRelations, S>;
    };
}, Error, {
    id: string;
    appGrantPatch: AppGrantPatch;
}>, 'mutationFn'>): UseMutationResult<{
    updateAppGrant: {
        appGrant: InferSelectResult<AppGrantWithRelations, S>;
    };
}, Error, {
    id: string;
    appGrantPatch: AppGrantPatch;
}>;
