import React, { ReactNode } from "react"; import { XHComponentCommonProps } from "../../types"; export declare type DialogProps = { header?: string | ReactNode; content: string | ReactNode; footer?: ReactNode; cancelText?: string; confirmText?: string; showCancel?: boolean; visible: boolean; onConfirm?: () => void; onCancel?: () => void; onClose?: () => void; tranparent?: boolean; portrait?: boolean; fancy?: boolean; dataTrackId?: string; } & XHComponentCommonProps; export declare type IDialogRef = { close: () => void; open: () => void; }; declare const DialogCom: React.ForwardRefExoticComponent<{ header?: string | ReactNode; content: string | ReactNode; footer?: ReactNode; cancelText?: string | undefined; confirmText?: string | undefined; showCancel?: boolean | undefined; visible: boolean; onConfirm?: (() => void) | undefined; onCancel?: (() => void) | undefined; onClose?: (() => void) | undefined; tranparent?: boolean | undefined; portrait?: boolean | undefined; fancy?: boolean | undefined; dataTrackId?: string | undefined; } & XHComponentCommonProps & React.RefAttributes>; export default DialogCom;