import { Application, Container, Sprite, Text } from 'pixi.js'; export default abstract class BaseDemo { private static BACKGROUND_URL; protected readonly app: Application; protected readonly _background: Sprite; protected readonly _resources: string[]; protected _pixiResources: any; container: Container; appName: string; constructor(appName: string); init(): Promise; destroy(): Promise; protected abstract _onStart(): any; protected _loadResources(): Promise; createText(string: string): Text; addChild(child: any): void; addListener(event: string, handler: any, context: any): void; removeChild(child: any): void; get stageWidth(): number; get stageHeight(): number; }