import { CPrimitive } from "../base_collabs/c_primitive"; import { InitToken } from "../core"; /** * [[Collab]] wrapper for a constant value. * * This class lets you use constant values in contexts that require * a Collab, e.g., [[CList]]. In most cases, though, you can instead * use a "Value" collection like [[CValueList]], which will be more * memory-efficient. */ export declare class CConst extends CPrimitive { readonly value: T; constructor(init: InitToken, value: T); protected receivePrimitive(): void; savePrimitive(): Uint8Array; loadPrimitive(): void; canGC(): boolean; }