/**
 * Branch heads — mutable pointers into the commit chain
 * @generated by @constructive-io/graphql-codegen
 * DO NOT EDIT - changes will be overwritten
 */
import type { UseMutationOptions, UseMutationResult } from '@tanstack/react-query';
import type { InfraRefSelect, InfraRefWithRelations, CreateInfraRefInput } from '../../orm/input-types';
import type { InferSelectResult, HookStrictSelect } from '../../orm/select-types';
export type { InfraRefSelect, InfraRefWithRelations, CreateInfraRefInput, } from '../../orm/input-types';
/**
 * Branch heads — mutable pointers into the commit chain
 *
 * @example
 * ```tsx
 * const { mutate, isPending } = useCreateInfraRefMutation({
 *   selection: { fields: { id: true, name: true } },
 * });
 *
 * mutate({ name: 'New item' });
 * ```
 */
export declare function useCreateInfraRefMutation<S extends InfraRefSelect>(params: {
    selection: {
        fields: S & InfraRefSelect;
    } & HookStrictSelect<NoInfer<S>, InfraRefSelect>;
} & Omit<UseMutationOptions<{
    createInfraRef: {
        infraRef: InferSelectResult<InfraRefWithRelations, S>;
    };
}, Error, CreateInfraRefInput['infraRef']>, 'mutationFn'>): UseMutationResult<{
    createInfraRef: {
        infraRef: InferSelectResult<InfraRefWithRelations, S>;
    };
}, Error, CreateInfraRefInput['infraRef']>;
