export interface WidgetDialogProps { open: boolean; onClose?: () => void; afterClose?: () => void; title?: string | React.ReactNode; titleCenter?: boolean; rightSlot?: React.ReactNode; canBack?: boolean; children: React.ReactNode; width?: number | string; height?: number | string; testId?: string; } export default function WidgetDialog({ open, onClose, afterClose, title, titleCenter, rightSlot, canBack, children, width, height, testId, }: WidgetDialogProps): import("react").JSX.Element;