18 lines
517 B
TypeScript
18 lines
517 B
TypeScript
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;
|