Huginn/dist/single-file-messagepack-backing-store.d.ts
2026-05-06 03:17:20 +01:00

11 lines
No EOL
553 B
TypeScript

import type { CacheBackingStore, CultCacheEnvelope, PushAllOptions } from "./types";
export declare class SingleFileMessagePackBackingStore implements CacheBackingStore {
#private;
readonly filePath: string;
constructor(filePath: string);
pullAll(): Promise<CultCacheEnvelope[]>;
push(entry: CultCacheEnvelope): Promise<void>;
delete(entry: CultCacheEnvelope): Promise<void>;
pushAll(entries: CultCacheEnvelope[], options?: PushAllOptions): Promise<void>;
}
//# sourceMappingURL=single-file-messagepack-backing-store.d.ts.map