NativeStorageInterface
Type. Public surface returned by createNativeStore.
Table of contents
Category
Type
Type import
tsimport type { NativeStorageInterface } from "valyrian.js/native-store";Public signature
tsinterface NativeStorageInterface { state: Record<string, any>; set(key: string, value: any): void; get(key: string): any; delete(key: string): void; load(): void; clear(): void; cleanup(): void; }Type usage
NativeStorageInterface is the storage surface returned by createNativeStore before definition-specific members are intersected.