import Overlay from "../Overlay";
import { T_Position } from "../../common/type";
/**
 * 水面图元
 * @noInheritDoc
 * @example
 * ```ts
 * let water = new BC.WaterPrimitive('120,20;120,30;122,30')
 * water.setStyle({
 *   baseWaterColor: BC.Color.AQUA.withAlpha(0.3),
 *   normalMap: 'examples/images/icon/waterNormalsSmall.jpg',
 *   frequency: 1000.0,
 *   animationSpeed: 0.01,
 *   amplitude: 10,
 *   specularIntensity: 10,
 * })
 * ```
 */
declare class WaterPrimitive extends Overlay {
    private _positions;
    private _holes;
    /**
     *
     * @param positions 坐标串
     * @param holes 空心坐标串
     */
    constructor(positions: string | T_Position[], holes?: T_Position[][]);
    get type(): any;
    set positions(positions: string | T_Position[]);
    get positions(): string | T_Position[];
    /**
     *
     * @private
     */
    private _setAppearance;
    _mountedHook(): void;
    /**
     * 设置风格
     * @param style
     * @returns {WaterPrimitive}
     * @example
     * ```json
     * // 样式参数(可选)
     * {
     *   "height": 1, //高度
     *   "extrudedHeight": 0, //拉升高度
     *   "stRotation": 0, //旋转角度
     *   "outline": false, //是否显示边框
     *   "closeTop": true, //顶面是否闭合
     *   "closeBottom": true, //底面是否闭合
     *   "classificationType": 2, //分类 是否影响地形，3D切片或同时影响这两者。0:地形、1:3D切片、2：两者
     *   "baseWaterColor": BC.Color.WHITE, // 水体颜色
     *   "blendColor": BC.Color.WHITE, // 混合颜色
     *   "specularMap": "", // 镜面图
     *   "normalMap": "", // 法线图
     *   "frequency": 1000, //波纹数量
     *   "animationSpeed": 0.03, // 动画速度
     *   "amplitude": 10, //水波振幅
     *   "specularIntensity": 10 //镜面反射强度
     * }
     * ```
     */
    setStyle(style: any): this;
}
export default WaterPrimitive;
