import { Bounds } from "../../math/primitives"; import { ILayerProps, Layer } from "../../surface/layer"; import { ILayerMaterialOptions, IProjection, IShaderInitialization } from "../../types"; import { IAutoEasingMethod, Vec } from "../../util"; import { RectangleInstance } from "./rectangle-instance"; export interface IRectangleLayerProps extends ILayerProps { animate?: { color?: IAutoEasingMethod; location?: IAutoEasingMethod; }; atlas?: string; scaleFactor?(): number; } export declare class RectangleLayer> extends Layer { static defaultProps: IRectangleLayerProps; static attributeNames: { anchor: string; color: string; depth: string; location: string; maxScale: string; scale: string; scaling: string; size: string; }; getInstancePickingMethods(): { boundsAccessor: (rectangle: RectangleInstance) => Bounds<{}>; hitTest: (rectangle: RectangleInstance, point: [number, number], projection: IProjection) => boolean; }; initShader(): IShaderInitialization; getMaterialOptions(): ILayerMaterialOptions; }