UNPKG

@omlet/cli

Version:

Omlet (https://omlet.dev) is a component analytics tool that uses a CLI to scan your codebase to detect components and their usage. Get real usage insights from customizable charts to measure adoption across all projects and identify opportunities to impr

9 lines (8 loc) 376 B
import { type User } from "./apiClient"; export declare class AuthenticationError extends Error { readonly reason: Error; constructor(reason: Error); } export declare function login(port: number, isRemote: boolean): Promise<string>; export declare function getToken(): Promise<string | undefined>; export declare function getAuthenticatedUser(): Promise<User | null>;