import type { LunaticComponentDefinition, LunaticReducerState } from '../type'; /** * * @param state * @param ignoreAutoSubPages : (default: `false`), For pagination, during computation of next page, we check if there is component on a page * before exploring inside Loop, so we have to return only the Loop component (and not it's child) * So if we are computing page (during next or previous action), we have to return only Loop component * During process of computing page, we reached Loop by the root (with subpage or iteration undefined) * So if you're computing pages, set it to `true` * @returns the list of components to display for the current page */ export declare function getComponentsFromState(state: Pick, ignoreAutoSubPages?: boolean): LunaticComponentDefinition[];