import { Router } from './router';
export declare function errorPage(router: Router): (e: HTMLFormElement, err: any) => void;
export declare const parseLoginError: (e: any) => string;
export declare const parseSignUpError: (e: any) => string;
export declare const parseVerifyError: (e: any) => string;
export declare const parseProviderSignError: (e: any) => string;
export declare const parseResetPasswordError: (e: any) => string;
export declare const parseProviderTokenError: (e: any) => string;
export declare function parseValidateError(e: any, verificationTarget: string): string;
export declare const parseCommonError: (e: any) => string;
