/**
 * Create mutation hook for StorageModule
 * @generated by @constructive-io/graphql-codegen
 * DO NOT EDIT - changes will be overwritten
 */
import type { UseMutationOptions, UseMutationResult } from '@tanstack/react-query';
import type { StorageModuleSelect, StorageModuleWithRelations, CreateStorageModuleInput } from '../../orm/input-types';
import type { InferSelectResult, HookStrictSelect } from '../../orm/select-types';
export type { StorageModuleSelect, StorageModuleWithRelations, CreateStorageModuleInput, } from '../../orm/input-types';
/**
 * Mutation hook for creating a StorageModule
 *
 * @example
 * ```tsx
 * const { mutate, isPending } = useCreateStorageModuleMutation({
 *   selection: { fields: { id: true, name: true } },
 * });
 *
 * mutate({ name: 'New item' });
 * ```
 */
export declare function useCreateStorageModuleMutation<S extends StorageModuleSelect>(params: {
    selection: {
        fields: S & StorageModuleSelect;
    } & HookStrictSelect<NoInfer<S>, StorageModuleSelect>;
} & Omit<UseMutationOptions<{
    createStorageModule: {
        storageModule: InferSelectResult<StorageModuleWithRelations, S>;
    };
}, Error, CreateStorageModuleInput['storageModule']>, 'mutationFn'>): UseMutationResult<{
    createStorageModule: {
        storageModule: InferSelectResult<StorageModuleWithRelations, S>;
    };
}, Error, CreateStorageModuleInput['storageModule']>;
