export interface IStudentProfile { displayName: string; studentCode: string; gender: string; birthday: string; } export interface IStudentSemester { value: string; name: string; } export interface IStudentSchedule { date: Date; dayOfWeek: number; subjectCode: string; subjectName: string; className: string; teacher: string; lesson: '1,2,3' | '4,5,6' | '7,8,9' | '10,11,12' | '13,14,15'; room: string; } export interface ILoginResult { status: 'success' | 'error'; message: string; fields?: Record; } export declare class Client { private cookie; private host; private api; private debugMode; constructor(host?: string, debug?: boolean); loginWithPassword(studentCode: string, password: string, shouldHashPassword?: boolean): Promise; loginWithCookie(cookie: string): Promise; getCookie(): string; getProfile(cookie: string): Promise; getSemesters(cookie: string): Promise<{ readonly semesters: IStudentSemester[]; readonly fields: Record; }>; getSchedule(cookie: string, preFields: Record, drpSemester: string): Promise; private checkLogin; private generateAxiosInstance; private formatString; private showError; private extractInitField; private extractSelector; private getRole; }