import { AllowedKeyPath, ClientStorage, StorageItem } from '../types/storage';
export type DbOptions = {
    keyPath?: AllowedKeyPath;
    name: string;
};
export default class Persister {
    private _db;
    private _db_options;
    constructor(dbOptions: DbOptions);
    defineDb(): ClientStorage;
    getItem(itemKey: string): Promise<StorageItem | undefined>;
    removeItem(itemKey: string): void;
    setItem(key: string, item: any): void;
}
