import Dexie from "dexie";
declare class Token {
    private store?;
    private tokenCacheMap;
    init(db: Dexie): void;
    getToken(baseUrl: string): Promise<any>;
    setToken(baseUrl: string, token: string): Promise<boolean>;
    cleanTokenByKey(baseUrl: string): Promise<void>;
}
declare const self: Token;
export default self;
