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