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