interface DestructedOptions {
    componentWrapper: HTMLElement;
    containerId: string;
    mainId?: string;
    cancelBtnId: string;
    backgroundId: string;
}
declare class Modal {
    componentWrapper: HTMLElement;
    cancelBtn: HTMLButtonElement;
    container: HTMLDivElement;
    private readonly background;
    constructor(opts: DestructedOptions);
    addCancelHandler(handler: (e?: Event) => void): void;
    hide(): void;
    show(): void;
}
export default Modal;
