omni-viewer-core 0.20.0 → 0.22.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (55) hide show
  1. package/README.md +100 -4
  2. package/dist/i18n/catalog.de.js +68 -0
  3. package/dist/i18n/catalog.en.js +74 -0
  4. package/dist/i18n/catalog.fr.js +68 -0
  5. package/dist/i18n/catalog.it.js +68 -0
  6. package/dist/i18n/catalog.ja.js +71 -0
  7. package/dist/i18n/catalog.ko.js +71 -0
  8. package/dist/i18n/catalog.th.js +68 -0
  9. package/dist/i18n/catalog.zh-cn.js +71 -0
  10. package/dist/i18n/catalog.zh-tw.js +72 -0
  11. package/dist/parsers/arrow/index.d.ts +46 -0
  12. package/dist/parsers/arrow/index.js +384 -0
  13. package/dist/parsers/arrow/lz4.d.ts +6 -0
  14. package/dist/parsers/arrow/lz4.js +115 -0
  15. package/dist/parsers/arrow/self-loading.d.ts +6 -0
  16. package/dist/parsers/arrow/self-loading.js +47 -0
  17. package/dist/parsers/arrow/sniff.d.ts +2 -0
  18. package/dist/parsers/arrow/sniff.js +25 -0
  19. package/dist/parsers/font/index.d.ts +38 -0
  20. package/dist/parsers/font/index.js +253 -0
  21. package/dist/parsers/geojson/index.d.ts +49 -0
  22. package/dist/parsers/geojson/index.js +167 -0
  23. package/dist/parsers/json/index.d.ts +2 -0
  24. package/dist/parsers/json/index.js +12 -1
  25. package/dist/parsers/json/parse.d.ts +2 -0
  26. package/dist/parsers/json/parse.js +11 -7
  27. package/dist/registry/index.d.ts +7 -1
  28. package/dist/registry/index.js +27 -2
  29. package/dist/registry/sniff.d.ts +5 -1
  30. package/dist/registry/sniff.js +34 -0
  31. package/dist/styles/arrow.css +9 -0
  32. package/dist/styles/font.css +15 -0
  33. package/dist/styles/geojson.css +30 -0
  34. package/dist/styles/html.css +15 -0
  35. package/dist/viewers/arrow/controller.d.ts +38 -0
  36. package/dist/viewers/arrow/controller.js +81 -0
  37. package/dist/viewers/arrow/index.d.ts +27 -0
  38. package/dist/viewers/arrow/index.js +215 -0
  39. package/dist/viewers/arrow/self-loading.d.ts +4 -0
  40. package/dist/viewers/arrow/self-loading.js +31 -0
  41. package/dist/viewers/arrow/styles.d.ts +1 -0
  42. package/dist/viewers/arrow/styles.js +10 -0
  43. package/dist/viewers/font/index.d.ts +22 -0
  44. package/dist/viewers/font/index.js +204 -0
  45. package/dist/viewers/font/styles.d.ts +1 -0
  46. package/dist/viewers/font/styles.js +16 -0
  47. package/dist/viewers/geojson/index.d.ts +19 -0
  48. package/dist/viewers/geojson/index.js +388 -0
  49. package/dist/viewers/geojson/styles.d.ts +2 -0
  50. package/dist/viewers/geojson/styles.js +32 -0
  51. package/dist/viewers/html/index.d.ts +19 -0
  52. package/dist/viewers/html/index.js +254 -0
  53. package/dist/viewers/html/styles.d.ts +1 -0
  54. package/dist/viewers/html/styles.js +16 -0
  55. package/package.json +47 -1
@@ -1,6 +1,74 @@
1
1
  // Thai messages owned by core. Missing keys intentionally fall back to the
2
2
  // English source catalog in i18n/index.ts.
3
3
  export const CATALOG_TH = {
4
+ "font.fallback": "อักขระที่ไม่มีในแบบอักษรนี้จะแสดงด้วยแบบอักษรสำรอง",
5
+ "font.title": "แบบอักษร",
6
+ "font.format": "รูปแบบ",
7
+ "font.family": "ตระกูลแบบอักษร",
8
+ "font.style": "ลักษณะ",
9
+ "font.postScriptName": "ชื่อ PostScript",
10
+ "font.version": "เวอร์ชัน",
11
+ "font.glyphCount": "จำนวนไกลฟ์",
12
+ "font.unitsPerEm": "หน่วยต่อ em",
13
+ "font.weight": "น้ำหนัก",
14
+ "font.copyright": "ลิขสิทธิ์",
15
+ "font.license": "สัญญาอนุญาต",
16
+ "font.sample": "ข้อความตัวอย่าง",
17
+ "font.defaultSample": "เป็นมนุษย์สุดประเสริฐเลิศคุณค่า\nThe quick brown fox jumps over the lazy dog.\nABCDEFGHIJKLMNOPQRSTUVWXYZ 0123456789",
18
+ "font.size": "ขนาดแบบอักษร",
19
+ "font.characters": "รายการอักขระ",
20
+ "font.search": "ค้นหาอักขระหรือ Unicode (U+0041)",
21
+ "font.previous": "ก่อนหน้า",
22
+ "font.next": "ถัดไป",
23
+ "font.page": "หน้า {page} / {pages} · {count} อักขระ",
24
+ "font.glyph": "{code} · ไกลฟ์ {index}",
25
+ "font.empty": "ไม่พบอักขระที่ตรงกัน",
26
+ "font.unavailable": "ไม่สามารถแสดงผลแบบอักษรได้ แสดงข้อมูลเมตาแทน",
27
+ "diag.font.invalid": "ไม่รองรับรูปแบบแบบอักษรนี้ โปรดใช้ TTF, OTF หรือ WOFF",
28
+ "diag.font.corrupted": "ข้อมูลแบบอักษรไม่ครบถ้วนหรือเสียหาย",
29
+ "diag.font.limit": "การวิเคราะห์แบบอักษรเกินขีดจำกัดทรัพยากร",
30
+ "diag.font.decompression": "การอ่านตาราง WOFF ที่บีบอัดต้องรองรับ DecompressionStream",
31
+ "diag.font.cmap": "ไม่มีตารางจับคู่อักขระที่รองรับ",
32
+ "diag.font.preview": "ตัวอย่างอักขระถึงขีดจำกัดแล้ว การค้นหาจะใช้กับอักขระในตัวอย่างเท่านั้น",
33
+ "arrow.title": "Arrow / Feather V2",
34
+ "arrow.summary": "{rows} แถว · {columns} คอลัมน์ · {batches} ชุดระเบียน",
35
+ "arrow.search": "ค้นหาแถวตัวอย่าง",
36
+ "arrow.table": "ตาราง",
37
+ "arrow.schema": "สคีมา",
38
+ "arrow.raw": "JSON",
39
+ "arrow.copyTable": "คัดลอกตาราง",
40
+ "arrow.copyJson": "คัดลอก JSON",
41
+ "arrow.exportJson": "ส่งออก JSON",
42
+ "arrow.pageSize": "จำนวนแถวต่อหน้า",
43
+ "arrow.matches": "{matched} / {loaded} แถวตัวอย่าง",
44
+ "arrow.empty": "ไม่มีแถวตัวอย่าง",
45
+ "arrow.noMatches": "ไม่พบแถวที่ตรงกัน",
46
+ "arrow.actionFailed": "ดำเนินการไม่สำเร็จ โปรดลองอีกครั้ง",
47
+ "diag.arrow.invalid": "ไฟล์หรือสตรีม Arrow IPC ไม่ถูกต้อง",
48
+ "diag.arrow.corrupted": "ข้อมูล Arrow IPC ถูกตัดหรือเสียหาย",
49
+ "diag.arrow.featherV1": "ไม่รองรับ Feather V1 โปรดบันทึกเป็น Feather V2 (Arrow IPC)",
50
+ "diag.arrow.dependency": "ติดตั้ง apache-arrow ซึ่งเป็นส่วนเสริมเพื่ออ่านไฟล์ Arrow IPC",
51
+ "diag.arrow.compression": "Arrow IPC ที่บีบอัดต้องใช้ตัวถอดรหัส LZ4/ZSTD โปรดติดตั้ง lz4js และ fzstd หรือส่งตัวถอดรหัสเข้ามา",
52
+ "diag.arrow.limit": "การแยกวิเคราะห์ Arrow IPC เกินขีดจำกัดทรัพยากร",
53
+ "diag.arrow.preview": "แสดง {loaded} / {total} แถวภายในขีดจำกัดตัวอย่าง การค้นหา คัดลอก และส่งออกใช้กับแถวตัวอย่างเหล่านี้",
54
+ "geojson.title": "GeoJSON",
55
+ "geojson.propertiesTruncated": "คุณสมบัติบางส่วนถูกตัดทอนสำหรับการแสดงตัวอย่างนี้",
56
+ "geojson.summary": "{features} ฟีเจอร์ · {vertices} จุดยอด · WGS84",
57
+ "geojson.features": "ฟีเจอร์",
58
+ "geojson.feature": "ฟีเจอร์ {id}",
59
+ "geojson.map": "แผนที่ GeoJSON",
60
+ "geojson.hint": "เลื่อนเพื่อซูม ลากเพื่อเลื่อนแผนที่ แป้นพิมพ์: +/− เพื่อซูม ลูกศรเพื่อเลื่อน 0 เพื่อแสดงทั้งหมด",
61
+ "geojson.empty": "ไม่มีรูปทรงให้แสดง",
62
+ "geojson.properties": "คุณสมบัติ",
63
+ "geojson.noSelection": "เลือกฟีเจอร์",
64
+ "geojson.noProperties": "ฟีเจอร์นี้ไม่มีคุณสมบัติ",
65
+ "geojson.zoomIn": "ซูมเข้า",
66
+ "geojson.zoomOut": "ซูมออก",
67
+ "geojson.reset": "แสดงทั้งหมด",
68
+ "diag.geojson.invalid": "เอกสาร GeoJSON ไม่ถูกต้อง",
69
+ "diag.geojson.geometry": "ข้ามฟีเจอร์ {index} เนื่องจากรูปทรงหรือข้อมูลเมตาไม่ถูกต้อง",
70
+ "diag.geojson.limit": "การแสดงตัวอย่าง GeoJSON ถึงขีดจำกัดทรัพยากรแล้ว บางฟีเจอร์อาจถูกละไว้",
71
+ "diag.geojson.crs": "ไม่ใช้ข้อมูลเมตา CRS แบบเก่า พิกัดจะถูกตีความเป็นลองจิจูด/ละติจูด WGS84",
4
72
  'audio.title': 'เสียง', 'video.title': 'วิดีโอ', 'dbc.title': 'ฐานข้อมูล CAN',
5
73
  'audio.play': 'เล่น', 'audio.pause': 'หยุดชั่วคราว', 'audio.stop': 'หยุด',
6
74
  'audio.volume': 'ระดับเสียง',
@@ -1,5 +1,73 @@
1
1
  // Simplified Chinese messages owned by core. Keep the key set aligned with CATALOG_EN.
2
2
  export const CATALOG_ZH_CN = {
3
+ "font.fallback": "此字体不包含的字符将使用备用字体显示。",
4
+ "font.title": "字体",
5
+ "font.format": "格式",
6
+ "font.family": "字体族",
7
+ "font.style": "样式",
8
+ "font.postScriptName": "PostScript 名称",
9
+ "font.version": "版本",
10
+ "font.glyphCount": "字形数",
11
+ "font.unitsPerEm": "每 em 单位数",
12
+ "font.weight": "字重",
13
+ "font.copyright": "版权",
14
+ "font.license": "许可证",
15
+ "font.sample": "示例文本",
16
+ "font.defaultSample": "天地玄黄,宇宙洪荒。\nThe quick brown fox jumps over the lazy dog.\nABCDEFGHIJKLMNOPQRSTUVWXYZ 0123456789",
17
+ "font.size": "字号",
18
+ "font.characters": "字符列表",
19
+ "font.search": "搜索字符或 Unicode (U+0041)",
20
+ "font.previous": "上一页",
21
+ "font.next": "下一页",
22
+ "font.page": "第 {page} / {pages} 页 · {count} 个字符",
23
+ "font.glyph": "{code} · 字形 {index}",
24
+ "font.empty": "没有匹配的字符。",
25
+ "font.unavailable": "无法渲染字体。显示字体元数据。",
26
+ "diag.font.invalid": "不支持的字体格式。请使用 TTF、OTF 或 WOFF。",
27
+ "diag.font.corrupted": "字体数据不完整或已损坏。",
28
+ "diag.font.limit": "字体解析超出资源限制。",
29
+ "diag.font.decompression": "读取压缩的 WOFF 表需要支持 DecompressionStream。",
30
+ "diag.font.cmap": "没有支持的字符映射。",
31
+ "diag.font.preview": "字符预览已达到限制。搜索仅适用于预览字符。",
32
+ "arrow.title": "Arrow / Feather V2",
33
+ "arrow.summary": "{rows} 行 · {columns} 列 · {batches} 个记录批次",
34
+ "arrow.search": "搜索预览行",
35
+ "arrow.table": "表格",
36
+ "arrow.schema": "架构",
37
+ "arrow.raw": "JSON",
38
+ "arrow.copyTable": "复制表格",
39
+ "arrow.copyJson": "复制 JSON",
40
+ "arrow.exportJson": "导出 JSON",
41
+ "arrow.pageSize": "每页行数",
42
+ "arrow.matches": "预览 {loaded} 行中的 {matched} 行",
43
+ "arrow.empty": "没有可预览的行。",
44
+ "arrow.noMatches": "没有匹配的行。",
45
+ "arrow.actionFailed": "操作失败,请重试。",
46
+ "diag.arrow.invalid": "无效的 Arrow IPC 文件或流。",
47
+ "diag.arrow.corrupted": "Arrow IPC 数据已截断或损坏。",
48
+ "diag.arrow.featherV1": "不支持 Feather V1。请另存为 Feather V2(Arrow IPC)。",
49
+ "diag.arrow.dependency": "请安装可选依赖 apache-arrow 以读取 Arrow IPC 文件。",
50
+ "diag.arrow.compression": "压缩的 Arrow IPC 需要 LZ4/ZSTD 解码器。请安装 lz4js 和 fzstd,或注入解码器。",
51
+ "diag.arrow.limit": "Arrow IPC 解析超出了资源限制。",
52
+ "diag.arrow.preview": "在预览限制内显示 {total} 行中的 {loaded} 行。搜索、复制和导出仅适用于这些预览行。",
53
+ "geojson.title": "GeoJSON",
54
+ "geojson.propertiesTruncated": "部分属性已超出预览限制而被省略。",
55
+ "geojson.summary": "{features} 个要素 · {vertices} 个顶点 · WGS84",
56
+ "geojson.features": "要素",
57
+ "geojson.feature": "要素 {id}",
58
+ "geojson.map": "GeoJSON 地图",
59
+ "geojson.hint": "滚动缩放,拖动平移。键盘:+/− 缩放,方向键平移,0 显示全图。",
60
+ "geojson.empty": "没有可显示的几何图形。",
61
+ "geojson.properties": "属性",
62
+ "geojson.noSelection": "选择要素",
63
+ "geojson.noProperties": "此要素没有属性。",
64
+ "geojson.zoomIn": "放大",
65
+ "geojson.zoomOut": "缩小",
66
+ "geojson.reset": "显示全图",
67
+ "diag.geojson.invalid": "无效的 GeoJSON 文档。",
68
+ "diag.geojson.geometry": "要素 {index} 的几何图形或元数据无效,已跳过。",
69
+ "diag.geojson.limit": "GeoJSON 预览已达到资源限制,部分要素可能被省略。",
70
+ "diag.geojson.crs": "不应用旧版 CRS 元数据。坐标按 WGS84 经度和纬度解释。",
3
71
  'notebook.title': 'Jupyter Notebook',
4
72
  'notebook.summary': '{cells} / {total} 个单元格 · {outputs} 项输出 · {errors} 个错误',
5
73
  'notebook.savedOutputs': '已保存的结果 · 仅显示代码,不执行。',
@@ -1042,6 +1110,9 @@ export const CATALOG_ZH_CN = {
1042
1110
  'image.tool.detectSprites': '检测精灵图', 'image.tool.detectSprites.unavailable': '此平台无法检测精灵图',
1043
1111
  'image.spriteDetection.working': '正在检测精灵图…', 'image.spriteDetection.failed': '精灵图检测失败。',
1044
1112
  'image.saveAsPng': '另存为 PNG', 'image.saveAsPng.note': '编辑后的图像将保存为 PNG(.png)。',
1113
+ 'html.title': 'HTML', 'html.preview': '预览', 'html.source': '源代码',
1114
+ 'html.tooLarge': '文件超过 {limit} 字节,无法预览。正在显示源代码的开头部分。',
1115
+ 'html.tooComplex': '文档过于复杂,无法安全预览。正在显示源代码。',
1045
1116
  'fallback.title.text': '文本预览', 'fallback.title.hex': '十六进制预览',
1046
1117
  'fallback.truncated': '预览已截断,仅显示前 {bytes} 字节。',
1047
1118
  'fallback.reason.missing-dependency': '此平台无法加载完整查看器。',
@@ -24,6 +24,35 @@ const TAIWAN_TERMS = [
24
24
  ['屏幕', '螢幕'], ['网络', '網路'], ['信息', '資訊']
25
25
  ];
26
26
  const TRADITIONAL_CHARS = {
27
+ "font.fallback": "此字型未包含的字元會使用替代字型顯示。",
28
+ "font.title": "字型",
29
+ "font.format": "格式",
30
+ "font.family": "字型家族",
31
+ "font.style": "樣式",
32
+ "font.postScriptName": "PostScript 名稱",
33
+ "font.version": "版本",
34
+ "font.glyphCount": "字形數",
35
+ "font.unitsPerEm": "每 em 單位數",
36
+ "font.weight": "字重",
37
+ "font.copyright": "版權",
38
+ "font.license": "授權",
39
+ "font.sample": "範例文字",
40
+ "font.defaultSample": "天地玄黃,宇宙洪荒。\nThe quick brown fox jumps over the lazy dog.\nABCDEFGHIJKLMNOPQRSTUVWXYZ 0123456789",
41
+ "font.size": "字級",
42
+ "font.characters": "字元列表",
43
+ "font.search": "搜尋字元或 Unicode (U+0041)",
44
+ "font.previous": "上一頁",
45
+ "font.next": "下一頁",
46
+ "font.page": "第 {page} / {pages} 頁 · {count} 個字元",
47
+ "font.glyph": "{code} · 字形 {index}",
48
+ "font.empty": "沒有符合的字元。",
49
+ "font.unavailable": "無法繪製字型。顯示字型中繼資料。",
50
+ "diag.font.invalid": "不支援的字型格式。請使用 TTF、OTF 或 WOFF。",
51
+ "diag.font.corrupted": "字型資料不完整或已損毀。",
52
+ "diag.font.limit": "字型解析超出資源限制。",
53
+ "diag.font.decompression": "讀取壓縮的 WOFF 表需要支援 DecompressionStream。",
54
+ "diag.font.cmap": "沒有支援的字元對應表。",
55
+ "diag.font.preview": "字元預覽已達上限。搜尋僅適用於預覽字元。",
27
56
  '频': '頻', '暂': '暫', '选': '選', '区': '區', '缩': '縮', '视': '視', '图': '圖', '谱': '譜', '时': '時', '长': '長',
28
57
  '声': '聲', '码': '碼', '浏': '瀏', '览': '覽', '无': '無', '编': '編', '请': '請', '转': '轉', '换': '換', '过': '過',
29
58
  '数': '數', '库': '庫', '志': '誌', '获': '獲', '属': '屬', '击': '擊', '记': '記', '录': '錄', '读': '讀', '标': '標',
@@ -50,3 +79,46 @@ function toTraditionalTaiwan(value) {
50
79
  return Array.from(localized, (char) => TRADITIONAL_CHARS[char] ?? char).join('');
51
80
  }
52
81
  export const CATALOG_ZH_TW = Object.fromEntries(Object.entries(CATALOG_ZH_CN).map(([key, value]) => [key, toTraditionalTaiwan(value)]));
82
+ Object.assign(CATALOG_ZH_TW, {
83
+ "geojson.title": "GeoJSON",
84
+ "geojson.propertiesTruncated": "部分屬性超過預覽限制而被省略。",
85
+ "geojson.summary": "{features} 個圖徵 · {vertices} 個頂點 · WGS84",
86
+ "geojson.features": "圖徵",
87
+ "geojson.feature": "圖徵 {id}",
88
+ "geojson.map": "GeoJSON 地圖",
89
+ "geojson.hint": "捲動縮放,拖曳平移。鍵盤:+/− 縮放,方向鍵平移,0 顯示全圖。",
90
+ "geojson.empty": "沒有可顯示的幾何圖形。",
91
+ "geojson.properties": "屬性",
92
+ "geojson.noSelection": "選擇圖徵",
93
+ "geojson.noProperties": "此圖徵沒有屬性。",
94
+ "geojson.zoomIn": "放大",
95
+ "geojson.zoomOut": "縮小",
96
+ "geojson.reset": "顯示全圖",
97
+ "diag.geojson.invalid": "無效的 GeoJSON 文件。",
98
+ "diag.geojson.geometry": "圖徵 {index} 的幾何圖形或中繼資料無效,已略過。",
99
+ "diag.geojson.limit": "GeoJSON 預覽已達資源限制,部分圖徵可能被省略。",
100
+ "diag.geojson.crs": "不套用舊版 CRS 中繼資料。座標以 WGS84 經度和緯度解讀。",
101
+ });
102
+ Object.assign(CATALOG_ZH_TW, {
103
+ "arrow.title": "Arrow / Feather V2",
104
+ "arrow.summary": "{rows} 列 · {columns} 欄 · {batches} 個記錄批次",
105
+ "arrow.search": "搜尋預覽列",
106
+ "arrow.table": "表格",
107
+ "arrow.schema": "結構描述",
108
+ "arrow.raw": "JSON",
109
+ "arrow.copyTable": "複製表格",
110
+ "arrow.copyJson": "複製 JSON",
111
+ "arrow.exportJson": "匯出 JSON",
112
+ "arrow.pageSize": "每頁列數",
113
+ "arrow.matches": "預覽 {loaded} 列中的 {matched} 列",
114
+ "arrow.empty": "沒有可預覽的列。",
115
+ "arrow.noMatches": "沒有符合的列。",
116
+ "arrow.actionFailed": "操作失敗,請重試。",
117
+ "diag.arrow.invalid": "無效的 Arrow IPC 檔案或串流。",
118
+ "diag.arrow.corrupted": "Arrow IPC 資料已截斷或損毀。",
119
+ "diag.arrow.featherV1": "不支援 Feather V1。請另存為 Feather V2(Arrow IPC)。",
120
+ "diag.arrow.dependency": "請安裝選用相依套件 apache-arrow 以讀取 Arrow IPC 檔案。",
121
+ "diag.arrow.compression": "壓縮的 Arrow IPC 需要 LZ4/ZSTD 解碼器。請安裝 lz4js 和 fzstd,或注入解碼器。",
122
+ "diag.arrow.limit": "Arrow IPC 解析超出了資源限制。",
123
+ "diag.arrow.preview": "在預覽限制內顯示 {total} 列中的 {loaded} 列。搜尋、複製與匯出僅適用於這些預覽列。",
124
+ });
@@ -0,0 +1,46 @@
1
+ import type * as Arrow from 'apache-arrow';
2
+ import { type ParseOptions, type ParseOutcome } from '../types.js';
3
+ export declare const ARROW_INPUT_OWNERSHIP: "borrows";
4
+ export declare const ARROW_PREVIEW_ROWS = 10000;
5
+ export declare const ARROW_MAGIC_PREFIX: readonly [65, 82, 82, 79, 87, 49];
6
+ export type ArrowCell = null | boolean | number | string | ArrowCell[] | {
7
+ [key: string]: ArrowCell;
8
+ };
9
+ export interface ArrowField {
10
+ name: string;
11
+ type: string;
12
+ nullable: boolean;
13
+ metadata: Record<string, string>;
14
+ children: ArrowField[];
15
+ }
16
+ export interface ArrowDocument {
17
+ format: 'file' | 'stream';
18
+ headers: string[];
19
+ fields: ArrowField[];
20
+ metadata: Record<string, string>;
21
+ rows: ArrowCell[][];
22
+ totalRows: number;
23
+ loadedRows: number;
24
+ recordBatches: number;
25
+ compression: Array<'LZ4' | 'ZSTD'>;
26
+ fileSizeBytes: number;
27
+ isLimited: boolean;
28
+ }
29
+ /** The base entry has no runtime dependency imports (ADR 14). */
30
+ export interface ArrowParseDeps {
31
+ arrow: typeof Arrow;
32
+ /** Decode one IPC buffer into exactly expectedBytes bytes. */
33
+ decompressLz4?: (data: Uint8Array, expectedBytes: number) => Uint8Array;
34
+ decompressZstd?: (data: Uint8Array, expectedBytes: number) => Uint8Array;
35
+ }
36
+ export interface ArrowParseOptions extends ParseOptions {
37
+ previewRows?: number;
38
+ maxColumns?: number;
39
+ maxDepth?: number;
40
+ /** Includes nested values and binary bytes (default 1,000,000). */
41
+ maxCells?: number;
42
+ /** Cumulative serialized preview budget, default 16 MiB. */
43
+ maxPreviewBytes?: number;
44
+ }
45
+ /** Arrow IPC file/stream and Feather V2. Input failures are ParseResults. */
46
+ export declare function parseArrow(input: Uint8Array, deps: ArrowParseDeps, options?: ArrowParseOptions): ParseOutcome<ArrowDocument>;