/** * 将比例化简为最简整数比 * * 比如输入 800:200,输出 "4:1",输入 1920:1080,输出 "16:9" * * @param a 比例前项 * @param b 比例后项 * @param options 配置选项 * @returns 格式为 "前项:后项" 的字符串 */ export declare function simplifyRatio(a: number, b: number, options?: { /** * 小数位数控制: * - undefined/true: 返回最简整数比(默认) * - 数字: 允许小数,保留指定位数以提高可读性 * - false: 同 undefined */ round?: number | boolean; /** * 屏幕比例优化: * - true: 优先使用标准屏幕比例格式(如 16:9, 16:10, 4:3 等) * - false/undefined: 使用标准最简比例 */ screenRatio?: boolean; }): string; //# sourceMappingURL=simplifyRatio.d.ts.map