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<any> | null;
    constructor(config: Config);
    _dbGenPath(dbName: string, config: Config): string;
    private getTokenDb;
    saveToken(token: Token): Promise<void>;
    deleteToken(user: string, tokenKey: string): Promise<void>;
    readTokens(filter: TokenFilter): Promise<Token[]>;
}
