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