/**
 * 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 { OrgAdminGrantSelect, OrgAdminGrantWithRelations, OrgAdminGrantPatch } from '../../orm/input-types';
import type { InferSelectResult, HookStrictSelect } from '../../orm/select-types';
export type { OrgAdminGrantSelect, OrgAdminGrantWithRelations, OrgAdminGrantPatch, } from '../../orm/input-types';
/**
 * Records of admin role grants and revocations between members
 *
 * @example
 * ```tsx
 * const { mutate, isPending } = useUpdateOrgAdminGrantMutation({
 *   selection: { fields: { id: true, name: true } },
 * });
 *
 * mutate({ id: 'value-here', orgAdminGrantPatch: { name: 'Updated' } });
 * ```
 */
export declare function useUpdateOrgAdminGrantMutation<S extends OrgAdminGrantSelect>(params: {
    selection: {
        fields: S & OrgAdminGrantSelect;
    } & HookStrictSelect<NoInfer<S>, OrgAdminGrantSelect>;
} & Omit<UseMutationOptions<{
    updateOrgAdminGrant: {
        orgAdminGrant: InferSelectResult<OrgAdminGrantWithRelations, S>;
    };
}, Error, {
    id: string;
    orgAdminGrantPatch: OrgAdminGrantPatch;
}>, 'mutationFn'>): UseMutationResult<{
    updateOrgAdminGrant: {
        orgAdminGrant: InferSelectResult<OrgAdminGrantWithRelations, S>;
    };
}, Error, {
    id: string;
    orgAdminGrantPatch: OrgAdminGrantPatch;
}>;
