//#region src/useBeforeMount/useBeforeMount.d.ts /** * Runs a function once during the component's first render. * * This hook is useful for synchronous setup that must be available before the * initial React commit. It intentionally does not run again on re-render. * * @param fn - Function to run once before mount. * * @example * ```tsx * useBeforeMount(() => { * registry.register(id); * }); * ``` */ declare const useBeforeMount: (fn: () => void) => void; //#endregion export { useBeforeMount }; //# sourceMappingURL=useBeforeMount.d.ts.map