import { dmlMainTypes } from '@ooxml-sanad/schema'; type CT_TextBody = dmlMainTypes.CT_TextBody; type CT_TextBodyProperties = dmlMainTypes.CT_TextBodyProperties; export interface TextBodyRect { readonly x: number; readonly y: number; readonly width: number; readonly height: number; } export interface TextBodyLine { readonly text: string; readonly x: number; readonly y: number; readonly width: number; readonly height: number; readonly fontSize: number; } export interface TextBodyLayout { readonly lines: readonly TextBodyLine[]; readonly bounds: TextBodyRect; readonly scale: number; readonly orientation: 'horizontal' | 'vertical' | 'vertical270'; } export interface TextBodyOptions { readonly defaultFontSize?: number; readonly charWidth?: number; readonly lineHeight?: number; readonly listStyle?: readonly unknown[]; } /** Lays out DrawingML text using body properties; stored normAutofit values are applied verbatim. */ export declare function layoutTextBody(body: CT_TextBody, rect: TextBodyRect, options?: TextBodyOptions): TextBodyLayout; export declare function textBodyInsets(bodyPr?: CT_TextBodyProperties): { left: number; top: number; right: number; bottom: number; }; export {}; //# sourceMappingURL=text-body.d.ts.map