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