11 lines
517 B
TypeScript
11 lines
517 B
TypeScript
import { IMeasurable, IMeasuredParagraph, IMeasuredParagraphOptions, ITestBestMeasuredParagraphOptions } from "./types";
|
|
export declare class Measurable {
|
|
caches: Map<string, Map<number, Map<string, IMeasurable>>>;
|
|
clearCache(): void;
|
|
getMeasuredParagraph(options: IMeasuredParagraphOptions): IMeasuredParagraph;
|
|
testBestMeasuredParagraph(options: ITestBestMeasuredParagraphOptions): IMeasuredParagraph;
|
|
private testMeasuredParagraph;
|
|
private testMeasureWords;
|
|
private testMeasuredWord;
|
|
}
|