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