import { useEffect } from 'preact/hooks'; /** * A hook that resolves to useEffect on the server and useLayoutEffect on the client */ export declare const useIsomorphicLayoutEffect: typeof useEffect; type IntervalCallback = () => void; type IntervalDelay = number | null; export declare function useInterval(callback: IntervalCallback, delay: IntervalDelay): void; export {};