1 | import type { Properties } from 'csstype';
|
2 | export declare type Font = Pick<Properties, 'fontFamily' | 'fontWeight' | 'fontStyle' | 'fontVariant'> & {
|
3 | fontSize?: number;
|
4 | };
|
5 | declare const _default: {
|
6 | (...args: any[]): any;
|
7 | cache: Map<any, any>;
|
8 | };
|
9 | /**
|
10 | * 计算文本的宽度
|
11 | */
|
12 | export default _default;
|