import { IReferable } from "./asset/IReferable"; import { EngineObject } from "./base"; import { Entity } from "./Entity"; import { Scene } from "./Scene"; /** * The base class of the components. */ export declare class Component extends EngineObject { protected _phasedActiveInScene: boolean; private _phasedActive; private _enabled; /** * Indicates whether the component is enabled. */ get enabled(): boolean; set enabled(value: boolean); /** * The entity which the component belongs to. */ get entity(): Entity; /** * The scene which the component's entity belongs to. */ get scene(): Scene; constructor(entity: Entity); protected _addResourceReferCount(resource: IReferable, count: number): void; }