import type { FunctionDefinition } from '../../definition_types'; /** * Converts an input value to an integer value. * If the input parameter is of a date type, its value will be interpreted as milliseconds * since the Unix epoch, converted to integer. * Boolean `true` will be converted to integer `1`, `false` to `0`. * * @example * ROW long = [5013792, 2147483647, 501379200000] * | EVAL int = TO_INTEGER(long) * * @example * ROW str1 = "0x32", str2 = "31" * | EVAL int1 = TO_INTEGER(str1, 16), int2 = TO_INTEGER(str2, 13) * | KEEP str1, int1, str2, int2 * * @example * ROW str1 = "Kona" * | EVAL int1 = TO_INTEGER(str1, 27), fail1 = TO_INTEGER(str1, 10) */ declare const definition: FunctionDefinition; export default definition; //# sourceMappingURL=to_integer.d.ts.map