UNPKG

@oddjs/odd

Version:
16 lines (15 loc) 416 B
export declare type ImplementationOptions = { name: string; }; export declare type Implementation = { KEYS: { ACCOUNT_UCAN: string; CID_LOG: string; UCANS: string; SESSION: string; }; getItem: <T>(key: string) => Promise<T | null>; setItem: <T>(key: string, val: T) => Promise<T>; removeItem: (key: string) => Promise<void>; clear: () => Promise<void>; };