/**
 * Sets up an interval that repeatedly calls the
 * provided callback function.
 *
 * The interval is cleared whenever the delay changes
 * or when the component unmounts.
 */
export declare const useInterval: (callback: () => void, delay: number) => void;
