/// import LoginRequest from './messages/LoginRequest.js'; import LoginResponse from './messages/LoginResponse.js'; export interface Login5Credentials { username: string; password?: string; stored_credential?: Buffer; } interface Login5Request { client_id: string; device_id: string; credentials: Login5Credentials; login_context?: Buffer; solutions?: [Buffer]; interaction?: { uri: string; nonce: string; ui_locales: string; }; } export default class Login5Client { #private; clientId: string; deviceId: string; init: boolean; loginRequest: LoginRequest; loginResponse: LoginResponse; refreshCredentials?: Login5Credentials; constructor(clientId: string, deviceId: string); login(credentials: Login5Credentials): Promise; refresh(): Promise; handleError(error: number): void; call(params: Login5Request): Promise; solveHashcash(loginContext: Buffer, prefix: Buffer, length: number): Promise; countTrailingZeros(n: bigint): number; uuidv4(): string; } export {};