import type { AnyFunc } from "../utils/basic.cjs";
/**
* A React Hooks that is similar to `useMount` but use `useIsomorphicLayoutEffect` under the hood.
*
* Usually, you should use `useLayoutMount` instead of `useMount` if you want to run some code that may affect the layout in the next frame.
*
* `strictOnce` option is **NOT** recommended as it [damages](https://react.dev/learn/synchronizing-with-effects#dont-use-refs-to-prevent-effects-from-firing) the original intention of the **Strict Mode** of React 18.
*
* @param callback The callback to run when the component is mounted (useLayoutEffect).
* @param strictOnce If `true`, the callback will only be executed once. NOTE: **NOT** recommended.
* @returns {void} `void`
*
*/
export declare function useLayoutMount(callback?: AnyFunc | null | undefined | false, strictOnce?: boolean): void;