import type { VcComponentInternalInstance, VcComponentPublicInstance, VcGeometry, VcReadyObject } from 'vue-cesium/es/utils/types'; import type { PropType, VNode } from 'vue'; export declare const geometryInstanceProps: { attributes: ObjectConstructor; id: PropType; modelMatrix: PropType; geometry: PropType; }; declare const emits: { 'update:geometry': (payload: VcGeometry) => boolean; beforeLoad: (instance: VcComponentInternalInstance) => boolean; ready: (readyObj: VcReadyObject) => boolean; unready: (e: any) => boolean; destroyed: (instance: VcComponentInternalInstance) => boolean; }; declare const _default: import("vue").DefineComponent; modelMatrix: PropType; geometry: PropType; }>, () => VNode, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, { 'update:geometry': (payload: VcGeometry) => boolean; beforeLoad: (instance: VcComponentInternalInstance) => boolean; ready: (readyObj: VcReadyObject) => boolean; unready: (e: any) => boolean; destroyed: (instance: VcComponentInternalInstance) => boolean; }, string, import("vue").PublicProps, Readonly; modelMatrix: PropType; geometry: PropType; }>> & Readonly<{ onBeforeLoad?: (instance: VcComponentInternalInstance) => any; onReady?: (readyObj: VcReadyObject) => any; onUnready?: (e: any) => any; onDestroyed?: (instance: VcComponentInternalInstance) => any; "onUpdate:geometry"?: (payload: VcGeometry) => any; }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>; export default _default; export type VcGeometryInstanceEmits = typeof emits; export interface VcGeometryInstanceProps { /** * The geometry to instance. */ 'geometry'?: Cesium.Geometry | Cesium.GeometryFactory; /** * The model matrix that transforms to transform the geometry from model to world coordinates. */ 'modelMatrix'?: Cesium.Matrix4; /** * A user-defined object to return when the instance is picked with Scene#pick or get/set per-instance attributes with Primitive#getGeometryInstanceAttributes. */ 'id'?: any; /** * Per-instance attributes like a show or color attribute shown in the example below. */ 'attributes'?: any; /** * Triggers before the VcGeometryInstance is loaded. */ 'onBeforeLoad'?: (instance: VcComponentInternalInstance) => void; /** * Triggers when the VcGeometryInstance is successfully loaded. */ 'onReady'?: (readyObject: VcReadyObject) => void; /** * Triggers when the component load failed. */ 'onUnready'?: (e: any) => void; /** * Triggers when the VcGeometryInstance is destroyed. */ 'onDestroyed'?: (instance: VcComponentInternalInstance) => void; /** * Triggers when the geometry mounted. */ 'onUpdate:geometry'?: (payload: VcGeometry) => void; } export interface VcGeometryInstanceRef extends VcComponentPublicInstance { /** * private but needed by VcGeometryXXX. * @param geometry */ __updateGeometry?: (geometry: Cesium.Geometry) => boolean; } export interface VcGeometryInstanceSlots { /** * Slot for vc-geometry-xxx. */ default: () => VNode[]; } //# sourceMappingURL=index.d.ts.map