/**
 * Named stores — one per version-controlled tree (e.g. one graph, one definition set)
 * @generated by @constructive-io/graphql-codegen
 * DO NOT EDIT - changes will be overwritten
 */
import type { UseMutationOptions, UseMutationResult } from '@tanstack/react-query';
import type { InfraStoreSelect, InfraStoreWithRelations, CreateInfraStoreInput } from '../../orm/input-types';
import type { InferSelectResult, HookStrictSelect } from '../../orm/select-types';
export type { InfraStoreSelect, InfraStoreWithRelations, CreateInfraStoreInput, } from '../../orm/input-types';
/**
 * Named stores — one per version-controlled tree (e.g. one graph, one definition set)
 *
 * @example
 * ```tsx
 * const { mutate, isPending } = useCreateInfraStoreMutation({
 *   selection: { fields: { id: true, name: true } },
 * });
 *
 * mutate({ name: 'New item' });
 * ```
 */
export declare function useCreateInfraStoreMutation<S extends InfraStoreSelect>(params: {
    selection: {
        fields: S & InfraStoreSelect;
    } & HookStrictSelect<NoInfer<S>, InfraStoreSelect>;
} & Omit<UseMutationOptions<{
    createInfraStore: {
        infraStore: InferSelectResult<InfraStoreWithRelations, S>;
    };
}, Error, CreateInfraStoreInput['infraStore']>, 'mutationFn'>): UseMutationResult<{
    createInfraStore: {
        infraStore: InferSelectResult<InfraStoreWithRelations, S>;
    };
}, Error, CreateInfraStoreInput['infraStore']>;
