import * as React from 'react'; export interface ModalProps { children?: React.ReactNode; dataHook?: string; isOpen: boolean; borderRadius?: number; contentLabel?: string; zIndex?: number; shouldCloseOnOverlayClick?: boolean; shouldDisplayCloseButton?: boolean; onRequestClose?: (event?: React.MouseEvent | React.KeyboardEvent) => void; onAfterOpen?: () => void; onAfterClose?: () => void; horizontalPosition?: ModalHorizontalPostion; verticalPosition?: ModalVerticalPosition; closeTimeoutMS?: number; scrollable?: boolean; scrollableContent?: boolean; maxHeight?: string; height?: string; overlayPosition?: ModalOverlayPosition; parentSelector?: () => HTMLElement; appElement?: string; onOk?: () => void; screen?: ModalScreen; showNavigationPreviousButton?: boolean; showNavigationNextButton?: boolean; onNavigationClickPrevious?: () => void; onNavigationClickNext?: () => void; navigationPreviousLabel?: string; navigationNextLabel?: string; } export default class Modal extends React.PureComponent {} export type ModalHorizontalPostion = 'start' | 'center' | 'end'; export type ModalVerticalPosition = 'start' | 'center' | 'end'; export type ModalOverlayPosition = | 'static' | 'relative' | 'absolute' | 'fixed' | 'sticky'; export type ModalScreen = 'full' | 'desktop' | 'mobile';