import { Command } from 'commander'; import { UserStatus } from '@lcool/api'; export interface UserCommandOptions { login: string | boolean; logout: string | boolean; switch: string | boolean; add: string; info: string; list: boolean; } export interface UserInfo extends UserStatus { token?: string; csrfToken?: string; isCurrent: boolean; } export declare const user: () => Command; export declare function accountLogin(current?: boolean): Promise; export declare function getUserQuestions(u: Pick): any; export declare function getLoginUser(): UserInfo | null;