import type { VcTooltipProps } from 'vue-cesium/es/components/ui'; import type { VcCompassEvt, VcComponentInternalInstance, VcComponentPublicInstance, VcReadyObject } from 'vue-cesium/es/utils/types'; import type { PropType, VNode } from 'vue'; export declare const compassSmProps: { position: { type: PropType<"top-right" | "top-left" | "bottom-right" | "bottom-left" | "top" | "right" | "bottom" | "left">; default: string; validator: (v: string) => boolean; }; offset: { type: PropType<[number, number]>; validator: (v: any) => boolean; }; enableCompassOuterRing: { type: BooleanConstructor; default: boolean; }; duration: { type: NumberConstructor; default: number; }; tooltip: { type: PropType; default: () => VcTooltipProps | false; }; autoHidden: { type: BooleanConstructor; default: boolean; }; }; declare const emits: { compassEvt: (evt: VcCompassEvt) => boolean; beforeLoad: (instance: VcComponentInternalInstance) => boolean; ready: (readyObj: VcReadyObject) => boolean; unready: (e: any) => boolean; destroyed: (instance: VcComponentInternalInstance) => boolean; }; 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; tooltip?: false | VcTooltipProps; autoHidden?: boolean; onBeforeLoad?: (instance: VcComponentInternalInstance) => void; onReady?: (readyObject: VcReadyObject) => void; onUnready?: (e: any) => void; onDestroyed?: (instance: VcComponentInternalInstance) => void; compassEvt?: (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; tooltip?: false | VcTooltipProps; autoHidden?: boolean; onBeforeLoad?: (instance: VcComponentInternalInstance) => void; onReady?: (readyObject: VcReadyObject) => void; onUnready?: (e: any) => void; onDestroyed?: (instance: VcComponentInternalInstance) => void; compassEvt?: (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; tooltip: false | VcTooltipProps; enableCompassOuterRing: boolean; autoHidden: boolean; }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>; export default _default; export type VcCompassSmEmits = typeof emits; export interface VcCompassSmProps { /** * Specify the position of the VcCompassSm. * 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 VcCompassSm horizontally and vertically in pixels. * Default value: [0, 0] */ offset?: [number, number]; /** * Specify whether the outer ring of the compass can be operated. * Default value: true */ enableCompassOuterRing?: boolean; /** * Specify the flight time of double-clicking the compass to restore the pitch angle, in seconds. * Default value: 1.5 */ duration?: number; /** * Specify the compass prompt information. */ tooltip?: false | VcTooltipProps; /** * Specify whether to automatically hide parts of the compass controls. * Default value: true */ autoHidden?: boolean; /** * Triggers before the VcNavigationSm is loaded. */ onBeforeLoad?: (instance: VcComponentInternalInstance) => void; /** * Triggers when the VcNavigationSm is successfully loaded. */ onReady?: (readyObject: VcReadyObject) => void; /** * Triggers when the component load failed. */ onUnready?: (e: any) => void; /** * Triggers when the VcNavigationSm is destroyed. */ onDestroyed?: (instance: VcComponentInternalInstance) => void; /** * Triggers when the compass control is operated. */ compassEvt?: (evt: VcCompassEvt) => void; } export type VcCompassSmRef = VcComponentPublicInstance; //# sourceMappingURL=compass-sm.d.ts.map