/**
 * A cache to store the serialized version of an object
 *
 * This is a thin wrapper around WeakMap
 */
export declare class SerializedCache {
    private map;
    get(obj: object): Uint8Array | undefined;
    set(obj: object, serialized: Uint8Array): void;
    /**
     * Delete cached serialized entries for the provided object references.
     * Must only be called after all DB writes that read from this cache for these objects have completed,
     * otherwise cached serialized bytes will be unavailable and data will be re-serialized unnecessarily.
     */
    delete(objs: object[]): void;
}
//# sourceMappingURL=serializedCache.d.ts.map