declare namespace _exports { export { IframeProps }; } declare namespace _exports { export { clearCompileError }; export { clearRuntimeErrors }; export { handleRuntimeError }; export { showCompileError }; export { showRuntimeErrors }; } export = _exports; type IframeProps = { onIframeLoad: () => void; }; /** * Clears Webpack compilation errors and dismisses the compile error overlay. * @returns {void} */ declare function clearCompileError(): void; /** * Clears runtime error records and dismisses the runtime error overlay. * @param {boolean} [dismissOverlay] Whether to dismiss the overlay or not. * @returns {void} */ declare function clearRuntimeErrors(dismissOverlay?: boolean): void; /** * Handles runtime error contexts captured with EventListeners. * Integrates with a runtime error overlay. * @param {Error} error A valid error object. * @returns {void} */ declare function handleRuntimeError(error: Error): void; /** * Shows the compile error overlay with the specific Webpack error message. * @param {string} message * @returns {void} */ declare function showCompileError(message: string): void; /** * Shows the runtime error overlay with the specific error records. * @param {Error[]} errors * @returns {void} */ declare function showRuntimeErrors(errors: Error[]): void;