export class TaskLoadingScreen {
    /**
     *
     * @param {Engine} engine
     * @param {Task|TaskGroup} task
     * @returns {Promise<void>}
     */
    static load(engine: Engine, task: Task | TaskGroup): Promise<void>;
    /**
     *
     * @returns {TaskLoadingScreen}
     */
    static get instance(): TaskLoadingScreen;
    _active_promise: Promise<void>;
    /**
     *
     * @type {number}
     * @private
     */
    private _release_delay_seconds;
    /**
     *
     * @type {number}
     * @private
     */
    private _release_delay_handle;
    _pending_cleanup: any[];
    _state_stack: any[];
    _clearReleaseTimeout(): void;
    /**
     *
     * @param {Engine} engine
     * @param {Task|TaskGroup} task
     * @returns {Promise<void>}
     */
    load(engine: Engine, task: Task | TaskGroup): Promise<void>;
}
//# sourceMappingURL=TaskLoadingScreen.d.ts.map