/**
* Convert a string to an integer.
* @param str The string to convert
* @param radix The radix to use for conversion (default is 10)
* @returns The integer value if valid, NaN otherwise
*/
export declarefunctiontoInt(str: string, radix?: number): number;