export declare class RegistrationRequestDTO {
    email: string;
    password: string;
    firstname: string;
    lastname: string;
    companyName: string;
    planId: string;
    mpAnonymousId: string;
    [key: string]: any;
    static createFromAny(input: any): RegistrationRequestDTO;
    private errors;
    constructor(email?: string, password?: string, firstname?: string, lastname?: string, companyName?: string, planId?: string, mpAnonymousId?: string);
    isValid(): boolean;
    getErrors(): string[];
    /**
     * This function will validate the supplied password. Note that although the PasswordChangeDTO is able to
     * generate a detailed list of errors, we are not using that here, becuase it is assumed that there will be
     * a detailed check in the UI and this is just a safeguard.
     */
    private validatePassword;
    /**
     * Some people tend to leave spaces before and after words unnecessarily. Here we ALSO make sure none of the fields
     * are left undefined, as "undefined" will crash the validator.
     */
    private trimAllFields;
    /**
     * This function will add to the error list for every missing field. Note that the exception here is email because
     * there is a whole other function dedicated to validating the email address supplied.
     */
    private verifyAllFieldsPresent;
    private normalizeEmail;
}
