export interface ToNumberOptions { parser?: "Number" | "parseFloat" | "parseInt"; radix?: number; } /** * Converts a boolean value to a number. * * @param input The value to convert. * @returns The number value of the input, or `null` if the input is not a boolean. */ export declare function booleanToNumber(input: unknown): number | null; /** * Converts a big integer value to a number. * * @param input The value to convert. * @returns The number value of the input, or `null` if the input is not a big integer. */ export declare function bigIntToNumber(input: unknown): number | null; /** * Converts a date value to a number. * * @param input The value to convert. * @returns The number value of the input, or `null` if the input is not a date. */ export declare function dateToNumber(input: unknown): number | null; /** * Converts a string value to a number. * * @param input The value to convert. * @param options The options to use. * @returns The number value of the input, or `null` if the input is not a string. */ export declare function stringToNumber(input: unknown, options?: ToNumberOptions): number | null; /** * Converts the input to a number. * * @param input The value to convert. * @param options The options to use. * @returns The number value of the input, or `null` if the input is not a number. * * @remarks * Supported input types: * - `boolean` - `true` is `1`, `false` is `0`. * - `bigint` - Converted to a number. * - `Date` - Converted to a number. * - `string` - Converted to a number using `Number`, `parseFloat`, or `parseInt`. */ export declare function toNumber(input: unknown, options?: ToNumberOptions): number | null;