/**
 * Content-addressed Merkle tree objects keyed by UUID v5 hash of data + children
 * @generated by @constructive-io/graphql-codegen
 * DO NOT EDIT - changes will be overwritten
 */
import type { UseMutationOptions, UseMutationResult } from '@tanstack/react-query';
import type { PlatformInfraObjectSelect, PlatformInfraObjectWithRelations, CreatePlatformInfraObjectInput } from '../../orm/input-types';
import type { InferSelectResult, HookStrictSelect } from '../../orm/select-types';
export type { PlatformInfraObjectSelect, PlatformInfraObjectWithRelations, CreatePlatformInfraObjectInput, } from '../../orm/input-types';
/**
 * Content-addressed Merkle tree objects keyed by UUID v5 hash of data + children
 *
 * @example
 * ```tsx
 * const { mutate, isPending } = useCreatePlatformInfraObjectMutation({
 *   selection: { fields: { id: true, name: true } },
 * });
 *
 * mutate({ name: 'New item' });
 * ```
 */
export declare function useCreatePlatformInfraObjectMutation<S extends PlatformInfraObjectSelect>(params: {
    selection: {
        fields: S & PlatformInfraObjectSelect;
    } & HookStrictSelect<NoInfer<S>, PlatformInfraObjectSelect>;
} & Omit<UseMutationOptions<{
    createPlatformInfraObject: {
        platformInfraObject: InferSelectResult<PlatformInfraObjectWithRelations, S>;
    };
}, Error, CreatePlatformInfraObjectInput['platformInfraObject']>, 'mutationFn'>): UseMutationResult<{
    createPlatformInfraObject: {
        platformInfraObject: InferSelectResult<PlatformInfraObjectWithRelations, S>;
    };
}, Error, CreatePlatformInfraObjectInput['platformInfraObject']>;
