import React from 'react'; import type { WithNullableEventHandlers } from '../../../types'; export declare type TabId = string | number; declare type Tab = { id: TabId; 'data-ui': string; title: any; icon?: string; content: any; }; export declare type ModalProps = WithNullableEventHandlers>; declare type DefaultProps = { activeTabId: TabId; fixToTop: boolean; visible: boolean; subTitle: string | null; shouldBackdropHideModal: boolean; hideCloseButton: boolean; onActiveTabChange: ((tabId: TabId) => void) | null; onRequestHide: () => void; name: string | null; autoFocus: boolean; tabIndex: number; tabs: Array; className: string | null; content: any; contentClassName: string | null; triggerNode: any; title: React.ReactNode | null; }; declare type Props = ModalProps; declare type State = { activeTab: TabId; tabs: Array; }; export default class BaseModal extends React.Component { _modal: HTMLDivElement | null | undefined; static displayName: string; static defaultProps: DefaultProps; state: { tabs: Tab[]; activeTab: string | number; }; componentDidMount(): void; componentWillReceiveProps(nextProps: Props): void; _mapTabsPropsToState(props: Props): Array; _toggleBodyClassOnVisibleChange(visible: boolean): void; _getBodyNode(): Element | Text; _stopPropagation(e: React.MouseEvent): void; _handleTabClick: (id: TabId) => void; render(): JSX.Element; } export {};