import type { Int64 } from 'react-native-nitro-modules' export type DuckDBConfig = Record // Nitro variant — maps to std::variant> export type DuckDBValue = null | boolean | number | Int64 | string | ArrayBuffer export type DuckDBNamedParams = Record export interface NumericColumn { data: ArrayBuffer validity: ArrayBuffer dtype: string } export type ColumnData = NumericColumn | (string | null)[] export type BatchCommand = { query: string; params?: DuckDBValue[] } export type BatchResult = { rowsAffected: number } export type AttachOptions = { readOnly?: boolean; type?: string } export type CloseOptions = { force?: boolean } export type ConnectionInfo = { count: number; ids: string[] } export type StreamingOptions = { bufferSize?: number } export type AppenderOptions = { flushEvery?: number } export interface ExecuteOptions { onProgress?: (percentage: number) => void }