import React from 'react'; import type { DialogV1Props, DialogV2Props } from '@alifd/next/types/dialog/types'; import type { IDialogPropsFix, TDialogSize, IQuickShowConfig } from './types'; type DialogProps = (DialogV1Props & IDialogPropsFix) | (DialogV2Props & IDialogPropsFix); declare const Dialog: React.ForwardRefExoticComponent> & import("hoist-non-react-statics").NonReactStatics(state: {} | ((prevState: Readonly<{}>, props: Readonly) => {} | Pick<{}, K>) | Pick<{}, K>, callback?: () => void): void; forceUpdate(callback?: () => void): void; 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; }, {}> & { help: (config: import("@alifd/next/types/dialog/types").ShowConfig) => { hide: () => void; }; show: (config: import("@alifd/next/types/dialog/types").ShowConfig) => { hide: () => void; }; warning: (config: import("@alifd/next/types/dialog/types").ShowConfig) => { hide: () => void; }; error: (config: import("@alifd/next/types/dialog/types").ShowConfig) => { hide: () => void; }; alert: (config: import("@alifd/next/types/dialog/types").ShowConfig) => { hide: () => void; }; confirm: (config: import("@alifd/next/types/dialog/types").ShowConfig) => { hide: () => void; }; Inner: typeof import("@alifd/next/types/dialog/inner").default; success: (config: import("@alifd/next/types/dialog/types").ShowConfig) => { hide: () => void; }; notice: (config: import("@alifd/next/types/dialog/types").ShowConfig) => { hide: () => void; }; withContext:

(WrappedComponent: React.JSXElementConstructor

& C) => (props: JSX.LibraryManagedAttributes>) => React.JSX.Element; }, {}>; export default Dialog; export type { TDialogSize as DialogSize, IQuickShowConfig as DialogQuickShowConfig, DialogProps, };