/**
 * Create mutation hook for InfraGetAllTreeNodesRecord
 * @generated by @constructive-io/graphql-codegen
 * DO NOT EDIT - changes will be overwritten
 */
import type { UseMutationOptions, UseMutationResult } from '@tanstack/react-query';
import type { InfraGetAllTreeNodesRecordSelect, InfraGetAllTreeNodesRecordWithRelations, CreateInfraGetAllTreeNodesRecordInput } from '../../orm/input-types';
import type { InferSelectResult, HookStrictSelect } from '../../orm/select-types';
export type { InfraGetAllTreeNodesRecordSelect, InfraGetAllTreeNodesRecordWithRelations, CreateInfraGetAllTreeNodesRecordInput, } from '../../orm/input-types';
/**
 * Mutation hook for creating a InfraGetAllTreeNodesRecord
 *
 * @example
 * ```tsx
 * const { mutate, isPending } = useCreateInfraGetAllTreeNodesRecordMutation({
 *   selection: { fields: { id: true, name: true } },
 * });
 *
 * mutate({ name: 'New item' });
 * ```
 */
export declare function useCreateInfraGetAllTreeNodesRecordMutation<S extends InfraGetAllTreeNodesRecordSelect>(params: {
    selection: {
        fields: S & InfraGetAllTreeNodesRecordSelect;
    } & HookStrictSelect<NoInfer<S>, InfraGetAllTreeNodesRecordSelect>;
} & Omit<UseMutationOptions<{
    createInfraGetAllTreeNodesRecord: {
        infraGetAllTreeNodesRecord: InferSelectResult<InfraGetAllTreeNodesRecordWithRelations, S>;
    };
}, Error, CreateInfraGetAllTreeNodesRecordInput['infraGetAllTreeNodesRecord']>, 'mutationFn'>): UseMutationResult<{
    createInfraGetAllTreeNodesRecord: {
        infraGetAllTreeNodesRecord: InferSelectResult<InfraGetAllTreeNodesRecordWithRelations, S>;
    };
}, Error, CreateInfraGetAllTreeNodesRecordInput['infraGetAllTreeNodesRecord']>;
