/**
 * 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, CreateOrgChartEdgeGrantInput } from '../../orm/input-types';
import type { InferSelectResult, HookStrictSelect } from '../../orm/select-types';
export type { OrgChartEdgeGrantSelect, OrgChartEdgeGrantWithRelations, CreateOrgChartEdgeGrantInput, } 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 } = useCreateOrgChartEdgeGrantMutation({
 *   selection: { fields: { id: true, name: true } },
 * });
 *
 * mutate({ name: 'New item' });
 * ```
 */
export declare function useCreateOrgChartEdgeGrantMutation<S extends OrgChartEdgeGrantSelect>(params: {
    selection: {
        fields: S & OrgChartEdgeGrantSelect;
    } & HookStrictSelect<NoInfer<S>, OrgChartEdgeGrantSelect>;
} & Omit<UseMutationOptions<{
    createOrgChartEdgeGrant: {
        orgChartEdgeGrant: InferSelectResult<OrgChartEdgeGrantWithRelations, S>;
    };
}, Error, CreateOrgChartEdgeGrantInput['orgChartEdgeGrant']>, 'mutationFn'>): UseMutationResult<{
    createOrgChartEdgeGrant: {
        orgChartEdgeGrant: InferSelectResult<OrgChartEdgeGrantWithRelations, S>;
    };
}, Error, CreateOrgChartEdgeGrantInput['orgChartEdgeGrant']>;
