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