interface Props { description: string; cancelText?: string; onCancel?: () => void; confirmText?: string; onConfirm?: () => void; hideWhenConfirm?: boolean; children?: HTMLElement; } export default class Modal { element: HTMLDivElement; private onShowCallbackConfirm?; private onShowCallbackCancel?; constructor(props: Props); hide: () => void; show: (options?: { onConfirm?: () => void; onCancel?: () => void; }) => void; private createButton; } export {};