/**
 * A dropped piece of resource. It will decay after a while if not picked up. Dropped resource pile decays for ceil(amount/1000) units per tick.
 */ interface Resource extends RoomObject { readonly prototype : Resource ; /**
     * The amount of resource units containing.
     */ amount : number ; /**
     * A unique object identifier. You can use `Game.getObjectById` method to retrieve an object instance by its `id`.
     */ id : string ; /**
     * One of the `RESOURCE_*` constants.
     */ resourceType : string ; } interface ResourceConstructor { new ( id ) : Resource ; } declare const Resource ;