declare class BrPopupDialog extends React.PureComponent { constructor(props: any); state: { isShow: boolean; checkedCookie: boolean; option: {}; }; close: () => void; handleCall: (option: any) => void; onConfirm: () => void; onCancel: () => void; onBackground: (e: any) => void; onCrossClick: () => void; render(): JSX.Element | null; } declare namespace BrPopupDialog { export const openPopupDialog: (option: any) => void; export function openErrorDialog(message: any): void; export { DialogType as Type }; } export default BrPopupDialog; import React from 'react'; declare namespace DialogType { const ALERT_WITH_OPTION: string; const ALERT: string; }