import type { RouteRow } from "./page-store"; /** Table row with indentation: overrides and instance rows nest under their template. */ export type FlatStructureRow = { row: RouteRow; depth: number; /** Grouping row when overrides exist but the base path has no DB entry */ synthetic?: boolean; }; /** * Flatten routes for the structure UI: template/static roots, then children (overrides + full JSON instances). */ export declare function flattenStructureRoutes(routes: RouteRow[]): FlatStructureRow[];