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