1 import type { AuthenticatedDocControllerInterface } from '../../AuthenticatedDocController/AuthenticatedDocControllerInterface'
2 import type { EditorControllerInterface } from '../../EditorController/EditorController'
3 import type { DocumentState, PublicDocumentState } from '../../State/DocumentState'
4 import type { EditorOrchestratorInterface } from '../Orchestrator/EditorOrchestratorInterface'
6 export type DocLoaderStatusObserver<S extends DocumentState | PublicDocumentState> = {
8 orchestrator: EditorOrchestratorInterface
10 docController?: AuthenticatedDocControllerInterface
11 editorController: EditorControllerInterface
13 onError: (error: string) => void