import type { VcDistanceLegendEvt, VcComponentInternalInstance, VcReadyObject, VcComponentPublicInstance } from 'casc-cesium-utils/types'; declare const emits: { distanceLegendEvt: (evt: VcDistanceLegendEvt) => boolean; beforeLoad: (instance: VcComponentInternalInstance) => boolean; ready: (readyObj: VcReadyObject) => boolean; unready: (e: any) => boolean; destroyed: (instance: VcComponentInternalInstance) => boolean; }; export declare const distanceLegendProps: { position: { type: import("vue").PropType<"top" | "left" | "right" | "bottom" | "top-right" | "top-left" | "bottom-right" | "bottom-left">; default: string; validator: (v: string) => boolean; }; offset: { type: import("vue").PropType<[number, number]>; validator: (v: any) => boolean; }; color: { type: StringConstructor; default: string; }; background: { type: StringConstructor; default: string; }; width: { type: NumberConstructor; default: number; }; barBackground: { type: StringConstructor; default: string; }; customClass: { type: StringConstructor; default: string; }; teleportToViewer: { type: BooleanConstructor; default: boolean; }; }; declare const _default: import("vue").DefineComponent<{ position: { type: import("vue").PropType<"top" | "left" | "right" | "bottom" | "top-right" | "top-left" | "bottom-right" | "bottom-left">; default: string; validator: (v: string) => boolean; }; offset: { type: import("vue").PropType<[number, number]>; validator: (v: any) => boolean; }; color: { type: StringConstructor; default: string; }; background: { type: StringConstructor; default: string; }; width: { type: NumberConstructor; default: number; }; barBackground: { type: StringConstructor; default: string; }; customClass: { type: StringConstructor; default: string; }; teleportToViewer: { type: BooleanConstructor; default: boolean; }; }, () => import("vue").VNode, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, { distanceLegendEvt: (evt: VcDistanceLegendEvt) => boolean; beforeLoad: (instance: VcComponentInternalInstance) => boolean; ready: (readyObj: VcReadyObject) => boolean; unready: (e: any) => boolean; destroyed: (instance: VcComponentInternalInstance) => boolean; }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly; default: string; validator: (v: string) => boolean; }; offset: { type: import("vue").PropType<[number, number]>; validator: (v: any) => boolean; }; color: { type: StringConstructor; default: string; }; background: { type: StringConstructor; default: string; }; width: { type: NumberConstructor; default: number; }; barBackground: { type: StringConstructor; default: string; }; customClass: { type: StringConstructor; default: string; }; teleportToViewer: { type: BooleanConstructor; default: boolean; }; }>> & { onReady?: (readyObj: VcReadyObject) => any; onUnready?: (e: any) => any; onBeforeLoad?: (instance: VcComponentInternalInstance) => any; onDestroyed?: (instance: VcComponentInternalInstance) => any; onDistanceLegendEvt?: (evt: VcDistanceLegendEvt) => any; }, { position: "top" | "left" | "right" | "bottom" | "top-right" | "top-left" | "bottom-right" | "bottom-left"; width: number; color: string; background: string; customClass: string; teleportToViewer: boolean; barBackground: string; }>; export default _default; export declare type VcDistanceLegendEmits = typeof emits; export declare type VcDistanceLegendProps = { /** * Specify the position of the VcDistanceLegend. * Default value: bottom-right */ position?: 'top-right' | 'top-left' | 'bottom-right' | 'bottom-left' | 'top' | 'right' | 'bottom' | 'left'; /** * An array of two numbers to offset the VcDistanceLegend horizontally and vertically in pixels. * Default value: [0, 0] */ offset?: [number, number]; /** * Specify the css color of the VcDistanceLegend. * Default value: #fff */ color?: string; /** * Specify the css background of the VcDistanceLegend. * Default value: #3f4854 */ background?: string; /** * Specify the width of the VcDistanceLegend. * Default value: 100 */ width?: number; /** * Specify the css color of the horizontal line on the VcDistanceLegend. * Default value: #fff */ barBackground?: string; /** * Specify the customClass of the vc-distance-legend. */ customClass?: string; /** * Specify whether to add to the cesium-viewer node. * Default value: true */ teleportToViewer?: boolean; /** * Triggers before the VcCompass is loaded. */ onBeforeLoad?: (instance: VcComponentInternalInstance) => void; /** * Triggers when the VcCompass is successfully loaded. */ onReady?: (readyObject: VcReadyObject) => void; /** * Triggers when the component load failed. */ onUnready?: (e: any) => void; /** * Triggers when the VcCompass is destroyed. */ onDestroyed?: (instance: VcComponentInternalInstance) => void; /** * Triggers when the distance scale changed. */ onDistanceLegendEvt?: (evt: VcDistanceLegendEvt) => void; }; export declare type VcDistanceLegendRef = VcComponentPublicInstance;