import type { VcComponentInternalInstance, VcComponentPublicInstance, VcDistanceLegendEvt, VcReadyObject } from '@vue-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-right" | "top-left" | "bottom-right" | "bottom-left" | "top" | "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?: "top-right" | "top-left" | "bottom-right" | "bottom-left" | "top" | "right" | "bottom" | "left"; offset?: [number, number]; color?: string; background?: string; width?: number; barBackground?: string; customClass?: string; teleportToViewer?: boolean; onBeforeLoad?: (instance: VcComponentInternalInstance) => void; onReady?: (readyObject: VcReadyObject) => void; onUnready?: (e: any) => void; onDestroyed?: (instance: VcComponentInternalInstance) => void; onDistanceLegendEvt?: (evt: VcDistanceLegendEvt) => void; }, () => import("vue").VNode, {}, {}, {}, 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").PublicProps, Readonly<{ position?: "top-right" | "top-left" | "bottom-right" | "bottom-left" | "top" | "right" | "bottom" | "left"; offset?: [number, number]; color?: string; background?: string; width?: number; barBackground?: string; customClass?: string; teleportToViewer?: boolean; onBeforeLoad?: (instance: VcComponentInternalInstance) => void; onReady?: (readyObject: VcReadyObject) => void; onUnready?: (e: any) => void; onDestroyed?: (instance: VcComponentInternalInstance) => void; onDistanceLegendEvt?: (evt: VcDistanceLegendEvt) => void; }> & Readonly<{ onReady?: (readyObj: VcReadyObject) => any; onUnready?: (e: any) => any; onBeforeLoad?: (instance: VcComponentInternalInstance) => any; onDestroyed?: (instance: VcComponentInternalInstance) => any; onDistanceLegendEvt?: (evt: VcDistanceLegendEvt) => any; }>, { color: string; position: "top" | "left" | "right" | "bottom" | "top-right" | "top-left" | "bottom-right" | "bottom-left"; width: number; background: string; customClass: string; teleportToViewer: boolean; barBackground: string; }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>; export default _default; export type VcDistanceLegendEmits = typeof emits; export interface 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 type VcDistanceLegendRef = VcComponentPublicInstance; //# sourceMappingURL=index.d.ts.map