/**
 * Records of admin role grants and revocations between members
 * @generated by @constructive-io/graphql-codegen
 * DO NOT EDIT - changes will be overwritten
 */
import type { UseMutationOptions, UseMutationResult } from '@tanstack/react-query';
import type { AppAdminGrantSelect, AppAdminGrantWithRelations, AppAdminGrantPatch } from '../../orm/input-types';
import type { InferSelectResult, HookStrictSelect } from '../../orm/select-types';
export type { AppAdminGrantSelect, AppAdminGrantWithRelations, AppAdminGrantPatch, } from '../../orm/input-types';
/**
 * Records of admin role grants and revocations between members
 *
 * @example
 * ```tsx
 * const { mutate, isPending } = useUpdateAppAdminGrantMutation({
 *   selection: { fields: { id: true, name: true } },
 * });
 *
 * mutate({ id: 'value-here', appAdminGrantPatch: { name: 'Updated' } });
 * ```
 */
export declare function useUpdateAppAdminGrantMutation<S extends AppAdminGrantSelect>(params: {
    selection: {
        fields: S & AppAdminGrantSelect;
    } & HookStrictSelect<NoInfer<S>, AppAdminGrantSelect>;
} & Omit<UseMutationOptions<{
    updateAppAdminGrant: {
        appAdminGrant: InferSelectResult<AppAdminGrantWithRelations, S>;
    };
}, Error, {
    id: string;
    appAdminGrantPatch: AppAdminGrantPatch;
}>, 'mutationFn'>): UseMutationResult<{
    updateAppAdminGrant: {
        appAdminGrant: InferSelectResult<AppAdminGrantWithRelations, S>;
    };
}, Error, {
    id: string;
    appAdminGrantPatch: AppAdminGrantPatch;
}>;
