import type { InlineSpan } from '../parse/index.js'; import type { MeasuredBlock, MeasurementCache, MeasureBlockOptions } from './types.js'; export declare function cachedMeasureBlock(text: string, font: string, maxWidthPx: number, lineHeightPx: number, options: MeasureBlockOptions | undefined, cache: MeasurementCache): MeasuredBlock; /** {@link cachedMeasureRichBlock} for a table cell's paragraph or a piece * of a caption or a note ({@link measureRichSnippet}), in a key space of * its own: a text of nothing but no-break spaces sets a line there and * none in the body (#781). */ export declare function cachedMeasureRichSnippet(spans: InlineSpan[], normalFont: string, boldFont: string, italicFont: string, boldItalicFont: string, maxWidthPx: number, lineHeightPx: number, options: MeasureBlockOptions | undefined, cache: MeasurementCache): MeasuredBlock; export declare function cachedMeasureRichBlock(spans: InlineSpan[], normalFont: string, boldFont: string, italicFont: string, boldItalicFont: string, maxWidthPx: number, lineHeightPx: number, options: MeasureBlockOptions | undefined, cache: MeasurementCache): MeasuredBlock; //# sourceMappingURL=cache.d.ts.map