import React from 'react'; interface Props { className?: string; display?: boolean; inverted?: boolean; onClose?: React.MouseEventHandler; } interface State { isDisplay?: boolean; } interface AdditionalConfig { inverted?: boolean; stacked?: boolean; childrenType?: string; } declare const wrapperComponent: (WrappedComponent: any, elementName: any, args?: AdditionalConfig) => { new (props: any): { componentDidMount(): void; componentDidUpdate: (prevProps: any) => void; componentWillUnmount(): void; readonly componentClassName: string; unmountAnimationDelay: number; render(): JSX.Element; context: any; setState(state: State | ((prevState: Readonly, props: Readonly) => State | Pick | null) | Pick | null, callback?: (() => void) | undefined): void; forceUpdate(callback?: (() => void) | undefined): void; readonly props: Readonly & Readonly<{ children?: React.ReactNode; }>; state: Readonly; refs: { [key: string]: React.ReactInstance; }; shouldComponentUpdate?(nextProps: Readonly, nextState: Readonly, nextContext: any): boolean; componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void; getSnapshotBeforeUpdate?(prevProps: Readonly, prevState: Readonly): any; componentWillMount?(): void; UNSAFE_componentWillMount?(): void; componentWillReceiveProps?(nextProps: Readonly, nextContext: any): void; UNSAFE_componentWillReceiveProps?(nextProps: Readonly, nextContext: any): void; componentWillUpdate?(nextProps: Readonly, nextState: Readonly, nextContext: any): void; UNSAFE_componentWillUpdate?(nextProps: Readonly, nextState: Readonly, nextContext: any): void; }; propTypes: { className: import("prop-types").Requireable; display: import("prop-types").Requireable; inverted: import("prop-types").Requireable; onClose: import("prop-types").Requireable<(...args: any[]) => any>; }; defaultProps: { display: boolean; inverted: boolean | undefined; stacked: boolean | undefined; }; contextType?: React.Context | undefined; }; export default wrapperComponent;