import type { CSSProperties } from 'react'; export declare const WEIGHING_METRIC_CARD_MIN_WIDTH = 140; interface WeighingMetricGridParams { containerWidth: number; gap: number; minCardWidth?: number; cardCount?: number; } /** * 根据容器可用宽度计算四个指标卡片的列数。 * 仅返回 1 / 2 / 4 列,避免 3+1 的视觉断层。 */ export declare function getWeighingMetricGridColumns(params: WeighingMetricGridParams): number; export declare function getWeighingMetricGridStyle(params: WeighingMetricGridParams): CSSProperties; export {};