/**
 * Append-only log of hierarchy edge grants and revocations; triggers apply changes to the edges table
 * @generated by @constructive-io/graphql-codegen
 * DO NOT EDIT - changes will be overwritten
 */
import type { UseMutationOptions, UseMutationResult } from '@tanstack/react-query';
import type { OrgChartEdgeGrantSelect, OrgChartEdgeGrantWithRelations, OrgChartEdgeGrantPatch } from '../../orm/input-types';
import type { InferSelectResult, HookStrictSelect } from '../../orm/select-types';
export type { OrgChartEdgeGrantSelect, OrgChartEdgeGrantWithRelations, OrgChartEdgeGrantPatch, } from '../../orm/input-types';
/**
 * Append-only log of hierarchy edge grants and revocations; triggers apply changes to the edges table
 *
 * @example
 * ```tsx
 * const { mutate, isPending } = useUpdateOrgChartEdgeGrantMutation({
 *   selection: { fields: { id: true, name: true } },
 * });
 *
 * mutate({ id: 'value-here', orgChartEdgeGrantPatch: { name: 'Updated' } });
 * ```
 */
export declare function useUpdateOrgChartEdgeGrantMutation<S extends OrgChartEdgeGrantSelect>(params: {
    selection: {
        fields: S & OrgChartEdgeGrantSelect;
    } & HookStrictSelect<NoInfer<S>, OrgChartEdgeGrantSelect>;
} & Omit<UseMutationOptions<{
    updateOrgChartEdgeGrant: {
        orgChartEdgeGrant: InferSelectResult<OrgChartEdgeGrantWithRelations, S>;
    };
}, Error, {
    id: string;
    orgChartEdgeGrantPatch: OrgChartEdgeGrantPatch;
}>, 'mutationFn'>): UseMutationResult<{
    updateOrgChartEdgeGrant: {
        orgChartEdgeGrant: InferSelectResult<OrgChartEdgeGrantWithRelations, S>;
    };
}, Error, {
    id: string;
    orgChartEdgeGrantPatch: OrgChartEdgeGrantPatch;
}>;
