import { Credit, EndPoint, Uris } from '../utils/interfaces'; import Problem from './problem'; declare class Leetcode { session?: string; csrfToken: string; static uris: Uris; static setUris(uris: Uris): void; constructor(credit: Credit); readonly credit: Credit; static build(username: string, password: string, endpoint: EndPoint): Promise; static login(username: string, password: string): Promise; getProfile(): Promise; getAllProblems(): Promise>; getProblemsByTag(tag: string): Promise>; } export default Leetcode;