export declare type ILogin = (needCheck?: boolean) => Promise; export declare type ICheckSessionAction = () => Promise; export interface IAction { checkSessionSync: ICheckSessionAction; loginSync: ILogin; getPhoneNumer: (e: any) => Promise<{ code: string | undefined; encryptedData: string; iv: string; phoneNumberCode: string; }>; } declare function useLogin(): IAction; export default useLogin;