import type { LunaticReducerState, PageTag } from '../type'; import { type DependencyList, type ReactNode } from 'react'; export type InterpretedLunaticOverviewItem = { id: string; type: string; page: PageTag; label: ReactNode; description: ReactNode; reached: boolean; current: boolean; children: InterpretedLunaticOverviewItem[]; }; /** * Build a filled overview everytime the deps change. */ export declare const useOverview: ({ overview, executeExpression, pager, options, }: Pick, deps: DependencyList) => InterpretedLunaticOverviewItem[];