TextMetrics: {
    prototype: TextMetrics;
    new (): TextMetrics;
}

Type declaration