/**
 * User email addresses with verification and primary-email management
 * @generated by @constructive-io/graphql-codegen
 * DO NOT EDIT - changes will be overwritten
 */
import type { UseMutationOptions, UseMutationResult } from '@tanstack/react-query';
import type { EmailSelect, EmailWithRelations } from '../../orm/input-types';
import type { InferSelectResult, HookStrictSelect } from '../../orm/select-types';
export type { EmailSelect, EmailWithRelations } from '../../orm/input-types';
/**
 * User email addresses with verification and primary-email management
 *
 * @example
 * ```tsx
 * const { mutate, isPending } = useDeleteEmailMutation({
 *   selection: { fields: { id: true } },
 * });
 *
 * mutate({ id: 'value-to-delete' });
 * ```
 */
export declare function useDeleteEmailMutation<S extends EmailSelect>(params: {
    selection: {
        fields: S & EmailSelect;
    } & HookStrictSelect<NoInfer<S>, EmailSelect>;
} & Omit<UseMutationOptions<{
    deleteEmail: {
        email: InferSelectResult<EmailWithRelations, S>;
    };
}, Error, {
    id: string;
}>, 'mutationFn'>): UseMutationResult<{
    deleteEmail: {
        email: InferSelectResult<EmailWithRelations, S>;
    };
}, Error, {
    id: string;
}>;
