import React, { ComponentType } from 'react';
interface OwnProps {
    handleClose?: () => void;
}
interface DispatchProps {
    initializeDialog: (name: string) => void;
    closeDialog: (name: string) => void;
    handleClose: () => void;
}
interface StateProps {
    isOpen: boolean;
}
export declare type WithReduxDialogProps = StateProps & DispatchProps & OwnProps;
/**
 * Please read this article for more info.
 * https://medium.com/@martin_hotell/react-refs-with-typescript-a32d56c4d315
 * @param name
 */
declare const withReduxDialog: (name: string) => <T, OriginalProps>(WrappedComponent: ComponentType<any | string>) => React.ForwardRefExoticComponent<React.PropsWithoutRef<OriginalProps> & React.RefAttributes<T>>;
export default withReduxDialog;
