export declare function calculateTextWidth(fontFamilyKey: Record<string, any>, text: string, defaultWidth?: number): any;
