import StructureType from "../const/structure-type" ; import { HeadingEnum } from "../components/heading" ; import { ListType } from "../components/list" ; import { AnyObject } from "../decorate" ; abstract class AbstractView < T extends any = any > { constructor ( ) { this . init ( ) ; } init ( ) { } abstract buildArticle ( id , getChildren , style , data ) ; abstract buildCustomCollection ( id , tag , getChildren , style , data ) ; abstract buildTable ( id , getChildren , style , data ) ; abstract buildTableRow ( id , getChildren , style , data ) ; abstract buildTableCell ( id , cellType , getChildren , style , data ) ; abstract buildList ( id , listType , getChildren , style , data ) ; abstract buildListItem ( list , structureType ) ; abstract buildParagraph ( id , getChildren , style , data ) ; abstract buildHeading ( id , type , getChildren , style , data ) ; abstract buildCodeBlock ( id , content , language , style , data ) ; abstract buildeImage ( id , src , style , data ) ; abstract buildeAudio ( id , src , style , data ) ; abstract buildeVideo ( id , src , style , data ) ; abstract buildCharacterList ( id , text , style , data ) ; abstract buildInlineImage ( id , src , style , data ) ; } export default AbstractView ;