import type { ExtractPropTypes } from 'vue'; import type { VcDistanceLegendEvt, VcComponentInternalInstance, VcReadyObject } from '@vue-cesium/utils/types'; declare const emits: { distanceLegendEvt: (evt: VcDistanceLegendEvt) => boolean; beforeLoad: (instance: VcComponentInternalInstance) => boolean; ready: (readyObj: VcReadyObject) => boolean; destroyed: (instance: VcComponentInternalInstance) => boolean; }; export declare const distanceLegendProps: { position: { type: StringConstructor; default: string; validator: (v: string) => boolean; }; offset: { type: ArrayConstructor; validator: (v: any) => boolean; }; color: { type: StringConstructor; default: string; }; background: { type: StringConstructor; default: string; }; width: { type: NumberConstructor; default: number; }; barBackground: { type: StringConstructor; default: string; }; }; declare const _default: import("vue").DefineComponent<{ position: { type: StringConstructor; default: string; validator: (v: string) => boolean; }; offset: { type: ArrayConstructor; validator: (v: any) => boolean; }; color: { type: StringConstructor; default: string; }; background: { type: StringConstructor; default: string; }; width: { type: NumberConstructor; default: number; }; barBackground: { type: StringConstructor; default: string; }; }, () => import("vue").VNode, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, { distanceLegendEvt: (evt: VcDistanceLegendEvt) => boolean; beforeLoad: (instance: VcComponentInternalInstance) => boolean; ready: (readyObj: VcReadyObject) => boolean; destroyed: (instance: VcComponentInternalInstance) => boolean; }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly boolean; }; offset: { type: ArrayConstructor; validator: (v: any) => boolean; }; color: { type: StringConstructor; default: string; }; background: { type: StringConstructor; default: string; }; width: { type: NumberConstructor; default: number; }; barBackground: { type: StringConstructor; default: string; }; }>> & { onBeforeLoad?: (instance: VcComponentInternalInstance) => any; onReady?: (readyObj: VcReadyObject) => any; onDestroyed?: (instance: VcComponentInternalInstance) => any; onDistanceLegendEvt?: (evt: VcDistanceLegendEvt) => any; }, { position: string; color: string; width: number; background: string; 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; /** * Triggers before the VcCompass is loaded. */ onBeforeLoad?: (instance: VcComponentInternalInstance) => void; /** * Triggers when the VcCompass is successfully loaded. */ onReady?: (readyObject: VcReadyObject) => void; /** * Triggers when the VcCompass is destroyed. */ onDestroyed?: (instance: VcComponentInternalInstance) => void; /** * Triggers when the distance scale changed. */ onDistanceLegendEvt?: (evt: VcDistanceLegendEvt) => void; };