export declare const regExp: any; export declare const receiverLabel: any; export declare const validateCodeLabel: any; export declare const useTimer: () => { time: number; onTimer: () => void; disabled: boolean; setDisabled: import("react").Dispatch>; }; /** * 校验手机 | 邮箱唯一 * 发送手机 | 邮箱短信 * @param type 手机 | 邮箱 * */ export declare function useValidator(): { timeText: string; disabled: boolean; setDisabled: import("react").Dispatch>; onValidator: (type: string, value: string, page: string, isSendEmailCode?: boolean) => Promise; onVerifyingCode: (type: string, receiver: string) => Promise; }; /** * 输入密码验证 * @param password 密码 * @param name 用户名 */ export declare function validateToNextPassword(password: string, name: string, isReset?: boolean): Promise; /** * 确认密码 * @param password 密码 * @param password2 确认密码 * @param name 用户名 * */ export declare function compareToFirstPassword(password: string, password2: string, name: string): Promise;