import { MessageFunctionType, Result } from '../types'; export interface ToIntErrors { TARGET_IS_NOT_A_INT: MessageFunctionType; } export declare const TO_INT_ERRORS: ToIntErrors; /** * Convert the input string to an integer, * or NaN if the input is not an integer. * * @param target * @param radix */ export declare function toInt(target: string, radix: number): Result;