temp
This commit is contained in:
17
dist/tools/memory-api.d.ts
vendored
Normal file
17
dist/tools/memory-api.d.ts
vendored
Normal file
@@ -0,0 +1,17 @@
|
||||
export interface MemoryEntry {
|
||||
key: string;
|
||||
type: string;
|
||||
value: string;
|
||||
}
|
||||
export interface MemoryInput {
|
||||
key: string;
|
||||
type: string;
|
||||
value: string;
|
||||
}
|
||||
export declare function toEntry(input: MemoryInput): MemoryEntry;
|
||||
export declare function saveMemoryToStore(sessionKey: string, input: MemoryInput): {
|
||||
saved: true;
|
||||
entry: MemoryEntry;
|
||||
};
|
||||
export declare function listMemoryFromStore(sessionKey: string): MemoryEntry[];
|
||||
export declare function clearMemoryStore(sessionKey: string): void;
|
||||
Reference in New Issue
Block a user