/**
 * 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 { InfraCommitSelect, InfraCommitWithRelations } from '../../orm/input-types';
import type { InferSelectResult, HookStrictSelect } from '../../orm/select-types';
export type { InfraCommitSelect, InfraCommitWithRelations } from '../../orm/input-types';
/**
 * Commit history — each commit snapshots a tree root for a store
 *
 * @example
 * ```tsx
 * const { mutate, isPending } = useDeleteInfraCommitMutation({
 *   selection: { fields: { id: true } },
 * });
 *
 * mutate({ id: 'value-to-delete' });
 * ```
 */
export declare function useDeleteInfraCommitMutation<S extends InfraCommitSelect>(params: {
    selection: {
        fields: S & InfraCommitSelect;
    } & HookStrictSelect<NoInfer<S>, InfraCommitSelect>;
} & Omit<UseMutationOptions<{
    deleteInfraCommit: {
        infraCommit: InferSelectResult<InfraCommitWithRelations, S>;
    };
}, Error, {
    id: string;
    scopeId: string;
}>, 'mutationFn'>): UseMutationResult<{
    deleteInfraCommit: {
        infraCommit: InferSelectResult<InfraCommitWithRelations, S>;
    };
}, Error, {
    id: string;
    scopeId: string;
}>;
