import DragHandler from "../handler/Drag";
import Control, { ControlOptionsType } from "./Control";
/**
* @classdesc
* Class for panel controls.
* @category control
* @extends control.Control
* @memberOf control
* @example
* var panel = new Panel({
* position : {'bottom': '0', 'right': '0'},
* draggable : true,
* custom : false,
* content : '
hello
',
* closeButton : true
* }).addTo(map);
*/
declare class Panel extends Control {
draggable: DragHandler;
/**
* method to build DOM of the control
* @param {Map} map map to build on
* @return {HTMLDOMElement}
*/
buildOn(): HTMLDivElement;
/**
* update control container
* @return {control.Panel} this
*/
update(): any;
/**
* Set the content of the Panel.
* @param {String|HTMLElement} content - content of the infowindow.
* return {control.Panel} this
* @fires Panel#contentchange
*/
setContent(content: string | HTMLElement): this;
/**
* Get content of the infowindow.
* @return {String|HTMLElement} - content of the infowindow
*/
getContent(): string | HTMLElement;
}
export default Panel;
export type PanelOptionsTypeSpec = {
draggable?: boolean;
custom?: boolean;
content?: string | HTMLElement;
closeButton?: boolean;
};
export type PanelOptionsType = ControlOptionsType & PanelOptionsTypeSpec;
//# sourceMappingURL=Control.Panel.d.ts.map