import type { FunctionDefinition } from '../../definition_types'; /** * Converts the input value to a long. * If the input parameter is of a date type, its value will be interpreted as milliseconds * since the Unix epoch, converted to long. * Boolean `true` will be converted to long `1`, `false` to `0`. * * @example * ROW str1 = "2147483648", str2 = "2147483648.2", str3 = "foo" * | EVAL long1 = TO_LONG(str1), long2 = TO_LONG(str2), long3 = TO_LONG(str3) * * @example * ROW str1 = "0x32", str2 = "31" * | EVAL long1 = TO_LONG(str1, 16), long2 = TO_LONG(str2, 13) * | KEEP str1, long1, str2, long2 * * @example * ROW str1 = "Hazelnut" * | EVAL long1 = TO_LONG(str1, 36), fail1 = TO_LONG(str1, 10) */ declare const definition: FunctionDefinition; export default definition; //# sourceMappingURL=to_long.d.ts.map