/**
 * RawMemory object allows to implement your own memory stringifier instead of built-in serializer based on JSON.stringify.
 */ interface RawMemory { /**
     * An object with asynchronous memory segments available on this tick. Each object key is the segment ID with data in string values.
     * Use RawMemory.setActiveSegments to fetch segments on the next tick. Segments data is saved automatically in the end of the tick.
     */ segments : string [ ] ; type { ForeignMemorySegment } foreignSegment : ForeignMemorySegment ; /**
     * Get a raw string representation of the Memory object.
     */ get ( ) : string ; param value set ( value ) : void ; param ids setActiveSegments ( ids ) : void ; param { ( string | null ) } username param { number } id setActiveForeignSegment ( username , id ? ) : void ; param { ( number | null ) } id setDefaultPublicSegment ( id ) : void ; param { number [ ] } ids setPublicSegments ( ids ) : void ; } interface ForeignMemorySegment { username : string ; id : number ; data : string ; }