import { IBackupService, ILoggerService } from "@connext/types"; import { Sequelize } from "sequelize"; export declare type StoreOptions = { backupService?: IBackupService; logger?: ILoggerService; sequelize?: Sequelize; prefix?: string; separator?: string; }; export interface IAsyncStorage { getItem(key: string): Promise; setItem(key: string, value: string): Promise; removeItem(key: string): Promise; } export declare const StoreTypes: { AsyncStorage: "AsyncStorage"; File: "File"; LocalStorage: "LocalStorage"; Postgres: "Postgres"; Memory: "Memory"; }; export declare type StoreTypes = typeof StoreTypes[keyof typeof StoreTypes]; export interface KeyValueStorage { init(): Promise; close(): Promise; getKey(...args: string[]): string; getKeys(): Promise; getEntries(): Promise<[string, any][]>; getItem(key: string): Promise; setItem(key: string, value: T): Promise; removeItem(key: string): Promise; } //# sourceMappingURL=types.d.ts.map