import { HTMLInteButtonElement } from "../form/Button";
export default class Modal extends HTMLElement {
static get observedAttributes(): string[];
$container: HTMLDivElement;
$content: HTMLDivElement;
$header: HTMLDivElement;
$body: HTMLDivElement;
$footer: HTMLDivElement;
$buttonWrapper: HTMLDivElement;
$okButton: HTMLInteButtonElement;
$cancelButton: HTMLInteButtonElement;
$style: HTMLStyleElement;
mousePosition: {
x: number;
y: number;
};
constructor();
attributeChangedCallback(name: any, oldValue: any, newValue: any): void;
getClickPosition(e: any): void;
open(): this;
close(): this;
onOk(f: any): this;
onCancel(f: any): this;
width(num: any): this;
height(num: any): this;
body(body: any): this;
header(title: any): this;
clearBody(): this;
clearHeader(): this;
visible(visible: any): this;
}