export type Hash = Uint8Array; export interface FrozenStorageOptions { id?: Uint8Array | string; } export declare class FrozenValue { readonly value: T; constructor(value: T); merge(_other: FrozenValue): FrozenValue; toJSON(): { __frozenValue: true; value: T; }; static fromJSON(data: { __frozenValue: true; value: T; }): FrozenValue; } export declare class FrozenStorage { private readonly mapId; constructor(options?: FrozenStorageOptions); static fromId(id: Uint8Array | string): FrozenStorage; id(): string; idBytes(): Uint8Array; add(value: T): Hash; get(hash: Hash): T | null; has(hash: Hash): boolean; remove(_hash: Hash): never; entries(): Array<[Hash, T]>; hashes(): Hash[]; values(): T[]; static computeHash(value: T): Hash; toJSON(): Record; } //# sourceMappingURL=FrozenStorage.d.ts.map