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