/**
 * Delete 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 } from '../../orm/input-types';
import type { InferSelectResult, HookStrictSelect } from '../../orm/select-types';
export type { EmailsModuleSelect, EmailsModuleWithRelations } from '../../orm/input-types';
/**
 * Mutation hook for deleting a EmailsModule with typed selection
 *
 * @example
 * ```tsx
 * const { mutate, isPending } = useDeleteEmailsModuleMutation({
 *   selection: { fields: { id: true } },
 * });
 *
 * mutate({ id: 'value-to-delete' });
 * ```
 */
export declare function useDeleteEmailsModuleMutation<S extends EmailsModuleSelect>(params: {
    selection: {
        fields: S & EmailsModuleSelect;
    } & HookStrictSelect<NoInfer<S>, EmailsModuleSelect>;
} & Omit<UseMutationOptions<{
    deleteEmailsModule: {
        emailsModule: InferSelectResult<EmailsModuleWithRelations, S>;
    };
}, Error, {
    id: string;
}>, 'mutationFn'>): UseMutationResult<{
    deleteEmailsModule: {
        emailsModule: InferSelectResult<EmailsModuleWithRelations, S>;
    };
}, Error, {
    id: string;
}>;
