/** * Arrow → row conversion shared by every engine adapter. * * DuckDB returns Arrow tables; drizzle / consumers want plain row objects. * `toArray()` yields Arrow row proxies; `.toJSON()` materializes them, but * some Arrow versions skip `.toJSON` and yield plain objects already. */ interface ArrowTableLike { toArray: () => Array & { toJSON?: () => Record; }>; } declare function arrowToRows(result: unknown): Record[]; export { ArrowTableLike, arrowToRows };