export function useCachedInterval({ timeout, localStorageKey, }: { timeout: any; localStorageKey?: string; }): { subscribe: (callback: any) => void; };