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