/**
 * 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 { RefSelect, RefWithRelations, CreateRefInput } from '../../orm/input-types';
import type { InferSelectResult, HookStrictSelect } from '../../orm/select-types';
export type { RefSelect, RefWithRelations, CreateRefInput } from '../../orm/input-types';
/**
 * Branch heads — mutable pointers into the commit chain
 *
 * @example
 * ```tsx
 * const { mutate, isPending } = useCreateRefMutation({
 *   selection: { fields: { id: true, name: true } },
 * });
 *
 * mutate({ name: 'New item' });
 * ```
 */
export declare function useCreateRefMutation<S extends RefSelect>(params: {
    selection: {
        fields: S & RefSelect;
    } & HookStrictSelect<NoInfer<S>, RefSelect>;
} & Omit<UseMutationOptions<{
    createRef: {
        ref: InferSelectResult<RefWithRelations, S>;
    };
}, Error, CreateRefInput['ref']>, 'mutationFn'>): UseMutationResult<{
    createRef: {
        ref: InferSelectResult<RefWithRelations, S>;
    };
}, Error, CreateRefInput['ref']>;
