/**
 * 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 { StoreSelect, StoreWithRelations, CreateStoreInput } from '../../orm/input-types';
import type { InferSelectResult, HookStrictSelect } from '../../orm/select-types';
export type { StoreSelect, StoreWithRelations, CreateStoreInput } from '../../orm/input-types';
/**
 * Named stores — one per version-controlled tree (e.g. one graph, one definition set)
 *
 * @example
 * ```tsx
 * const { mutate, isPending } = useCreateStoreMutation({
 *   selection: { fields: { id: true, name: true } },
 * });
 *
 * mutate({ name: 'New item' });
 * ```
 */
export declare function useCreateStoreMutation<S extends StoreSelect>(params: {
    selection: {
        fields: S & StoreSelect;
    } & HookStrictSelect<NoInfer<S>, StoreSelect>;
} & Omit<UseMutationOptions<{
    createStore: {
        store: InferSelectResult<StoreWithRelations, S>;
    };
}, Error, CreateStoreInput['store']>, 'mutationFn'>): UseMutationResult<{
    createStore: {
        store: InferSelectResult<StoreWithRelations, S>;
    };
}, Error, CreateStoreInput['store']>;
