export default ModalPreviewLayout; /** This is a fullscreen modal to present a document to the user overlaying the entire view port */ declare class ModalPreviewLayout extends React.PureComponent { static displayName: string; static propTypes: { /** Applied as data-hook HTML attribute that can be used in the tests */ dataHook: PropTypes.Requireable; /** component to be displayed in header strip to preform actions relevant to the displayed content */ actions: PropTypes.Requireable; /** title text to be displayed in the header strip */ title: PropTypes.Requireable; /** modal content displayed mid-screen*/ children: PropTypes.Validator>; /** callback for when the modal is closed */ onClose: PropTypes.Validator<(...args: any[]) => any>; /** boolean to determine whether closing the overlay on click */ shouldCloseOnOverlayClick: PropTypes.Requireable; /** Tooltip close button text */ closeButtonTooltipText: PropTypes.Requireable; /** Previous button props * ##### onClick signature: * function(childIndexDisplayed: number) => void * * `childIndexDisplayed`: the index of the child component displayed. */ prevButtonProps: PropTypes.Requireable any>; tooltipText: PropTypes.Requireable; }>>; /** Next button props * ##### onClick signature: * function(childIndexDisplayed: number) => void * * `childIndexDisplayed`: the index of the child component displayed. */ nextButtonProps: PropTypes.Requireable any>; tooltipText: PropTypes.Requireable; }>>; /** * Pass an index to start rendering from a specific child component. */ startDisplayingAtChildIndex: PropTypes.Requireable; /** Controls the skin of the component */ skin: PropTypes.Requireable; }; static defaultProps: { shouldCloseOnOverlayClick: boolean; nextButtonProps: {}; prevButtonProps: {}; startDisplayingAtChildIndex: number; skin: string; }; constructor(props: any); state: { childIndexDisplayed: any; }; _shouldClose(id: any): any; _onRightNavigationClick: () => void; _onLeftNavigationClick: () => void; _onOverlayClick(onClose: any): ({ target: { id } }: { target: { id: any; }; }) => void; _renderNavigationButtons(hasLeft: any, hasRight: any): React.JSX.Element; render(): React.JSX.Element; } import React from 'react'; import PropTypes from 'prop-types'; //# sourceMappingURL=ModalPreviewLayout.d.ts.map