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