import type { VcCartesian2, VcComponentInternalInstance, VcComponentPublicInstance, VcPosition, VcReadyObject } from 'vue-cesium/es/utils/types'; import type { PropType, TeleportProps, VNode } from 'vue'; import { makeCartesian2, makeCartesian3 } from 'vue-cesium/es/utils/cesium-helpers'; export declare const htmlOverlayProps: { autoHidden: { type: BooleanConstructor; default: boolean; }; customClass: StringConstructor; teleport: PropType; show: { type: PropType; default: boolean; }; pixelOffset: { type: PropType; default: () => { x: number; y: number; }; validator: (v: any) => boolean; watcherOptions: { cesiumObjectBuilder: typeof makeCartesian2; }; }; position: { type: PropType; watcherOptions: { cesiumObjectBuilder: typeof makeCartesian3; deep: boolean; }; }; }; declare const emits: { mouseenter: (evt: MouseEvent) => boolean; mouseleave: (evt: MouseEvent) => boolean; click: (evt: MouseEvent) => boolean; beforeLoad: (instance: VcComponentInternalInstance) => boolean; ready: (readyObj: VcReadyObject) => boolean; unready: (e: any) => boolean; destroyed: (instance: VcComponentInternalInstance) => boolean; }; declare const _default: import("vue").DefineComponent<{ position?: VcPosition; pixelOffset?: VcCartesian2; show?: boolean; autoHidden?: boolean; customClass?: string; teleport?: TeleportProps; onBeforeLoad?: (instance: VcComponentInternalInstance) => void; onReady?: (readyObject: VcReadyObject) => void; onUnready?: (e: any) => void; onDestroyed?: (instance: VcComponentInternalInstance) => void; }, () => any, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, { mouseenter: (evt: MouseEvent) => boolean; mouseleave: (evt: MouseEvent) => boolean; click: (evt: MouseEvent) => boolean; beforeLoad: (instance: VcComponentInternalInstance) => boolean; ready: (readyObj: VcReadyObject) => boolean; unready: (e: any) => boolean; destroyed: (instance: VcComponentInternalInstance) => boolean; }, string, import("vue").PublicProps, Readonly<{ position?: VcPosition; pixelOffset?: VcCartesian2; show?: boolean; autoHidden?: boolean; customClass?: string; teleport?: TeleportProps; onBeforeLoad?: (instance: VcComponentInternalInstance) => void; onReady?: (readyObject: VcReadyObject) => void; onUnready?: (e: any) => void; onDestroyed?: (instance: VcComponentInternalInstance) => void; }> & Readonly<{ onBeforeLoad?: (instance: VcComponentInternalInstance) => any; onReady?: (readyObj: VcReadyObject) => any; onUnready?: (e: any) => any; onDestroyed?: (instance: VcComponentInternalInstance) => any; onClick?: (evt: MouseEvent) => any; onMouseenter?: (evt: MouseEvent) => any; onMouseleave?: (evt: MouseEvent) => any; }>, { show: boolean; pixelOffset: VcCartesian2; autoHidden: boolean; }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>; export default _default; export type VcOverlayHtmlEmits = typeof emits; export interface VcOverlayHtmlProps { /** * Specify the geographic location of the HTML element. */ position?: VcPosition; /** * Specify the pixel offset of the HTML. */ pixelOffset?: VcCartesian2; /** * Specify whether to display the HTML overlay. * Default value: true */ show?: boolean; /** * Specifies whether HTML is automatically hidden when it is on the back of the earth. * Default value: true */ autoHidden?: boolean; /** * Specify an HTML custom class. */ customClass?: string; /** * Specify the teleport props. */ teleport?: TeleportProps; /** * Triggers before the VcOverlayHtml is loaded. */ onBeforeLoad?: (instance: VcComponentInternalInstance) => void; /** * Triggers when the VcOverlayHtml is successfully loaded. */ onReady?: (readyObject: VcReadyObject) => void; /** * Triggers when the component load failed. */ onUnready?: (e: any) => void; /** * Triggers when the VcOverlayHtml is destroyed. */ onDestroyed?: (instance: VcComponentInternalInstance) => void; } export type VcOverlayHtmlRef = VcComponentPublicInstance; export interface VcOverlayHtmlSlots { /** * Slot for html element tag. */ default: () => VNode[]; } //# sourceMappingURL=index.d.ts.map