import { CurrentService } from 'dbweb-core'; import { Observable } from 'rxjs'; import { AddCategoryParam, AddLabelParam, EleViewBackFaceService, 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'; import { ElementDataRecordView } from './element.service'; import { BackFace } from '../../components/label-manager/service/backface'; export declare class LabelMockBackfaceService implements BackFace { private backface; private curr; isAdd: boolean; recordViewData: ElementDataRecordView; constructor(backface: EleViewBackFaceService, curr: CurrentService); 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; }