import { IDataKind } from '../IDataKind.js'; export declare const StoreStorageKey = "fb-datastore"; export declare const CurrentUserStorageKey = "fb-user"; export declare enum StoreItemOriginEnum { Local = "Local", Remote = "Remote" } /** * Represents an item which can be stored in the feature store. */ export interface IStoreItem { version: number; origin: StoreItemOriginEnum; deleted?: boolean; [attribute: string]: any; } /** * When upserting an item it must contain a key. */ export interface IKeyedStoreItem extends IStoreItem { key: string; } export interface IStoreUpdate { kind: IDataKind; data: IKeyedStoreItem; } /** * Represents the storage for a single kind of data. e.g. 'flag' or 'segment'. */ export interface IStoreKindData { [key: string]: IStoreItem; } /** * Represents the storage for the full data store. */ export interface IStoreDataStorage { flags: IStoreKindData; version: number; [attribute: string]: any; }