import { Cache as FlatCache } from 'flat-cache';
import { IMetaData } from './types';
interface IOptions {
    id?: string;
}
export declare class MetaCache {
    flatCache: FlatCache;
    id: string;
    private _values;
    constructor(options?: IOptions);
    get values(): IMetaData;
    syncWithCache(): this;
    set<T extends keyof IMetaData>(key: T, value: IMetaData[T]): this;
    save(): this;
    getSessionIndex(sessionId: string): number;
    addSessions(sessions: IMetaData['sessions']): this;
    removeSessionsByIndexes(indexes: number[]): this;
    removeSessionsByIds(sessionsIds: string[]): this;
}
export {};
