import { FontSizeFactor } from "../../../../renderer";
export default class TextFitter {
    private readonly maxMultilineFontSize;
    private readonly baseFontSize;
    private readonly fontSizes;
    private readonly ctx;
    private readonly spaceWidth;
    constructor(fontFunc: (number: any) => string, fontSizes: number[], maxMultilineFontSize: number);
    getStepsForRect(text: string, width: number, height: number): FontSizeFactor[];
}
//# sourceMappingURL=TextFitter.d.ts.map