///
import { TypeLogin, ISchool } from "../constant/types";
declare type LoginInfo = {
email: string;
password: string;
captcha: string;
rememberMe: boolean;
isSessionUserBrowser?: boolean;
};
declare const useLogin: () => {
defaultInfo: LoginInfo;
userLogin: (data: any) => Promise;
openLogin: boolean;
toggle: () => void;
isShowPassword: boolean;
setIsShowPassword: import("react").Dispatch>;
fnIsCheckLogin: (type: TypeLogin, data: any, token: string, clickHandler?: any) => Promise;
isLoginGoogle: any;
infoUser: any;
submitLogin: (teacherId: number, clickHandler: any) => Promise;
googleClientId: string;
googleRecaptchaId: string;
handleCancelModelAssign: () => void;
openModelAssign: boolean;
fnLoginSSO: (clickHandler?: any) => Promise;
school: ISchool;
extensionEmail: string;
handleLoginWidthClever: () => void;
};
export default useLogin;