import Overlay from "../Overlay";
import { T_Position } from "../../common/type";
/**
 * 模型集合图元
 * @noInheritDoc
 * @example
 * ```ts
 * let positions = '120,20;120,30;122,30'
 * let model = new BC.ModelCollectionPrimitive(positions, '*.glb')
 * ```
 */
declare class ModelCollectionPrimitive extends Overlay {
    private _positions;
    private _modelUrl;
    private _attrs;
    /**
     *
     * @param positions 坐标串
     * @param modelUrl 地址
     */
    constructor(positions: T_Position[], modelUrl: string);
    get type(): any;
    get readyPromise(): any;
    set attrs(attrs: any[]);
    get attrs(): any[];
    set positions(positions: T_Position[]);
    set modelUrl(modelUrl: string);
    get modelUrl(): string;
    private _resetDelegate;
    _mountedHook(): void;
    /**
     *
     * @param instanceId
     */
    getModelInstance(instanceId: string): any;
    /**
     *
     * @param instanceId
     */
    getAttrByInstanceId(instanceId: string): any;
    /**
     * 设置风格
     * @param style
     * @example
     * ```json
     * // 样式参数(可选)
     * {
     *   "scale": 1, //比例
     *   "minimumPixelSize": 0, //指定模型的最小像素大小，而不考虑缩放
     *   "maximumScale": 0, //指定模型的最大比例
     *   "heightReference": 0, //高度参照，0：位置无参照，位置是绝对的，1：位置固定在地形上 2：位置高度是指地形上方的高度。
     *   "shadows": 0, //阴影类型，0：禁用、1：启用 、2：投射、3：接受
     *   "silhouetteColor": BC.Color.RED, //轮廓颜色
     *   "silhouetteSize": 0, //轮廓宽度
     *   "lightColor": BC.Color.RED, //模型着色时指定灯光颜色
     *   "distanceDisplayCondition": {
     *     "near": 0, //最近距离
     *     "far": Number.MAX_VALUE //最远距离
     *   } //根据距离设置可见
     * }
     * ```
     */
    setStyle(style: any): this;
}
export default ModelCollectionPrimitive;
