/**
 * 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, CreateEmailInput } from '../../orm/input-types';
import type { InferSelectResult, HookStrictSelect } from '../../orm/select-types';
export type { EmailSelect, EmailWithRelations, CreateEmailInput } from '../../orm/input-types';
/**
 * User email addresses with verification and primary-email management
 *
 * @example
 * ```tsx
 * const { mutate, isPending } = useCreateEmailMutation({
 *   selection: { fields: { id: true, name: true } },
 * });
 *
 * mutate({ name: 'New item' });
 * ```
 */
export declare function useCreateEmailMutation<S extends EmailSelect>(params: {
    selection: {
        fields: S & EmailSelect;
    } & HookStrictSelect<NoInfer<S>, EmailSelect>;
} & Omit<UseMutationOptions<{
    createEmail: {
        email: InferSelectResult<EmailWithRelations, S>;
    };
}, Error, CreateEmailInput['email']>, 'mutationFn'>): UseMutationResult<{
    createEmail: {
        email: InferSelectResult<EmailWithRelations, S>;
    };
}, Error, CreateEmailInput['email']>;
