Files
2026-02-05 15:27:49 +08:00

12 lines
317 B
TypeScript

import { Adapter, SyncAdapter } from '../core/Low.js';
export declare class Memory<T> implements Adapter<T> {
#private;
read(): Promise<T | null>;
write(obj: T): Promise<void>;
}
export declare class MemorySync<T> implements SyncAdapter<T> {
#private;
read(): T | null;
write(obj: T): void;
}