import type { VcBtnTooltipProps, VcCompassEvt, VcComponentInternalInstance, VcComponentPublicInstance, VcReadyObject } from 'vue-cesium/es/utils/types'; import type { VNode } from 'vue'; declare const emits: { compassEvt: (evt: VcCompassEvt) => boolean; beforeLoad: (instance: VcComponentInternalInstance) => boolean; ready: (readyObj: VcReadyObject) => boolean; unready: (e: any) => boolean; destroyed: (instance: VcComponentInternalInstance) => boolean; }; export declare const compassProps: { outerOptions: { type: import("vue").PropType; default: () => VcBtnTooltipProps; }; innerOptions: { type: import("vue").PropType; default: () => VcBtnTooltipProps; }; markerOptions: { type: import("vue").PropType; default: () => VcBtnTooltipProps; }; 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; }; enableCompassOuterRing: { type: BooleanConstructor; default: boolean; }; duration: { type: NumberConstructor; default: number; }; }; declare const _default: import("vue").DefineComponent<{ position?: "top-right" | "top-left" | "bottom-right" | "bottom-left" | "top" | "right" | "bottom" | "left"; offset?: [number, number]; enableCompassOuterRing?: boolean; duration?: number; outerOptions?: VcBtnTooltipProps; innerOptions?: VcBtnTooltipProps; markerOptions?: VcBtnTooltipProps; customClass?: string; teleportToViewer?: boolean; onBeforeLoad?: (instance: VcComponentInternalInstance) => void; onReady?: (readyObject: VcReadyObject) => void; onUnready?: (e: any) => void; onDestroyed?: (instance: VcComponentInternalInstance) => void; onCompassEvt?: (evt: VcCompassEvt) => void; }, () => VNode, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, { compassEvt: (evt: VcCompassEvt) => 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]; enableCompassOuterRing?: boolean; duration?: number; outerOptions?: VcBtnTooltipProps; innerOptions?: VcBtnTooltipProps; markerOptions?: VcBtnTooltipProps; customClass?: string; teleportToViewer?: boolean; onBeforeLoad?: (instance: VcComponentInternalInstance) => void; onReady?: (readyObject: VcReadyObject) => void; onUnready?: (e: any) => void; onDestroyed?: (instance: VcComponentInternalInstance) => void; onCompassEvt?: (evt: VcCompassEvt) => void; }> & Readonly<{ onBeforeLoad?: (instance: VcComponentInternalInstance) => any; onReady?: (readyObj: VcReadyObject) => any; onUnready?: (e: any) => any; onDestroyed?: (instance: VcComponentInternalInstance) => any; onCompassEvt?: (evt: VcCompassEvt) => any; }>, { position: "top" | "top-right" | "top-left" | "bottom-right" | "bottom-left" | "right" | "bottom" | "left"; duration: number; outerOptions: VcBtnTooltipProps; innerOptions: VcBtnTooltipProps; markerOptions: VcBtnTooltipProps; customClass: string; teleportToViewer: boolean; enableCompassOuterRing: boolean; }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>; export default _default; export type VcCompassEmits = typeof emits; export interface VcCompassProps { /** * Specify the position of the VcCompass. * 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 VcCompass horizontally and vertically in pixels. * Default value: [0, 0] */ offset?: [number, number]; /** * Specify whether the outer ring of the compass can be operated. */ enableCompassOuterRing?: boolean; /** * Specify the flight time to restore the camera, in seconds. */ duration?: number; /** * Specify the parameters of the compass outer ring. */ outerOptions?: VcBtnTooltipProps; /** * Specify the parameters of the inner ring. */ innerOptions?: VcBtnTooltipProps; /** * Specify the parameters of the maker when the compass rotates. */ markerOptions?: VcBtnTooltipProps; /** * Specify the customClass of the vc-compass. */ 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 VcCompass is operated. */ onCompassEvt?: (evt: VcCompassEvt) => void; } export type VcCompassRef = VcComponentPublicInstance; //# sourceMappingURL=index.d.ts.map