import { EulithAuthKeyPair } from "./wasm_types/eulith_auth"; export declare module Auth { interface Token { readonly token: string; } function fromCredentials(username: string, password: string, otp: string, serverUrl: string, expire_token_in_seconds?: bigint): Promise; /** * Instantiate a valid Auth object from a user token */ function fromToken(token: string): Token; function generateKeyPair(username: string, password: string): Promise; }