declare type Value = number | string; declare function toPercent(v: Value, d?: number): string; export default toPercent;