import { default as low } from 'lowdb'; import { Config, ITokenActions, Token, TokenFilter } from '@verdaccio/types'; export default class TokenActions implements ITokenActions { config: Config; tokenDb: low.LowdbAsync | null; constructor(config: Config); _dbGenPath(dbName: string, config: Config): string; private getTokenDb; saveToken(token: Token): Promise; deleteToken(user: string, tokenKey: string): Promise; readTokens(filter: TokenFilter): Promise; }