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