//#region src/setup-error-overlay/index.d.ts /** Exported so tests can drop the singleton; every other consumer should go through `showSetupErrorOverlay`. */ declare const SETUP_ERROR_OVERLAY_GLOBAL_INSTANCE_KEY = "__hexclave-setup-error-overlay"; /** * Shows `error` as an error card on the current page. * * Setup errors are always shown, because the flow they aborted cannot complete no matter what the end user does, and * their messages are written for exactly this purpose. Any other error is only shown while developing — those messages * are internal diagnostics, so in production they stay in captureError's hands. * * Returns a cleanup function that removes the card again. */ declare function showSetupErrorOverlay(error: unknown): () => void; //#endregion export { SETUP_ERROR_OVERLAY_GLOBAL_INSTANCE_KEY, showSetupErrorOverlay }; //# sourceMappingURL=index.d.ts.map