/**
 * A commit records changes to the repository.
 * @generated by @constructive-io/graphql-codegen
 * DO NOT EDIT - changes will be overwritten
 */
import type { UseMutationOptions, UseMutationResult } from '@tanstack/react-query';
import type { CommitSelect, CommitWithRelations } from '../../orm/input-types';
import type { InferSelectResult, HookStrictSelect } from '../../orm/select-types';
export type { CommitSelect, CommitWithRelations } from '../../orm/input-types';
/**
 * A commit records changes to the repository.
 *
 * @example
 * ```tsx
 * const { mutate, isPending } = useDeleteCommitMutation({
 *   selection: { fields: { id: true } },
 * });
 *
 * mutate({ id: 'value-to-delete' });
 * ```
 */
export declare function useDeleteCommitMutation<S extends CommitSelect>(params: {
    selection: {
        fields: S & CommitSelect;
    } & HookStrictSelect<NoInfer<S>, CommitSelect>;
} & Omit<UseMutationOptions<{
    deleteCommit: {
        commit: InferSelectResult<CommitWithRelations, S>;
    };
}, Error, {
    id: string;
}>, 'mutationFn'>): UseMutationResult<{
    deleteCommit: {
        commit: InferSelectResult<CommitWithRelations, S>;
    };
}, Error, {
    id: string;
}>;
