import type { GetServerSidePropsContext, NextApiResponse } from "next";
import type { TrpcSessionUser } from '../../types';
import type { TAddSecondaryEmailInputSchema } from "./addSecondaryEmail.schema";
type AddSecondaryEmailOptions = {
    ctx: {
        user: NonNullable<TrpcSessionUser>;
        res?: NextApiResponse | GetServerSidePropsContext["res"];
    };
    input: TAddSecondaryEmailInputSchema;
};
export declare const addSecondaryEmailHandler: ({ ctx, input }: AddSecondaryEmailOptions) => Promise<{
    data: {
        id: number;
        email: string;
        userId: number;
        emailVerified: Date | null;
    };
    message: string;
}>;
export {};
//# sourceMappingURL=addSecondaryEmail.handler.d.ts.map