1/** 2 * Copyright (c) Meta Platforms, Inc. and affiliates. 3 * 4 * This source code is licensed under the MIT license found in the 5 * LICENSE file in the root directory of this source tree. 6 * 7 * @format 8 * @flow strict-local 9 */ 10 11'use strict'; 12 13declare class PixelRatio { 14 static get(): number; 15 static getFontScale(): number; 16 static getPixelSizeForLayoutSize(layoutSize: number): number; 17 static roundToNearestPixel(layoutSize: number): number; 18 static startDetecting(): void; 19} 20 21module.exports = PixelRatio; 22