/**
 * 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 { InfraObjectSelect, InfraObjectWithRelations, CreateInfraObjectInput } from '../../orm/input-types';
import type { InferSelectResult, HookStrictSelect } from '../../orm/select-types';
export type { InfraObjectSelect, InfraObjectWithRelations, CreateInfraObjectInput, } from '../../orm/input-types';
/**
 * Content-addressed Merkle tree objects keyed by UUID v5 hash of data + children
 *
 * @example
 * ```tsx
 * const { mutate, isPending } = useCreateInfraObjectMutation({
 *   selection: { fields: { id: true, name: true } },
 * });
 *
 * mutate({ name: 'New item' });
 * ```
 */
export declare function useCreateInfraObjectMutation<S extends InfraObjectSelect>(params: {
    selection: {
        fields: S & InfraObjectSelect;
    } & HookStrictSelect<NoInfer<S>, InfraObjectSelect>;
} & Omit<UseMutationOptions<{
    createInfraObject: {
        infraObject: InferSelectResult<InfraObjectWithRelations, S>;
    };
}, Error, CreateInfraObjectInput['infraObject']>, 'mutationFn'>): UseMutationResult<{
    createInfraObject: {
        infraObject: InferSelectResult<InfraObjectWithRelations, S>;
    };
}, Error, CreateInfraObjectInput['infraObject']>;
