/**
 * Update 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, EmailsModulePatch } from '../../orm/input-types';
import type { InferSelectResult, HookStrictSelect } from '../../orm/select-types';
export type { EmailsModuleSelect, EmailsModuleWithRelations, EmailsModulePatch, } from '../../orm/input-types';
/**
 * Mutation hook for updating a EmailsModule
 *
 * @example
 * ```tsx
 * const { mutate, isPending } = useUpdateEmailsModuleMutation({
 *   selection: { fields: { id: true, name: true } },
 * });
 *
 * mutate({ id: 'value-here', emailsModulePatch: { name: 'Updated' } });
 * ```
 */
export declare function useUpdateEmailsModuleMutation<S extends EmailsModuleSelect>(params: {
    selection: {
        fields: S & EmailsModuleSelect;
    } & HookStrictSelect<NoInfer<S>, EmailsModuleSelect>;
} & Omit<UseMutationOptions<{
    updateEmailsModule: {
        emailsModule: InferSelectResult<EmailsModuleWithRelations, S>;
    };
}, Error, {
    id: string;
    emailsModulePatch: EmailsModulePatch;
}>, 'mutationFn'>): UseMutationResult<{
    updateEmailsModule: {
        emailsModule: InferSelectResult<EmailsModuleWithRelations, S>;
    };
}, Error, {
    id: string;
    emailsModulePatch: EmailsModulePatch;
}>;
