export type Manifest = { routes: Record< string, { filePath?: string preloads?: Array assets?: Array } > } export type RouterManagedTag = | { tag: 'title' attrs?: Record children: string } | { tag: 'meta' | 'link' attrs?: Record children?: never } | { tag: 'script' attrs?: Record children?: string } | { tag: 'style' attrs?: Record children?: string }