import { Size } from "@sheetxl/common";
import { TextMeasurer } from "../font/FontUtils";
import { ITextFrame } from "./TextFrame";
/**
 * This 'places' text which means that using all of the formatting rules it assign's locations and bounds to
 * all of the characters. It does not however actually render them. See @renderTextFrame for rendering.
 *
 * @param textFrame
 * @param size
 * @param textMeasurer - This defaults to a canvas context
 */
export declare const layoutTextFrame: (textFrame: ITextFrame, size?: Partial<Size>, textMeasurer?: TextMeasurer) => ITextFrame;
//# sourceMappingURL=TextLayout.d.ts.map