import { Observable } from 'rxjs'; import { AddCategoryParam, AddLabelParam, FetchLabelResult, SetCategoryPositionParam, SetCategoryPositionResult, SetLabelPositionParam, SetLabelPositionResult, UpdateCategoryParam, UpdateLabelParam } from '../../../services/eleview/eleview-backface'; import { Category } from '../../../services/eleview/types/category'; import { IElementHis, ILabel, ILabelHisItem, ILabelHisKey, ILabelKey, INode, OwnerByEnum } from '../../../services/eleview/types/model'; export interface BackFace { addCategory(param: AddCategoryParam): Observable; removeCategory(id: string): Observable; setCategoryPosition(param: SetCategoryPositionParam): Observable; updateCategory(param: UpdateCategoryParam): Observable; fetchCategories(param: { EleName: string; OwnerBy: OwnerByEnum; Owner: string; }): Observable; fetchCategoryLabelHis(param: { EleName: string; OwnerBy: OwnerByEnum; Owner: string[]; }): Observable; fetchLabelHisList(param: ILabelKey): Observable; fetchLabelHis(param: ILabelHisKey): Observable<{ Conts: string; PlainText: string; }>; addLabel(param: AddLabelParam): Observable; removeLabel(param: ILabelKey): Observable; nodeToString(param: INode): Observable; stringToNode(param: string): Observable; setLabelPosition(param: SetLabelPositionParam): Observable; updateLabel(param: UpdateLabelParam): Observable; fetchLabel(param: ILabelKey): Observable; }