/// export interface SubmitValues { name: string; password: string; } interface Props { showLabel?: boolean; onSuccess: (info: any) => void; children?: React.ReactNode; } export declare const saveUserInfoCookie: (res: any) => Promise; /** * 登录表单 * @param onSuccess {void} -登录成功回调 * @params {children} -登录按钮下方追加元素 支持ReactNode 例如忘记密码和注册跳转按钮 * @returns */ export declare const LoginForm: ({ showLabel, onSuccess, children }: Props) => JSX.Element; export {};