/**
 * Commit history — each commit snapshots a tree root for a store
 * @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';
/**
 * Commit history — each commit snapshots a tree root for a store
 *
 * @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;
    databaseId: string;
}>, 'mutationFn'>): UseMutationResult<{
    deleteCommit: {
        commit: InferSelectResult<CommitWithRelations, S>;
    };
}, Error, {
    id: string;
    databaseId: string;
}>;
