import { CSSProperties } from 'react'; export default function measureTextWidth(text: string, style?: CSSProperties): number;