export declare class Destroyable { protected _isDestroyed: boolean; protected _destructionMessage: string; constructor(); /** * Is this instance are destroy? */ get isDestroyed(): boolean; /** * check the instance is destroyed. * If an instance is destroyed by the `destroy` method, throw the destruction reason as an error message. */ protected checkDestroy(): void; /** * Destroy this instance with reason. * @param message reason message */ protected destroy(message: string): void; }