export default function login(rout: string, msg: object): Promise;