import { InternalUnit, Unit } from '../interfaces/unit.interfaces'; import { InternalSpot } from '../interfaces'; /** * refreshes children parent target * since we do not want to have ''/'' path * so, it retrieves children and replaces instead of parent one of the children * sibling unit (next by id) becomes "parent" parent-sibling unit */ export declare function flatChildrenUnit(parentSpot: InternalSpot & { children: InternalUnit; }): Unit; /** * Detects and handles children routes */ export declare const flatUnit: (routes: InternalUnit) => Unit;