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