export declare const prepareDiv: (div: HTMLDivElement) => HTMLDivElement;
/** Watches font family changes.
*
* Super important as it impacts the text dimensions calculations (and fonts
* are often loaded asynchronously), so we need to wait for them to load.
*/
export declare const createFontLoadObserver: (div: HTMLDivElement, callback: () => void) => {
destroy: () => void;
};
export declare const createResizeObserver: (div: HTMLDivElement, callback: () => void) => {
destroy: () => void;
};