import { TAbstractWrapper } from '../../Abstract'; import { TLoadingEvent } from '..'; import { TDestroyable } from '../../Mixins'; import { BehaviorSubject } from 'rxjs'; import { LoadingManager } from 'three'; export type TLoadingManagerWrapper = TAbstractWrapper & Readonly<{ progress$: BehaviorSubject; ready$: BehaviorSubject; waitFontsLoading: (label?: string) => Promise; waitLoading: (label: string, loadingTask: () => Promise) => Promise; }> & TDestroyable;