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<DialogProps & React.RefAttributes<unknown>> & import("hoist-non-react-statics").NonReactStatics<import("@alifd/next/types/config-provider/types").ConfiguredComponentClass<import("@alifd/next/types/dialog/types").DialogProps & import("@alifd/next/types/config-provider/types").ComponentCommonProps, {
    render(): React.JSX.Element;
    context: any;
    setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<import("@alifd/next/types/dialog/types").DialogProps>) => {} | Pick<{}, K>) | Pick<{}, K>, callback?: () => void): void;
    forceUpdate(callback?: () => void): void;
    readonly props: Readonly<import("@alifd/next/types/dialog/types").DialogProps> & Readonly<{
        children?: React.ReactNode;
    }>;
    state: Readonly<{}>;
    refs: {
        [key: string]: React.ReactInstance;
    };
    componentDidMount?(): void;
    shouldComponentUpdate?(nextProps: Readonly<import("@alifd/next/types/dialog/types").DialogProps>, nextState: Readonly<{}>, nextContext: any): boolean;
    componentWillUnmount?(): void;
    componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
    getSnapshotBeforeUpdate?(prevProps: Readonly<import("@alifd/next/types/dialog/types").DialogProps>, prevState: Readonly<{}>): any;
    componentDidUpdate?(prevProps: Readonly<import("@alifd/next/types/dialog/types").DialogProps>, prevState: Readonly<{}>, snapshot?: any): void;
    componentWillMount?(): void;
    UNSAFE_componentWillMount?(): void;
    componentWillReceiveProps?(nextProps: Readonly<import("@alifd/next/types/dialog/types").DialogProps>, nextContext: any): void;
    UNSAFE_componentWillReceiveProps?(nextProps: Readonly<import("@alifd/next/types/dialog/types").DialogProps>, nextContext: any): void;
    componentWillUpdate?(nextProps: Readonly<import("@alifd/next/types/dialog/types").DialogProps>, nextState: Readonly<{}>, nextContext: any): void;
    UNSAFE_componentWillUpdate?(nextProps: Readonly<import("@alifd/next/types/dialog/types").DialogProps>, 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: <P extends import("@alifd/next/types/dialog/show").WithContextDialogProps, C>(WrappedComponent: React.JSXElementConstructor<P> & C) => (props: JSX.LibraryManagedAttributes<C, Omit<P, "contextDialog">>) => React.JSX.Element;
}, {}>;
export default Dialog;
export type { TDialogSize as DialogSize, IQuickShowConfig as DialogQuickShowConfig, DialogProps, };
