/**
 * A ref is a data structure for pointing to a commit.
 * @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';
/**
 * A ref is a data structure for pointing to a commit.
 *
 * @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;
}>, 'mutationFn'>): UseMutationResult<{
    deleteRef: {
        ref: InferSelectResult<RefWithRelations, S>;
    };
}, Error, {
    id: string;
}>;
