import { BcfTopic, BcfTopicTotal } from '../store/bcfReflect'; import { ToolDir } from '../store/initConfigs'; import { ComponentName } from '../store/toolbars'; import { InputComment } from '@xtctwins/tctwins-bimx-viewer/types/src/toolbar/BCFTool'; declare const emitter: import('mitt').Emitter>; export default emitter; export declare let EventMemory: { BIMX_CONFIGS: { viewerManager: boolean; Toolbar: boolean; RoamTool: boolean; }; BimViewer: { viewerManager: boolean; }; }; export type AnnoType = "file" | "image" | "record" | "text" | "video"; export type RoamEvent = "goUp" | "goDown" | "goLeft" | "goRight" | "goForward" | "goBackward" | "stop"; export type MeasureTool = "distance" | "angle"; export type EventContent = { /** * 是否是功能 */ isTool: boolean; /** * 触发的事件对象 */ event_target: ComponentName | "BimXViewer" | "ToolBar"; /** * 事件名称 */ event_name: string; /** * 事件内容 */ content: { content?: any; id?: any; msg?: string; code?: 200 | -1; item?: any; type?: string; toolId?: number; toolKey?: string; color?: string; active?: boolean; enable?: boolean; tool_type?: AnnoType; annoId?: string; object?: any; currentAnnotation?: any; rawFile?: any; targetAnno?: any; status?: string | boolean; nodeId?: string | number; entityId?: string | number; objectId?: string | number; viewer_nodeId?: string | number; active_tree?: number; img_data?: string; roam?: RoamEvent; newSets?: any; newComment?: any; direction?: number; measureTool?: MeasureTool; newMeasure?: any; measurePrefer?: any; bcf?: BcfTopic | BcfTopicTotal; bcfId?: number; bcf_guid?: string; bcf_cmt?: InputComment; bcf_cmt_guid?: string; title?: string; cameraView?: any; description?: string; }; }; type instructionName = "updateCmtList" | "checkCmtDetail" | "newComment" | "updateBcfList" | "checkBcfDetail" | "changeBackgroundColor" | "setNavCube" | "setAnnoStatus" | "setCameraView" | "lastSetsContent"; export type InstructionContent = { instruct_name: instructionName; content: { code?: any; guid?: any; msg?: any; type?: any; active?: boolean; color?: string; move?: boolean; pos?: ToolDir; posNum?: number[]; index?: number; cmtList?: any; cmtDetail?: any; bcfList?: BcfTopicTotal[]; bcfDetail?: BcfTopicTotal; lastSet?: any; cameraView?: any; }; };