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