import type { FivePlugin } from '@realsee/five'; import type { RoomInfo, RoomRules } from './typings'; interface PanoRulerPluginConfig { distanceText: (distance: number) => string; } export interface PanoRulerPluginOptions extends Partial { className?: string; } interface PanoRulerPluginPluginState { enable: boolean; loaded: boolean; options: PanoRulerPluginOptions; } export interface PanoRulerPluginParameterType { roomInfo?: RoomInfo; roomRules?: RoomRules; options?: PanoRulerPluginOptions; } export interface PanoRulerPluginExportType { enable: () => void; disable: () => void; load: (roomInfo?: RoomInfo, roomRules?: RoomRules, options?: PanoRulerPluginOptions) => Promise; state: PanoRulerPluginPluginState; changeConfigs: (config: Partial) => void; } /** * 全景标尺插件 */ export declare const PanoRulerPlugin: FivePlugin; export declare const panoRulerPluginServerParams: { name: string; version: number; }; export default PanoRulerPlugin;