import { Component } from 'react'; export declare type ModalPosition = 'left-top' | 'top' | 'right-top' | 'left' | 'center' | 'right' | 'left-bottom' | 'bottom' | 'right-bottom'; export interface MaskOptions { /** * If the background of the mask is transparent. Defaults to `false` */ transparent?: boolean; /** * Show the close button of the modal. Defaults to `false` */ close?: boolean; } export interface ModalOptions { margin?: number | string; /** * Defaults to `'center'`. */ position?: ModalPosition; /** * Whether to add a mask layer behind the modal, defaults to `false`. */ mask?: boolean | MaskOptions; } export interface ModalProps extends ModalOptions { className?: string; /** * Container for rendering this modal, managed by modal service. */ container: HTMLElement; /** * Whether the top modal */ top: boolean; } export interface IModal extends Component { }