import type { Block } from "#types/block.types"; export interface Subsection { readonly blocks?: readonly Block[]; readonly content?: string; readonly id?: string; readonly layout?: "grid"; readonly title: string; } export interface Section { readonly blocks?: readonly Block[]; readonly icon: string; readonly id: string; readonly intro?: string; readonly layout?: "callout"; readonly subsections: readonly Subsection[]; readonly title: string; } export interface Tab { readonly icon: string; readonly id: string; readonly label: string; readonly layout?: TabLayout; readonly sections: readonly Section[]; } export interface DocumentMeta { readonly closing: string; readonly effectiveDate: string; readonly emblem?: string; readonly intro?: string; readonly lastUpdated: string; readonly title: string; readonly version: string; } export interface TabbedMeta { readonly emblem?: string; readonly subtitle: string; readonly title: string; readonly version: string; } export type TabLayout = "chapter" | "glossary" | "grid" | "ontology" | "tree";