import React from 'react'; /** * ChakraToastFix component handles portal conflicts between micro-frontends using different React versions. * * This component addresses the issue where: * - Host application (e.g. Identity) uses Castle UI with React 17 * - Micro-frontend loads Castle UI with React 18 * - This causes conflicts in portal management * * The workaround temporarily renames the existing toast portal to a random ID to avoid conflicts * and restores it on cleanup. * * Example usage in a micro-frontend component: * */ export declare const ChakraToastFix: React.FC;