/**
 * Custom mutation hook for addEdgeAndSave
 * @generated by @constructive-io/graphql-codegen
 * DO NOT EDIT - changes will be overwritten
 */
import type { UseMutationOptions, UseMutationResult } from '@tanstack/react-query';
import type { AddEdgeAndSaveVariables } from '../../orm/mutation';
import type { AddEdgeAndSavePayloadSelect, AddEdgeAndSavePayload } from '../../orm/input-types';
import type { InferSelectResult, HookStrictSelect } from '../../orm/select-types';
export type { AddEdgeAndSaveVariables } from '../../orm/mutation';
export type { AddEdgeAndSavePayloadSelect } from '../../orm/input-types';
export declare function useAddEdgeAndSaveMutation<S extends AddEdgeAndSavePayloadSelect>(params: {
    selection: {
        fields: S & AddEdgeAndSavePayloadSelect;
    } & HookStrictSelect<NoInfer<S>, AddEdgeAndSavePayloadSelect>;
} & Omit<UseMutationOptions<{
    addEdgeAndSave: InferSelectResult<AddEdgeAndSavePayload, S> | null;
}, Error, AddEdgeAndSaveVariables>, 'mutationFn'>): UseMutationResult<{
    addEdgeAndSave: InferSelectResult<AddEdgeAndSavePayload, S> | null;
}, Error, AddEdgeAndSaveVariables>;
