import React from 'react'; import { DialogProps } from './interface'; interface DialogState { visible: boolean; } export interface DialogLayoutProps extends DialogProps { } interface DialogAdapter { } declare const Dialog_base: { new (props: any): { viewAdapter: { component: React.ComponentClass; }; logicalAdapter: DialogAdapter; readonly RenderComponent: React.ComponentClass; readonly defaultViewAdapter: { component: any; }; readonly adapter: DialogAdapter; context: any; setState(state: DialogState | ((prevState: Readonly, props: Readonly) => DialogState | Pick) | Pick, callback?: () => void): void; forceUpdate(callback?: () => void): void; render(): React.ReactNode; readonly props: Readonly & Readonly<{ children?: React.ReactNode; }>; state: Readonly; refs: { [key: string]: React.ReactInstance; }; componentDidMount?(): void; shouldComponentUpdate?(nextProps: Readonly, nextState: Readonly, nextContext: any): boolean; componentWillUnmount?(): void; componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void; getSnapshotBeforeUpdate?(prevProps: Readonly, prevState: Readonly): any; componentDidUpdate?(prevProps: Readonly, prevState: Readonly, snapshot?: any): void; 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; }; readonly clsPrefix: "dzq"; readonly defaultLogicalAdapter: {}; contextType?: React.Context; }; export default class Dialog extends Dialog_base { constructor(props: any); static defaultProps: { maskClosable: boolean; mask: boolean; inContext: boolean; }; static show: () => void; static hide: () => void; componentDidUpdate(prevProps: any, prevState: any, snapshot: any): void; isControlledComponent: () => boolean; getDefaultState: (key: string) => any; onClose: () => void; render(): JSX.Element; } export {};