import { TNode } from 'react-native-render-html';
import { TCellConstraints } from '../shared-types';
export default class TCellConstraintsComputer {
private baseFontCoeff;
private fallbackFontSize;
private fontWeightCoeffs;
constructor({ baseFontCoeff, fallbackFontSize }: {
baseFontCoeff?: number;
fallbackFontSize?: number;
});
private getContentDensity;
private geTextMinWidth;
private getTextCoeff;
private assembleCellStats;
private computeTextConstraints;
computeCellConstraints(tnode: TNode): TCellConstraints;
}