/// import { ComponentClass, MouseEvent, ReactNode } from 'react'; import { PassTroughFunction } from '../../utils/getPassThrough'; import { OverlayProps } from '../Overlay'; export interface DialogFactoryArgs { Overlay: ComponentClass; WrapperNode: ComponentClass; passthrough: PassTroughFunction; } export interface DialogProps { active: boolean; children: ReactNode; onOverlayClick(event: MouseEvent): void; } export interface WrapperNodeProps { active: boolean; } export default function dialogFactory({Overlay, WrapperNode, passthrough}: DialogFactoryArgs): ComponentClass;