import { Actions } from '@ngrx/effects'; import { DocumentAdded, CreateDocument, UpdateDocument, CreateOrUpdateDocument, DocumentCreated, DocumentUpdated, DocumentDeleted, AddManyDocuments, CreateManyDocuments, DocumentRemoved, DocumentModified, OpenDeleteDialog, CreateFailed, DeleteFailed, UpdateFailed } from './document.actions'; import { Observable } from 'rxjs'; import { NGXLogger } from 'ngx-logger'; import { Store } from '@ngrx/store'; import { DigiAIXCoreAppState } from '../app-state'; import { ShowErrorMessage } from '../notification/notification.actions'; import { DocumentService } from './document.service'; import { Router } from '@angular/router'; import { LifeCycleService } from '../life-cycle/life-cycle.service'; import { FireStoreDocument } from '@digitaix/types'; export declare class DocumentEffects { readonly actions$: Actions; readonly logger: NGXLogger; readonly store$: Store; readonly lifeCycle: LifeCycleService; readonly ds: DocumentService; readonly router: Router; loadDocuments$: Observable | ShowErrorMessage>; subscribeDocuments$: Observable | DocumentRemoved | DocumentModified | ShowErrorMessage>; setDocumentAsDraftToggle$: Observable>; setDocumentAsDraft$: Observable>; setDocumentAsTemplateToggle$: Observable>; setDocumentAsTemplate$: Observable>; createDocument$: Observable | DocumentCreated>; createOrUpdateDocument$: Observable | CreateDocument>; clearAll$: Observable; requestDeleteDocument$: Observable; deleteDocument$: Observable | DocumentDeleted>; updateDocument$: Observable | ShowErrorMessage | DocumentUpdated>; documentCreated$: Observable>; documentDeleted$: Observable; documentUpdated$: Observable>; getDocument$: Observable>; getManyDocument$: Observable | ShowErrorMessage>; restoreDocument$: Observable>; archiveDocument$: Observable>; createMany$: Observable>; importDocuments$: Observable | ShowErrorMessage>; exportDocuments$: Observable; constructor(actions$: Actions, logger: NGXLogger, store$: Store, lifeCycle: LifeCycleService, ds: DocumentService, router: Router); }