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