import { EffectCallback } from 'react'; /** Run `callback` after the initial render of the component * @param callback The function to run after the initial render * @example * function MyComponent() { * useMount(() => { * console.log('Mounted!'); * }); * return
My Component
; * } */ export declare function useMount(callback: EffectCallback): void;