import type { TextBody, OrientedBounds, ColorMap, ColorScheme, FontScheme, Slide, Color } from "../model/types.js"; import type { PlaceholderType } from "../model/enums.js"; import type { StyleBuilder } from "./style-builder.js"; export interface TextMapperContext { colorMap: ColorMap; colorScheme: ColorScheme; fontScheme: FontScheme; slide?: Slide; placeholderType?: PlaceholderType; fontRefColor?: Color; } export declare function mapTextBody(textBody: TextBody, bounds: OrientedBounds, styles: StyleBuilder, ctx: TextMapperContext): string; /** Render just the paragraphs (no margin wrapper). Used by table cells which provide their own wrapper. */ export declare function mapTextParagraphs(textBody: TextBody, styles: StyleBuilder, ctx: TextMapperContext): string;