/** * @license * Copyright 2022-2026 Matter.js Authors * SPDX-License-Identifier: Apache-2.0 */ /** * Utility for managing singleton state. This is primarily for testing but may be used for any purpose that requires * a global reset of the process. */ export declare namespace Boot { /** * Invoke a callback immediately and on reboot. */ function init(setup: () => void, kind?: Boot.Kind): void; /** * Invoke all boot callbacks. This signals singletons to revert to "first loaded" state. */ function reboot(kind?: Boot.Kind): void; /** * Kind of boot. * * "platform" resets singletons and state. "state" resets state only. */ type Kind = "platform" | "state"; } //# sourceMappingURL=Boot.d.ts.map