import type { ToNumberOptions } from "../number/coerce"; export interface ToIntegerOptions extends ToNumberOptions { strategy?: "round" | "floor" | "ceil"; } /** * Converts a boolean value to an integer. * * @param input The value to convert. * @returns The integer value of the input, or `null` if the input is not a boolean. */ export declare function booleanToInteger(input: unknown): number | null; /** * Converts a big integer value to an integer. * * @param input The value to convert. * @returns The integer value of the input, or `null` if the input is not a big integer. */ export declare function bigIntToInteger(input: unknown): number | null; /** * Converts a date value to an integer. * * @param input The value to convert. * @returns The integer value of the input, or `null` if the input is not a date. */ export declare function dateToInteger(input: unknown): number | null; /** * Converts a string value to an integer. * * @param input The value to convert. * @param options The options to use. * @returns The integer value of the input, or `null` if the input is not a string. */ export declare function stringToInteger(input: unknown, options?: ToIntegerOptions): number | null;