import type { DateValue, DecimalValue, IntervalValue, TimeTzValue, TimeValue, TimestampValue } from "./vector"; /** Create a tagged DuckDB DECIMAL value from a scaled decimal literal. */ export declare function decimalValue(value: string | number | bigint, width: number, scale: number): DecimalValue; /** Create a tagged DuckDB DATE value from days since 1970-01-01. */ export declare function dateValue(days: number): DateValue; /** Convert a JavaScript Date to a DuckDB DATE value using UTC date fields. */ export declare function dateFromJSDate(value: Date): DateValue; /** Create a DuckDB DATE value from an ISO `YYYY-MM-DD` string. */ export declare function dateFromISODate(value: string): DateValue; /** Convert a DuckDB DATE value to a JavaScript Date at UTC midnight. */ export declare function dateValueToJSDate(value: DateValue): Date; /** Create a tagged DuckDB TIME or TIME_NS value. */ export declare function timeValue(value: bigint | number | string, unit?: "micros" | "nanos"): TimeValue; /** Create a tagged DuckDB TIME WITH TIME ZONE value from DuckDB's packed bits. */ export declare function timeTzValue(bits: bigint | number | string): TimeTzValue; /** Create a tagged DuckDB TIMESTAMP value in the specified unit. */ export declare function timestampValue(value: bigint | number | string, unit?: "seconds" | "millis" | "micros" | "nanos", timezone?: "utc"): TimestampValue; /** Convert a JavaScript Date to a tagged DuckDB TIMESTAMP value. */ export declare function timestampFromJSDate(value: Date, unit?: "seconds" | "millis" | "micros" | "nanos", timezone?: "utc"): TimestampValue; /** Convert a tagged DuckDB TIMESTAMP value to a JavaScript Date. */ export declare function timestampValueToJSDate(value: TimestampValue): Date; /** Create a tagged DuckDB INTERVAL value. */ export declare function intervalValue(months?: number, days?: number, micros?: bigint | number | string): IntervalValue;