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