import * as React from 'react'; import * as PropTypes from 'prop-types'; import { StandardProps, StyledProps } from '..'; import Title from './components/Title'; import Content from './components/Content'; import Actions from './components/Actions'; export declare type DialogClassProps = 'root' | 'title' | 'content' | 'actions' | 'mask'; export declare type DialogChild = React.ReactComponentElement | React.ReactComponentElement | React.ReactComponentElement | any; export interface DialogContainer { title?: React.ReactComponentElement; content: React.ReactComponentElement[]; actions?: React.ReactComponentElement; } export interface DialogProps extends StandardProps, HTMLDivElement, 'onChange'>, StyledProps { children: DialogChild[] | DialogChild; visible: boolean; onChange?: (visible: boolean) => void; } export interface DialogType extends React.ForwardRefExoticComponent { Title: typeof Title; Content: typeof Content; Actions: typeof Actions; } export interface DialogContextType { onChange: (visible: boolean) => void; } export interface DialogTitleProps { children: React.ReactText; } export declare const DialogPropTypes: { children: PropTypes.Validator; visible: PropTypes.Validator; onChange: PropTypes.Requireable<(...args: any[]) => any>; };