import { LabHtmlContentImage, LabHtmlPopulatedContentImage, LabJsonContentImage } from './lab-content-image.type'; import { LabHtmlContentRichtext, LabHtmlPopulatedContentRichtext, LabJsonContentRichtext } from './lab-content-richtext.type'; /** * Combines an image with accompanying richtext and alignment control. */ export type LabJsonContentImageText = { /** Image associated with the content block. */ image: LabJsonContentImage; /** Rich text or plain string content. */ richtext: LabJsonContentRichtext; /** Alignment of the image relative to the text. */ imageAlign: 'left' | 'right'; }; export type LabHtmlContentImageText = { image: LabHtmlContentImage; richtext: LabHtmlContentRichtext; imageAlign: 'left' | 'right'; }; export type LabHtmlPopulatedContentImageText = { image: LabHtmlPopulatedContentImage; richtext: LabHtmlPopulatedContentRichtext; imageAlign: 'left' | 'right'; };