//#region src/useMounted/useMounted.d.ts /** * Runs a callback once after the component mounts. * * Async callbacks are allowed, but returned promises are not used as cleanup * functions. * * @param fn - Callback to run after mount. * * @example * ```tsx * useMounted(() => { * analytics.track('mounted'); * }); * ``` */ declare const useMounted: (fn: () => void | Promise) => void; //#endregion export { useMounted }; //# sourceMappingURL=useMounted.d.ts.map