import Result from "../../models/Result"; export interface AddMarkerParams { modelId: string; type: string; isAdsorbed: boolean; group?: string; coordType: number; coord: number[]; coordTypeZ: number; coordZ: number; rotation: number[]; autoSize: string; markerStyle: string; scale: number[]; markerVisible: string; markerUrl?: string; markerFrame?: string; markerColor?: string; markerIcon?: string; iconColor: string; markerOffset: number[]; labelVisible: string; labelText: string; fontColor: string; fontSize: number; labelOffset: number[]; bgColor: string; bgOpa: number; isCameraFace?: boolean; imageType?: number; modelFiles?: {}; markerFiles?: {}; customData?: {}; } export interface AddMarkersParams { markerDataFiles: { modelId: string; labelText: string; coord: number[]; customData?: {}; }[]; type: string; group?: string; coordType: number; coordTypeZ: number; coordZ: number; autoSize: string; markerStyle: string; markerVisible: string; markerUrl?: string; markerFrame: string; markerColor: string; iconColor: string; markerOffset: number[]; labelOffset: number[]; labelVisible: string; fontColor: string; bgColor: string; bgOpa: number; scale: number[]; markerAnchor: string; markerIcon: string; fontSize: number; isCameraFace?: boolean; imageType?: number; } export interface AddModelMarkerParams { attachedId: string; modelId: string; height: number; type: string; group?: string; rotation: number[]; autoSize: string; markerStyle: string; scale: number[]; markerVisible: string; markerUrl?: string; markerFrame: string; markerColor: string; markerIcon: string; iconColor: string; markerOffset: number[]; labelVisible: string; labelText: string; fontColor: string; fontSize: number; labelOffset: number[]; bgColor: string; bgOpa: number; isCameraFace?: boolean; imageType?: number; customData?: any; modelFiles?: {}; markerFiles?: {}; } export interface AddModelMarkersParams { markerDataFiles: { modelId: string; attachedId: string; labelText: string; customData?: {}; }[]; type: string; group?: string; scale: number[]; autoSize: string; markerUrl?: string; markerStyle: string; markerColor: string; markerFrame: string; markerAnchor: string; markerIcon: string; iconColor: string; labelVisible: boolean; fontColor: string; fontSize: number; isCameraFace?: boolean; imageType?: number; } export interface UpdateMarkerStyleParams { modelId: string[]; type: string; group?: string; rotation: number[]; markerVisible: string; markerFrame: string; markerColor: string; markerUrl?: string; markerIcon: string; iconColor: string; markerOffset: number[]; labelVisible: string; labelText: string; fontColor: string; fontSize: number; labelOffset: number[]; bgColor: string; bgOpa: number; isCameraFace?: boolean; imageType?: number; customData?: any; modelFiles?: {}; markerFiles?: {}; } export interface UpdateMarkerScaleParams { modelFiles: { modelId: string[]; scale: number[]; }; } export interface UpdateMarkerCoordParams { modelFiles: { modelId: string[]; type: string; coordType: number; coord: number[]; coordTypeZ: number; coordZ: number; rotation?: []; }; } declare class Marker { private static get className(); static addMarker: (params: AddMarkerParams[]) => Promise>; static addMarkers: (params: AddMarkersParams) => Promise>; static addModelMarker: (params: AddModelMarkerParams[]) => Promise>; static addModelMarkers: (params: AddModelMarkersParams) => Promise>; static updateMarkerStyle: (params: UpdateMarkerStyleParams[]) => Promise>; static updateMarkerScale: (params: UpdateMarkerScaleParams[]) => Promise>; static updateMarkerCoord: (params: UpdateMarkerCoordParams[]) => Promise>; } export default Marker;