declare function toNum(val: any): number; export = toNum;