import type { VcCompassEvt, VcComponentInternalInstance, VcComponentPublicInstance, VcDistanceLegendEvt, VcLocationEvt, VcPrintEvt, VcReadyObject, VcStatusBarEvt, VcZoomEvt } from 'vue-cesium/es/utils/types'; import type { VNode } from 'vue'; import type { VcCompassProps } from '../compass'; import type { VcMyLocationProps } from '../my-location'; import type { VcPrintProps } from '../print'; import type { VcZoomControlProps } from '../zoom-control'; import type { VcNavigationOtherOpts } from './defaultProps'; declare const emits: { zoomEvt: (evt: VcZoomEvt) => boolean; compassEvt: (evt: VcCompassEvt) => boolean; locationEvt: (evt: VcLocationEvt) => boolean; printEvt: (evt: VcPrintEvt) => boolean; statusBarEvt: (evt: VcStatusBarEvt) => boolean; distanceLegendEvt: (evt: VcDistanceLegendEvt) => boolean; beforeLoad: (instance: VcComponentInternalInstance) => boolean; ready: (readyObj: VcReadyObject) => boolean; unready: (e: any) => boolean; destroyed: (instance: VcComponentInternalInstance) => boolean; }; export declare const navigationProps: { compassOpts: { type: import("vue").PropType; default: () => VcCompassProps; }; zoomOpts: { type: import("vue").PropType; default: () => VcZoomControlProps; }; printOpts: { type: import("vue").PropType; default: () => VcPrintProps; }; locationOpts: { type: import("vue").PropType; default: () => VcMyLocationProps; }; otherOpts: { type: import("vue").PropType; default: () => VcNavigationOtherOpts; }; customClass: { type: StringConstructor; default: string; }; teleportToViewer: { type: BooleanConstructor; default: boolean; }; 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; }; }; declare const _default: import("vue").DefineComponent<{ position?: "top-right" | "top-left" | "bottom-right" | "bottom-left" | "top" | "right" | "bottom" | "left"; offset?: [number, number]; compassOpts?: false | VcCompassProps; zoomOpts?: false | VcZoomControlProps; printOpts?: false | VcPrintProps; locationOpts?: false | VcMyLocationProps; otherOpts?: false | VcNavigationOtherOpts; customClass?: string; teleportToViewer?: boolean; onBeforeLoad?: (instance: VcComponentInternalInstance) => void; onReady?: (readyObject: VcReadyObject) => void; onUnready?: (e: any) => void; onDestroyed?: (instance: VcComponentInternalInstance) => void; onZoomEvt?: (evt: VcZoomEvt) => void; onCompassEvt?: (evt: VcCompassEvt) => void; onLocationEvt?: (evt: VcLocationEvt) => void; onPrintEvt?: (evt: VcPrintEvt) => void; onStatusBarEvt?: (evt: VcStatusBarEvt) => void; onDistanceLegendEvt?: (evt: VcDistanceLegendEvt) => void; }, () => VNode | VNode[], {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, { zoomEvt: (evt: VcZoomEvt) => boolean; compassEvt: (evt: VcCompassEvt) => boolean; locationEvt: (evt: VcLocationEvt) => boolean; printEvt: (evt: VcPrintEvt) => boolean; statusBarEvt: (evt: VcStatusBarEvt) => boolean; 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]; compassOpts?: false | VcCompassProps; zoomOpts?: false | VcZoomControlProps; printOpts?: false | VcPrintProps; locationOpts?: false | VcMyLocationProps; otherOpts?: false | VcNavigationOtherOpts; customClass?: string; teleportToViewer?: boolean; onBeforeLoad?: (instance: VcComponentInternalInstance) => void; onReady?: (readyObject: VcReadyObject) => void; onUnready?: (e: any) => void; onDestroyed?: (instance: VcComponentInternalInstance) => void; onZoomEvt?: (evt: VcZoomEvt) => void; onCompassEvt?: (evt: VcCompassEvt) => void; onLocationEvt?: (evt: VcLocationEvt) => void; onPrintEvt?: (evt: VcPrintEvt) => void; onStatusBarEvt?: (evt: VcStatusBarEvt) => void; onDistanceLegendEvt?: (evt: VcDistanceLegendEvt) => void; }> & Readonly<{ onBeforeLoad?: (instance: VcComponentInternalInstance) => any; onReady?: (readyObj: VcReadyObject) => any; onUnready?: (e: any) => any; onDestroyed?: (instance: VcComponentInternalInstance) => any; onCompassEvt?: (evt: VcCompassEvt) => any; onZoomEvt?: (evt: VcZoomEvt) => any; onPrintEvt?: (evt: VcPrintEvt) => any; onLocationEvt?: (evt: VcLocationEvt) => any; onStatusBarEvt?: (evt: VcStatusBarEvt) => any; onDistanceLegendEvt?: (evt: VcDistanceLegendEvt) => any; }>, { position: "top" | "top-right" | "top-left" | "bottom-right" | "bottom-left" | "right" | "bottom" | "left"; customClass: string; teleportToViewer: boolean; compassOpts: VcCompassProps; zoomOpts: VcZoomControlProps; printOpts: VcPrintProps; locationOpts: VcMyLocationProps; otherOpts: VcNavigationOtherOpts; }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>; export default _default; export type VcNavigationEmits = typeof emits; export interface VcNavigationProps { /** * Specify the position of the VcNavigation. * Default value: top-right */ position?: 'top-right' | 'top-left' | 'bottom-right' | 'bottom-left' | 'top' | 'right' | 'bottom' | 'left'; /** * An array of two numbers to offset the VcNavigation horizontally and vertically in pixels. * Default value: [0, 0] */ offset?: [number, number]; /** * Specify the compass options of the component. false means no display. */ compassOpts?: false | VcCompassProps; /** * Specify the zoom control options of the component. false means no display. */ zoomOpts?: false | VcZoomControlProps; /** * Specify the print button options of the component. false means no display. */ printOpts?: false | VcPrintProps; /** * Specify the location button options of the component. false means no display. */ locationOpts?: false | VcMyLocationProps; /** * Specify the other controls(status bar & distance legend) options of the component. false means no display. */ otherOpts?: false | VcNavigationOtherOpts; /** * Specify the customClass of the vc-navigation. */ customClass?: string; /** * Specify whether to add to the cesium-viewer node. * Default value: true */ teleportToViewer?: boolean; /** * Triggers before the VcNavigation is loaded. */ onBeforeLoad?: (instance: VcComponentInternalInstance) => void; /** * Triggers when the VcNavigation is successfully loaded. */ onReady?: (readyObject: VcReadyObject) => void; /** * Triggers when the component load failed. */ onUnready?: (e: any) => void; /** * Triggers when the VcNavigation is destroyed. */ onDestroyed?: (instance: VcComponentInternalInstance) => void; /** * Triggers when the zoom control is operated. */ onZoomEvt?: (evt: VcZoomEvt) => void; /** * Triggers when the compass control is operated. */ onCompassEvt?: (evt: VcCompassEvt) => void; /** * Triggers when the positioning button is clicked. */ onLocationEvt?: (evt: VcLocationEvt) => void; /** * Triggers when the print button is clicked. */ onPrintEvt?: (evt: VcPrintEvt) => void; /** * Triggers when the information changed. */ onStatusBarEvt?: (evt: VcStatusBarEvt) => void; /** * Triggers when the distance scale changed. */ onDistanceLegendEvt?: (evt: VcDistanceLegendEvt) => void; } export interface VcNavigationSlots { /** * Suggestion: VcCompass, VcZoomControl, VcPrint, VcMyLocation, VcStatusBar, VcDistanceLegend */ default: () => VNode[]; } export type VcNavigationRef = VcComponentPublicInstance; //# sourceMappingURL=index.d.ts.map