/** * @file PopUp * @description * @author fex */ /// import React from 'react'; import { ThemeProps } from 'amis-core'; import { LocaleProps } from 'amis-core'; export interface PopUpPorps extends ThemeProps, LocaleProps { title?: string; className?: string; style?: { [styleName: string]: string; }; overlay?: boolean; onHide?: () => void; isShow?: boolean; container?: any; showConfirm?: boolean; onConfirm?: (value: any) => void; showClose?: boolean; placement?: 'left' | 'center' | 'right'; header?: JSX.Element; children?: React.ReactNode | Array; } export declare class PopUp extends React.PureComponent { scrollTop: number; static defaultProps: { className: string; overlay: boolean; isShow: boolean; container: HTMLElement; showClose: boolean; onConfirm: () => void; }; componentDidUpdate(): void; componentWillUnmount(): void; handleClick(e: React.MouseEvent): void; render(): React.JSX.Element; } declare const _default: { new (props: Omit, "classPrefix" | "classnames" | "children" | "theme" | "mobileUI" | "style" | "onHide" | "header" | "title" | "placement" | "showConfirm"> & { className?: string | undefined; overlay?: boolean | undefined; container?: any; isShow?: boolean | undefined; onConfirm?: ((value: any) => void) | undefined; showClose?: boolean | undefined; } & {} & { locale?: string | undefined; translate?: ((str: string, ...args: any[]) => string) | undefined; }, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOuterProps): { ref: any; childRef(ref: any): void; getWrappedInstance(): any; render(): React.JSX.Element; context: unknown; setState(state: {} | ((prevState: Readonly<{}>, props: Readonly, "classPrefix" | "classnames" | "children" | "theme" | "mobileUI" | "style" | "onHide" | "header" | "title" | "placement" | "showConfirm"> & { className?: string | undefined; overlay?: boolean | undefined; container?: any; isShow?: boolean | undefined; onConfirm?: ((value: any) => void) | undefined; showClose?: boolean | undefined; } & {} & { locale?: string | undefined; translate?: ((str: string, ...args: any[]) => string) | undefined; }, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOuterProps>) => {} | Pick<{}, K> | null) | Pick<{}, K> | null, callback?: (() => void) | undefined): void; forceUpdate(callback?: (() => void) | undefined): void; readonly props: Readonly, "classPrefix" | "classnames" | "children" | "theme" | "mobileUI" | "style" | "onHide" | "header" | "title" | "placement" | "showConfirm"> & { className?: string | undefined; overlay?: boolean | undefined; container?: any; isShow?: boolean | undefined; onConfirm?: ((value: any) => void) | undefined; showClose?: boolean | undefined; } & {} & { locale?: string | undefined; translate?: ((str: string, ...args: any[]) => string) | undefined; }, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOuterProps>; state: Readonly<{}>; refs: { [key: string]: React.ReactInstance; }; componentDidMount?(): void; shouldComponentUpdate?(nextProps: Readonly, "classPrefix" | "classnames" | "children" | "theme" | "mobileUI" | "style" | "onHide" | "header" | "title" | "placement" | "showConfirm"> & { className?: string | undefined; overlay?: boolean | undefined; container?: any; isShow?: boolean | undefined; onConfirm?: ((value: any) => void) | undefined; showClose?: boolean | undefined; } & {} & { locale?: string | undefined; translate?: ((str: string, ...args: any[]) => string) | undefined; }, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOuterProps>, nextState: Readonly<{}>, nextContext: any): boolean; componentWillUnmount?(): void; componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void; getSnapshotBeforeUpdate?(prevProps: Readonly, "classPrefix" | "classnames" | "children" | "theme" | "mobileUI" | "style" | "onHide" | "header" | "title" | "placement" | "showConfirm"> & { className?: string | undefined; overlay?: boolean | undefined; container?: any; isShow?: boolean | undefined; onConfirm?: ((value: any) => void) | undefined; showClose?: boolean | undefined; } & {} & { locale?: string | undefined; translate?: ((str: string, ...args: any[]) => string) | undefined; }, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOuterProps>, prevState: Readonly<{}>): any; componentDidUpdate?(prevProps: Readonly, "classPrefix" | "classnames" | "children" | "theme" | "mobileUI" | "style" | "onHide" | "header" | "title" | "placement" | "showConfirm"> & { className?: string | undefined; overlay?: boolean | undefined; container?: any; isShow?: boolean | undefined; onConfirm?: ((value: any) => void) | undefined; showClose?: boolean | undefined; } & {} & { locale?: string | undefined; translate?: ((str: string, ...args: any[]) => string) | undefined; }, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOuterProps>, prevState: Readonly<{}>, snapshot?: any): void; componentWillMount?(): void; UNSAFE_componentWillMount?(): void; componentWillReceiveProps?(nextProps: Readonly, "classPrefix" | "classnames" | "children" | "theme" | "mobileUI" | "style" | "onHide" | "header" | "title" | "placement" | "showConfirm"> & { className?: string | undefined; overlay?: boolean | undefined; container?: any; isShow?: boolean | undefined; onConfirm?: ((value: any) => void) | undefined; showClose?: boolean | undefined; } & {} & { locale?: string | undefined; translate?: ((str: string, ...args: any[]) => string) | undefined; }, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOuterProps>, nextContext: any): void; UNSAFE_componentWillReceiveProps?(nextProps: Readonly, "classPrefix" | "classnames" | "children" | "theme" | "mobileUI" | "style" | "onHide" | "header" | "title" | "placement" | "showConfirm"> & { className?: string | undefined; overlay?: boolean | undefined; container?: any; isShow?: boolean | undefined; onConfirm?: ((value: any) => void) | undefined; showClose?: boolean | undefined; } & {} & { locale?: string | undefined; translate?: ((str: string, ...args: any[]) => string) | undefined; }, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOuterProps>, nextContext: any): void; componentWillUpdate?(nextProps: Readonly, "classPrefix" | "classnames" | "children" | "theme" | "mobileUI" | "style" | "onHide" | "header" | "title" | "placement" | "showConfirm"> & { className?: string | undefined; overlay?: boolean | undefined; container?: any; isShow?: boolean | undefined; onConfirm?: ((value: any) => void) | undefined; showClose?: boolean | undefined; } & {} & { locale?: string | undefined; translate?: ((str: string, ...args: any[]) => string) | undefined; }, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOuterProps>, nextState: Readonly<{}>, nextContext: any): void; UNSAFE_componentWillUpdate?(nextProps: Readonly, "classPrefix" | "classnames" | "children" | "theme" | "mobileUI" | "style" | "onHide" | "header" | "title" | "placement" | "showConfirm"> & { className?: string | undefined; overlay?: boolean | undefined; container?: any; isShow?: boolean | undefined; onConfirm?: ((value: any) => void) | undefined; showClose?: boolean | undefined; } & {} & { locale?: string | undefined; translate?: ((str: string, ...args: any[]) => string) | undefined; }, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOuterProps>, nextState: Readonly<{}>, nextContext: any): void; }; displayName: string; contextType: React.Context; ComposedComponent: React.ComponentType<{ new (props: Pick, "classPrefix" | "classnames" | "children" | "theme" | "mobileUI" | "style" | "onHide" | "header" | "title" | "placement" | "showConfirm"> & { className?: string | undefined; overlay?: boolean | undefined; container?: any; isShow?: boolean | undefined; onConfirm?: ((value: any) => void) | undefined; showClose?: boolean | undefined; } & {} & { locale?: string | undefined; translate?: ((str: string, ...args: any[]) => string) | undefined; }): { ref: any; childRef(ref: any): void; getWrappedInstance(): any; render(): React.JSX.Element; context: unknown; setState(state: {} | ((prevState: Readonly<{}>, props: Readonly, "classPrefix" | "classnames" | "children" | "theme" | "mobileUI" | "style" | "onHide" | "header" | "title" | "placement" | "showConfirm"> & { className?: string | undefined; overlay?: boolean | undefined; container?: any; isShow?: boolean | undefined; onConfirm?: ((value: any) => void) | undefined; showClose?: boolean | undefined; } & {} & { locale?: string | undefined; translate?: ((str: string, ...args: any[]) => string) | undefined; }>) => {} | Pick<{}, K_1> | null) | Pick<{}, K_1> | null, callback?: (() => void) | undefined): void; forceUpdate(callback?: (() => void) | undefined): void; readonly props: Readonly, "classPrefix" | "classnames" | "children" | "theme" | "mobileUI" | "style" | "onHide" | "header" | "title" | "placement" | "showConfirm"> & { className?: string | undefined; overlay?: boolean | undefined; container?: any; isShow?: boolean | undefined; onConfirm?: ((value: any) => void) | undefined; showClose?: boolean | undefined; } & {} & { locale?: string | undefined; translate?: ((str: string, ...args: any[]) => string) | undefined; }>; state: Readonly<{}>; refs: { [key: string]: React.ReactInstance; }; componentDidMount?(): void; shouldComponentUpdate?(nextProps: Readonly, "classPrefix" | "classnames" | "children" | "theme" | "mobileUI" | "style" | "onHide" | "header" | "title" | "placement" | "showConfirm"> & { className?: string | undefined; overlay?: boolean | undefined; container?: any; isShow?: boolean | undefined; onConfirm?: ((value: any) => void) | undefined; showClose?: boolean | undefined; } & {} & { locale?: string | undefined; translate?: ((str: string, ...args: any[]) => string) | undefined; }>, nextState: Readonly<{}>, nextContext: any): boolean; componentWillUnmount?(): void; componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void; getSnapshotBeforeUpdate?(prevProps: Readonly, "classPrefix" | "classnames" | "children" | "theme" | "mobileUI" | "style" | "onHide" | "header" | "title" | "placement" | "showConfirm"> & { className?: string | undefined; overlay?: boolean | undefined; container?: any; isShow?: boolean | undefined; onConfirm?: ((value: any) => void) | undefined; showClose?: boolean | undefined; } & {} & { locale?: string | undefined; translate?: ((str: string, ...args: any[]) => string) | undefined; }>, prevState: Readonly<{}>): any; componentDidUpdate?(prevProps: Readonly, "classPrefix" | "classnames" | "children" | "theme" | "mobileUI" | "style" | "onHide" | "header" | "title" | "placement" | "showConfirm"> & { className?: string | undefined; overlay?: boolean | undefined; container?: any; isShow?: boolean | undefined; onConfirm?: ((value: any) => void) | undefined; showClose?: boolean | undefined; } & {} & { locale?: string | undefined; translate?: ((str: string, ...args: any[]) => string) | undefined; }>, prevState: Readonly<{}>, snapshot?: any): void; componentWillMount?(): void; UNSAFE_componentWillMount?(): void; componentWillReceiveProps?(nextProps: Readonly, "classPrefix" | "classnames" | "children" | "theme" | "mobileUI" | "style" | "onHide" | "header" | "title" | "placement" | "showConfirm"> & { className?: string | undefined; overlay?: boolean | undefined; container?: any; isShow?: boolean | undefined; onConfirm?: ((value: any) => void) | undefined; showClose?: boolean | undefined; } & {} & { locale?: string | undefined; translate?: ((str: string, ...args: any[]) => string) | undefined; }>, nextContext: any): void; UNSAFE_componentWillReceiveProps?(nextProps: Readonly, "classPrefix" | "classnames" | "children" | "theme" | "mobileUI" | "style" | "onHide" | "header" | "title" | "placement" | "showConfirm"> & { className?: string | undefined; overlay?: boolean | undefined; container?: any; isShow?: boolean | undefined; onConfirm?: ((value: any) => void) | undefined; showClose?: boolean | undefined; } & {} & { locale?: string | undefined; translate?: ((str: string, ...args: any[]) => string) | undefined; }>, nextContext: any): void; componentWillUpdate?(nextProps: Readonly, "classPrefix" | "classnames" | "children" | "theme" | "mobileUI" | "style" | "onHide" | "header" | "title" | "placement" | "showConfirm"> & { className?: string | undefined; overlay?: boolean | undefined; container?: any; isShow?: boolean | undefined; onConfirm?: ((value: any) => void) | undefined; showClose?: boolean | undefined; } & {} & { locale?: string | undefined; translate?: ((str: string, ...args: any[]) => string) | undefined; }>, nextState: Readonly<{}>, nextContext: any): void; UNSAFE_componentWillUpdate?(nextProps: Readonly, "classPrefix" | "classnames" | "children" | "theme" | "mobileUI" | "style" | "onHide" | "header" | "title" | "placement" | "showConfirm"> & { className?: string | undefined; overlay?: boolean | undefined; container?: any; isShow?: boolean | undefined; onConfirm?: ((value: any) => void) | undefined; showClose?: boolean | undefined; } & {} & { locale?: string | undefined; translate?: ((str: string, ...args: any[]) => string) | undefined; }>, nextState: Readonly<{}>, nextContext: any): void; }; displayName: string; contextType: React.Context; ComposedComponent: React.ComponentType; } & import("hoist-non-react-statics").NonReactStatics & { ComposedComponent: typeof PopUp; }>; } & import("hoist-non-react-statics").NonReactStatics<{ new (props: Pick, "classPrefix" | "classnames" | "children" | "theme" | "mobileUI" | "style" | "onHide" | "header" | "title" | "placement" | "showConfirm"> & { className?: string | undefined; overlay?: boolean | undefined; container?: any; isShow?: boolean | undefined; onConfirm?: ((value: any) => void) | undefined; showClose?: boolean | undefined; } & {} & { locale?: string | undefined; translate?: ((str: string, ...args: any[]) => string) | undefined; }): { ref: any; childRef(ref: any): void; getWrappedInstance(): any; render(): React.JSX.Element; context: unknown; setState(state: {} | ((prevState: Readonly<{}>, props: Readonly, "classPrefix" | "classnames" | "children" | "theme" | "mobileUI" | "style" | "onHide" | "header" | "title" | "placement" | "showConfirm"> & { className?: string | undefined; overlay?: boolean | undefined; container?: any; isShow?: boolean | undefined; onConfirm?: ((value: any) => void) | undefined; showClose?: boolean | undefined; } & {} & { locale?: string | undefined; translate?: ((str: string, ...args: any[]) => string) | undefined; }>) => {} | Pick<{}, K_1> | null) | Pick<{}, K_1> | null, callback?: (() => void) | undefined): void; forceUpdate(callback?: (() => void) | undefined): void; readonly props: Readonly, "classPrefix" | "classnames" | "children" | "theme" | "mobileUI" | "style" | "onHide" | "header" | "title" | "placement" | "showConfirm"> & { className?: string | undefined; overlay?: boolean | undefined; container?: any; isShow?: boolean | undefined; onConfirm?: ((value: any) => void) | undefined; showClose?: boolean | undefined; } & {} & { locale?: string | undefined; translate?: ((str: string, ...args: any[]) => string) | undefined; }>; state: Readonly<{}>; refs: { [key: string]: React.ReactInstance; }; componentDidMount?(): void; shouldComponentUpdate?(nextProps: Readonly, "classPrefix" | "classnames" | "children" | "theme" | "mobileUI" | "style" | "onHide" | "header" | "title" | "placement" | "showConfirm"> & { className?: string | undefined; overlay?: boolean | undefined; container?: any; isShow?: boolean | undefined; onConfirm?: ((value: any) => void) | undefined; showClose?: boolean | undefined; } & {} & { locale?: string | undefined; translate?: ((str: string, ...args: any[]) => string) | undefined; }>, nextState: Readonly<{}>, nextContext: any): boolean; componentWillUnmount?(): void; componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void; getSnapshotBeforeUpdate?(prevProps: Readonly, "classPrefix" | "classnames" | "children" | "theme" | "mobileUI" | "style" | "onHide" | "header" | "title" | "placement" | "showConfirm"> & { className?: string | undefined; overlay?: boolean | undefined; container?: any; isShow?: boolean | undefined; onConfirm?: ((value: any) => void) | undefined; showClose?: boolean | undefined; } & {} & { locale?: string | undefined; translate?: ((str: string, ...args: any[]) => string) | undefined; }>, prevState: Readonly<{}>): any; componentDidUpdate?(prevProps: Readonly, "classPrefix" | "classnames" | "children" | "theme" | "mobileUI" | "style" | "onHide" | "header" | "title" | "placement" | "showConfirm"> & { className?: string | undefined; overlay?: boolean | undefined; container?: any; isShow?: boolean | undefined; onConfirm?: ((value: any) => void) | undefined; showClose?: boolean | undefined; } & {} & { locale?: string | undefined; translate?: ((str: string, ...args: any[]) => string) | undefined; }>, prevState: Readonly<{}>, snapshot?: any): void; componentWillMount?(): void; UNSAFE_componentWillMount?(): void; componentWillReceiveProps?(nextProps: Readonly, "classPrefix" | "classnames" | "children" | "theme" | "mobileUI" | "style" | "onHide" | "header" | "title" | "placement" | "showConfirm"> & { className?: string | undefined; overlay?: boolean | undefined; container?: any; isShow?: boolean | undefined; onConfirm?: ((value: any) => void) | undefined; showClose?: boolean | undefined; } & {} & { locale?: string | undefined; translate?: ((str: string, ...args: any[]) => string) | undefined; }>, nextContext: any): void; UNSAFE_componentWillReceiveProps?(nextProps: Readonly, "classPrefix" | "classnames" | "children" | "theme" | "mobileUI" | "style" | "onHide" | "header" | "title" | "placement" | "showConfirm"> & { className?: string | undefined; overlay?: boolean | undefined; container?: any; isShow?: boolean | undefined; onConfirm?: ((value: any) => void) | undefined; showClose?: boolean | undefined; } & {} & { locale?: string | undefined; translate?: ((str: string, ...args: any[]) => string) | undefined; }>, nextContext: any): void; componentWillUpdate?(nextProps: Readonly, "classPrefix" | "classnames" | "children" | "theme" | "mobileUI" | "style" | "onHide" | "header" | "title" | "placement" | "showConfirm"> & { className?: string | undefined; overlay?: boolean | undefined; container?: any; isShow?: boolean | undefined; onConfirm?: ((value: any) => void) | undefined; showClose?: boolean | undefined; } & {} & { locale?: string | undefined; translate?: ((str: string, ...args: any[]) => string) | undefined; }>, nextState: Readonly<{}>, nextContext: any): void; UNSAFE_componentWillUpdate?(nextProps: Readonly, "classPrefix" | "classnames" | "children" | "theme" | "mobileUI" | "style" | "onHide" | "header" | "title" | "placement" | "showConfirm"> & { className?: string | undefined; overlay?: boolean | undefined; container?: any; isShow?: boolean | undefined; onConfirm?: ((value: any) => void) | undefined; showClose?: boolean | undefined; } & {} & { locale?: string | undefined; translate?: ((str: string, ...args: any[]) => string) | undefined; }>, nextState: Readonly<{}>, nextContext: any): void; }; displayName: string; contextType: React.Context; ComposedComponent: React.ComponentType; } & import("hoist-non-react-statics").NonReactStatics & { ComposedComponent: typeof PopUp; }, {}> & { ComposedComponent: { new (props: Pick, "classPrefix" | "classnames" | "children" | "theme" | "mobileUI" | "style" | "onHide" | "header" | "title" | "placement" | "showConfirm"> & { className?: string | undefined; overlay?: boolean | undefined; container?: any; isShow?: boolean | undefined; onConfirm?: ((value: any) => void) | undefined; showClose?: boolean | undefined; } & {} & { locale?: string | undefined; translate?: ((str: string, ...args: any[]) => string) | undefined; }): { ref: any; childRef(ref: any): void; getWrappedInstance(): any; render(): React.JSX.Element; context: unknown; setState(state: {} | ((prevState: Readonly<{}>, props: Readonly, "classPrefix" | "classnames" | "children" | "theme" | "mobileUI" | "style" | "onHide" | "header" | "title" | "placement" | "showConfirm"> & { className?: string | undefined; overlay?: boolean | undefined; container?: any; isShow?: boolean | undefined; onConfirm?: ((value: any) => void) | undefined; showClose?: boolean | undefined; } & {} & { locale?: string | undefined; translate?: ((str: string, ...args: any[]) => string) | undefined; }>) => {} | Pick<{}, K_1> | null) | Pick<{}, K_1> | null, callback?: (() => void) | undefined): void; forceUpdate(callback?: (() => void) | undefined): void; readonly props: Readonly, "classPrefix" | "classnames" | "children" | "theme" | "mobileUI" | "style" | "onHide" | "header" | "title" | "placement" | "showConfirm"> & { className?: string | undefined; overlay?: boolean | undefined; container?: any; isShow?: boolean | undefined; onConfirm?: ((value: any) => void) | undefined; showClose?: boolean | undefined; } & {} & { locale?: string | undefined; translate?: ((str: string, ...args: any[]) => string) | undefined; }>; state: Readonly<{}>; refs: { [key: string]: React.ReactInstance; }; componentDidMount?(): void; shouldComponentUpdate?(nextProps: Readonly, "classPrefix" | "classnames" | "children" | "theme" | "mobileUI" | "style" | "onHide" | "header" | "title" | "placement" | "showConfirm"> & { className?: string | undefined; overlay?: boolean | undefined; container?: any; isShow?: boolean | undefined; onConfirm?: ((value: any) => void) | undefined; showClose?: boolean | undefined; } & {} & { locale?: string | undefined; translate?: ((str: string, ...args: any[]) => string) | undefined; }>, nextState: Readonly<{}>, nextContext: any): boolean; componentWillUnmount?(): void; componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void; getSnapshotBeforeUpdate?(prevProps: Readonly, "classPrefix" | "classnames" | "children" | "theme" | "mobileUI" | "style" | "onHide" | "header" | "title" | "placement" | "showConfirm"> & { className?: string | undefined; overlay?: boolean | undefined; container?: any; isShow?: boolean | undefined; onConfirm?: ((value: any) => void) | undefined; showClose?: boolean | undefined; } & {} & { locale?: string | undefined; translate?: ((str: string, ...args: any[]) => string) | undefined; }>, prevState: Readonly<{}>): any; componentDidUpdate?(prevProps: Readonly, "classPrefix" | "classnames" | "children" | "theme" | "mobileUI" | "style" | "onHide" | "header" | "title" | "placement" | "showConfirm"> & { className?: string | undefined; overlay?: boolean | undefined; container?: any; isShow?: boolean | undefined; onConfirm?: ((value: any) => void) | undefined; showClose?: boolean | undefined; } & {} & { locale?: string | undefined; translate?: ((str: string, ...args: any[]) => string) | undefined; }>, prevState: Readonly<{}>, snapshot?: any): void; componentWillMount?(): void; UNSAFE_componentWillMount?(): void; componentWillReceiveProps?(nextProps: Readonly, "classPrefix" | "classnames" | "children" | "theme" | "mobileUI" | "style" | "onHide" | "header" | "title" | "placement" | "showConfirm"> & { className?: string | undefined; overlay?: boolean | undefined; container?: any; isShow?: boolean | undefined; onConfirm?: ((value: any) => void) | undefined; showClose?: boolean | undefined; } & {} & { locale?: string | undefined; translate?: ((str: string, ...args: any[]) => string) | undefined; }>, nextContext: any): void; UNSAFE_componentWillReceiveProps?(nextProps: Readonly, "classPrefix" | "classnames" | "children" | "theme" | "mobileUI" | "style" | "onHide" | "header" | "title" | "placement" | "showConfirm"> & { className?: string | undefined; overlay?: boolean | undefined; container?: any; isShow?: boolean | undefined; onConfirm?: ((value: any) => void) | undefined; showClose?: boolean | undefined; } & {} & { locale?: string | undefined; translate?: ((str: string, ...args: any[]) => string) | undefined; }>, nextContext: any): void; componentWillUpdate?(nextProps: Readonly, "classPrefix" | "classnames" | "children" | "theme" | "mobileUI" | "style" | "onHide" | "header" | "title" | "placement" | "showConfirm"> & { className?: string | undefined; overlay?: boolean | undefined; container?: any; isShow?: boolean | undefined; onConfirm?: ((value: any) => void) | undefined; showClose?: boolean | undefined; } & {} & { locale?: string | undefined; translate?: ((str: string, ...args: any[]) => string) | undefined; }>, nextState: Readonly<{}>, nextContext: any): void; UNSAFE_componentWillUpdate?(nextProps: Readonly, "classPrefix" | "classnames" | "children" | "theme" | "mobileUI" | "style" | "onHide" | "header" | "title" | "placement" | "showConfirm"> & { className?: string | undefined; overlay?: boolean | undefined; container?: any; isShow?: boolean | undefined; onConfirm?: ((value: any) => void) | undefined; showClose?: boolean | undefined; } & {} & { locale?: string | undefined; translate?: ((str: string, ...args: any[]) => string) | undefined; }>, nextState: Readonly<{}>, nextContext: any): void; }; displayName: string; contextType: React.Context; ComposedComponent: React.ComponentType; } & import("hoist-non-react-statics").NonReactStatics & { ComposedComponent: typeof PopUp; }; }; export default _default;