/**
 * A store represents an isolated object repository within a database.
 * @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';
/**
 * A store represents an isolated object repository within a database.
 *
 * @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']>;
