{ "formatVersion": 1, "entrypoints": { "./cell": { "types": "./dist/cell/index.d.ts", "import": "./dist/cell.mjs" }, "./chart": { "types": "./dist/chart/index.d.ts", "import": "./dist/chart.mjs" }, "./chartsheet": { "types": "./dist/chartsheet/index.d.ts", "import": "./dist/chartsheet.mjs" }, "./drawing": { "types": "./dist/drawing/index.d.ts", "import": "./dist/drawing.mjs" }, "./io": { "types": "./dist/io/index.d.ts", "import": "./dist/io.mjs" }, "./node": { "types": "./dist/node.d.ts", "import": "./dist/node.mjs" }, "./packaging": { "types": "./dist/packaging/index.d.ts", "import": "./dist/packaging.mjs" }, "./schema": { "types": "./dist/schema/index.d.ts", "import": "./dist/schema.mjs" }, "./streaming": { "types": "./dist/streaming/index.d.ts", "import": "./dist/streaming.mjs" }, "./styles": { "types": "./dist/styles/index.d.ts", "import": "./dist/styles.mjs" }, "./utils": { "types": "./dist/utils/index.d.ts", "import": "./dist/utils.mjs" }, "./workbook": { "types": "./dist/workbook/index.d.ts", "import": "./dist/workbook.mjs" }, "./worksheet": { "types": "./dist/worksheet/index.d.ts", "import": "./dist/worksheet.mjs" }, "./xml": { "types": "./dist/xml/index.d.ts", "import": "./dist/xml.mjs" }, "./zip": { "types": "./dist/zip/index.d.ts", "import": "./dist/zip.mjs" } }, "exports": { "./cell": [ "Cell", "CellValue", "CellValueAsStringOptions", "DataTableFormulaOpts", "ExcelErrorCode", "FormulaKind", "FormulaValue", "InlineFont", "InlineUnderline", "InlineVertAlign", "MergedCell", "RichText", "TextRun", "bindValue", "cellValueAsBoolean", "cellValueAsDate", "cellValueAsNumber", "cellValueAsPrimitive", "cellValueAsString", "getCachedFormulaValue", "getCoordinate", "getFormulaText", "isDurationValue", "isEmptyCell", "isErrorCell", "isErrorValue", "isFormulaCell", "isFormulaValue", "isMergedCell", "isRichTextCell", "isRichTextValue", "makeArrayFormula", "makeCell", "makeDataTableFormula", "makeDurationValue", "makeErrorValue", "makeFormula", "makeRichText", "makeSharedFormula", "makeTextRun", "richTextToString", "setArrayFormula", "setCellValue", "setDataTableFormula", "setFormula", "setSharedFormula" ], "./chart": [ "Area3DChart", "AreaChart", "AxisCrossBetween", "AxisCrosses", "AxisOrientation", "AxisScaling", "Bar3DChart", "BarChart", "BarDirection", "BarFrame", "BarSeries", "BubbleChart", "BubbleSeries", "BubbleSizeRepresents", "CategoryAxis", "CategoryLabelAlignment", "CategoryRef", "ChartDrawing", "ChartDrawingPicture", "ChartDrawingShape", "ChartKind", "ChartNumberFormat", "ChartRelativeMarker", "ChartSpace", "ChartTitle", "CxAxis", "CxChart", "CxChartData", "CxChartSpace", "CxData", "CxDataLabelPos", "CxDataLabels", "CxDim", "CxExternalData", "CxLayoutId", "CxLayoutPr", "CxLegend", "CxNumDim", "CxPlotArea", "CxPoint", "CxSeries", "CxStrDim", "CxTitle", "DataLabel", "DataLabelList", "DataLabelPosition", "DataPoint", "DateAxis", "DoughnutChart", "ErrorBarDirection", "ErrorBarType", "ErrorBars", "ErrorValType", "Gridlines", "GroupingType", "HiLowLines", "Layout", "LayoutMode", "LayoutTarget", "Legend", "LegendEntry", "LegendPosition", "Line3DChart", "LineChart", "LineSeries", "ManualLayout", "Marker", "MarkerSymbol", "NumericRef", "OfPieChart", "OfPieType", "Pie3DChart", "PieChart", "PlotArea", "RadarChart", "RadarStyle", "ScatterChart", "ScatterSeries", "ScatterStyle", "SeriesAxis", "SplitType", "StockChart", "Surface3DChart", "SurfaceChart", "SurfaceFrame", "TickLabelPosition", "TickMark", "TimeUnit", "Trendline", "TrendlineType", "UpDownBars", "UserShapeAnchor", "UserShapeContent", "ValueAxis", "View3D", "makeAbsSizeAnchor", "makeArea3DChart", "makeAreaChart", "makeBar3DChart", "makeBarChart", "makeBarSeries", "makeBoxWhiskerChart", "makeBubbleChart", "makeBubbleSeries", "makeChartDrawing", "makeChartShape", "makeChartSpace", "makeCxAxis", "makeCxChartSpace", "makeCxData", "makeCxNumDim", "makeCxSeries", "makeCxStrDim", "makeDoughnutChart", "makeFunnelChart", "makeHistogramChart", "makeLine3DChart", "makeLineChart", "makeOfPieChart", "makeParetoChart", "makePie3DChart", "makePieChart", "makeRadarChart", "makeRegionMapChart", "makeRelSizeAnchor", "makeScatterChart", "makeScatterSeries", "makeStockChart", "makeSunburstChart", "makeSurface3DChart", "makeSurfaceChart", "makeTreemapChart", "makeWaterfallChart" ], "./chartsheet": [ "Chartsheet", "ChartsheetCustomSheetView", "ChartsheetDrawingHF", "ChartsheetProperties", "ChartsheetProtection", "ChartsheetView", "makeChartsheet", "makeChartsheetCustomSheetView" ], "./drawing": [ "AnchorMarker", "AutoFit", "BlackWhiteMode", "Blip", "BlipEffect", "BulletProperties", "ChartReference", "ColorMod", "CustomGeometry", "DmlColor", "DmlColorWithMods", "Drawing", "DrawingAnchor", "DrawingItem", "Fill", "FontAlign", "Geometry", "GradientLineDir", "GradientStop", "HyperlinkInfo", "LineEnd", "LineEndType", "LineProperties", "PRESET_PATTERN_NAMES", "PRESET_SHAPE_NAMES", "ParagraphAlign", "ParagraphProperties", "PictureReference", "Point2D", "PositiveSize2D", "PresetDash", "PresetGeometry", "RelativeRect", "RunProperties", "SCHEME_COLOR_NAMES", "SchemeColorName", "ShapeProperties", "ShapeReference", "ShapeStyle", "ShapeStyleMatrixRef", "TabStop", "TextAnchor", "TextBody", "TextBodyProperties", "TextCap", "TextFont", "TextHorzOverflow", "TextListStyle", "TextOverflow", "TextParagraph", "TextRun", "TextSpacing", "TextStrike", "TextUnderline", "TextVertical", "TextWrap", "TileFill", "TileFlip", "Transform2D", "VALUED_COLOR_MOD_KINDS", "VALUELESS_COLOR_MOD_KINDS", "XlsxImage", "XlsxImageFormat", "addChartAt", "addImageAt", "listChartsOnSheet", "listImagesOnSheet", "loadImage", "makeBreak", "makeChartDrawingItem", "makeColor", "makeDrawing", "makeGradientFill", "makeLine", "makeNoFill", "makeOneCellAnchor", "makeParagraph", "makePatternFill", "makePictureDrawingItem", "makePresetGeometry", "makeRun", "makeRunProperties", "makeSchemeColor", "makeShapeDrawingItem", "makeShapeProperties", "makeSimpleTextBody", "makeSolidFill", "makeSrgbColor", "makeTextBody", "removeAllCharts", "removeAllDrawingItems", "removeAllImages" ], "./io": [ "BufferedSinkWriter", "LoadOptions", "SaveOptions", "XlsxSink", "XlsxSource", "fromArrayBuffer", "fromBlob", "fromResponse", "fromStream", "loadWorkbook", "saveWorkbook", "toArrayBuffer", "toBlob", "workbookToBytes" ], "./node": [ "fromBuffer", "fromFile", "fromFileSync", "fromReadable", "toBuffer", "toFile", "toWritable", "workbookToBuffer" ], "./packaging": [ "CoreProperties", "CustomProperties", "CustomProperty", "DefaultEntry", "ExtendedProperties", "Manifest", "OverrideEntry", "Relationship", "Relationships", "addDefault", "addOverride", "appendCustomProperty", "appendRel", "corePropsFromBytes", "corePropsToBytes", "customPropsFromBytes", "customPropsToBytes", "extendedPropsFromBytes", "extendedPropsToBytes", "findAllByType", "findById", "findByType", "findCustomPropertyByName", "findOverride", "findOverrideByContentType", "getCustomPropertyValue", "listCustomProperties", "makeAsciiStringValue", "makeBoolValue", "makeCoreProperties", "makeCustomProperties", "makeDateValue", "makeDoubleValue", "makeExtendedProperties", "makeFiletimeValue", "makeIntValue", "makeManifest", "makeRelationships", "makeStringValue", "manifestFromBytes", "manifestToBytes", "readBoolValue", "readDoubleValue", "readFiletimeValue", "readIntValue", "readStringValue", "relsFromBytes", "relsToBytes", "removeCustomProperty", "setCustomBoolProperty", "setCustomDateProperty", "setCustomNumberProperty", "setCustomStringProperty", "setWorkbookAppVersion", "setWorkbookApplication", "setWorkbookCategory", "setWorkbookCompany", "setWorkbookCreator", "setWorkbookDescription", "setWorkbookHyperlinkBase", "setWorkbookKeywords", "setWorkbookLastModifiedBy", "setWorkbookManager", "setWorkbookSubject", "setWorkbookTitle" ], "./schema": [ "AttrDef", "ElementDef", "Primitive", "Schema", "defineSchema", "fromTree", "toTree" ], "./streaming": [ "IterRowsOptions", "LoadWorkbookStreamOptions", "ReadOnlyCell", "ReadOnlyWorkbook", "ReadOnlyWorksheet", "WriteOnlyOptions", "WriteOnlyRowItem", "WriteOnlyStyle", "WriteOnlyWorkbook", "WriteOnlyWorksheet", "createWriteOnlyWorkbook", "loadWorkbookStream" ], "./styles": [ "Alignment", "BUILTIN_FORMATS", "BUILTIN_FORMATS_MAX_SIZE", "BUILTIN_NAMED_STYLES", "Border", "CellStyleSpec", "CellXf", "Color", "DEFAULT_FONT", "DifferentialStyle", "FORMAT_DATE_DATETIME", "FORMAT_DATE_TIMEDELTA", "FORMAT_DATE_YYYYMMDD2", "FORMAT_GENERAL", "FORMAT_NUMBER", "FORMAT_NUMBER_00", "FORMAT_PERCENTAGE", "FORMAT_PERCENTAGE_00", "FORMAT_TEXT", "Fill", "Font", "FontPatch", "FontScheme", "GradientFill", "GradientFillType", "GradientStop", "HorizontalAlignment", "NamedStyle", "NumberFormat", "PatternFill", "PatternType", "Protection", "Side", "SideStyle", "Stylesheet", "StylesheetNamedStyle", "UnderlineStyle", "VertAlign", "VerticalAlignment", "addBorder", "addCellStyleXf", "addCellXf", "addDxf", "addFill", "addFont", "addNamedStyle", "addNumFmt", "adjustLightness", "adjustSaturation", "alignCellHorizontal", "alignCellVertical", "alignmentToCss", "applyBuiltinStyle", "applyNamedStyle", "borderToCss", "builtinFormatCode", "builtinFormatId", "cellStyleToCss", "centerCell", "classifyDateFormat", "clearCellBackground", "clearCellStyle", "clearRangeStyle", "cloneCellStyle", "colorToHex", "contrastRatio", "copyCellStyle", "darken", "defaultCellXf", "ensureBuiltinStyle", "fillToCss", "fontToCss", "formatAsHeader", "getCellAlignment", "getCellBorder", "getCellDate", "getCellDisplayText", "getCellFill", "getCellFont", "getCellNumberFormat", "getCellProtection", "hexToHsl", "hslToHex", "indentCell", "isBuiltinFormat", "isDateFormat", "isTimedeltaFormat", "lighten", "listBorders", "listCellStyleXfs", "listCellXfs", "listFills", "listFonts", "luminance", "makeAlignment", "makeBorder", "makeColor", "makeDifferentialStyle", "makeFill", "makeFont", "makeGradientFill", "makeGradientStop", "makeNumberFormat", "makePatternFill", "makeProtection", "makeSide", "makeStylesheet", "mixColors", "normaliseRgb", "patchCellFont", "pickReadableTextColor", "registerCellStyle", "resolveIndexedColor", "rgbColor", "rotateCellText", "rotateHue", "setBold", "setCellAlignment", "setCellAsCurrency", "setCellAsDate", "setCellAsNumber", "setCellAsPercent", "setCellBackgroundColor", "setCellBorder", "setCellBorderAll", "setCellFill", "setCellFont", "setCellNumberFormat", "setCellProtection", "setCellStyle", "setFontColor", "setFontName", "setFontSize", "setItalic", "setRangeAlignment", "setRangeBackgroundColor", "setRangeBorderBox", "setRangeFont", "setRangeNumberFormat", "setRangeProtection", "setRangeStyle", "setRangeWrapText", "setStrikethrough", "setUnderline", "wrapCellText" ], "./utils": [ "AbsoluteRefOptions", "CellCoordinate", "CellCoordinateNumeric", "CellDataType", "CellRangeBoundaries", "EMU_PER_CM", "EMU_PER_INCH", "EMU_PER_PIXEL", "EMU_PER_POINT", "ERROR_CODES", "ExcelEpoch", "MAC_EPOCH_MS", "MAX_CELL_TEXT_LENGTH", "MAX_COL", "MAX_ROW", "OpenXmlContentLimitError", "OpenXmlDecompressionBombError", "OpenXmlError", "OpenXmlErrorOptions", "OpenXmlInvalidWorkbookError", "OpenXmlIoError", "OpenXmlNotImplementedError", "OpenXmlSchemaError", "OpenXmlUnsupportedFormatError", "RangeRef", "UnsupportedFormat", "WINDOWS_EPOCH_MS", "boundariesToRangeString", "cmFromEmu", "columnIndexFromLetter", "columnLetterFromIndex", "coordinateFromString", "coordinateToTuple", "cssRecordToInlineStyle", "dateToExcel", "durationToExcel", "emuFromCm", "emuFromInch", "emuFromPoint", "emuFromPx", "escapeCellString", "excelToDate", "excelToDuration", "formatSheetQualifiedRef", "fromIso8601", "inchFromEmu", "inferCellType", "isValidCellRef", "isValidColumnLetter", "isValidColumnNumber", "isValidRangeRef", "isValidRowNumber", "parseSheetRange", "pixelToPoint", "pointFromEmu", "pointToPixel", "pxFromEmu", "rangeBoundaries", "toIso8601", "tupleToCoordinate", "unescapeCellString" ], "./workbook": [ "CalcMode", "CalcProperties", "CellSummary", "CustomViewShowComments", "CustomViewShowObjects", "CustomWorkbookView", "DefinedName", "DefinedNameTarget", "FileRecoveryProperties", "FileSharing", "FileVersion", "FunctionGroup", "FunctionGroups", "Person", "RefMode", "SharedStringEntry", "SharedStringsTable", "SheetRef", "SheetState", "ShowObjectsMode", "SmartTagProperties", "SmartTagShowMode", "SmartTagType", "UpdateLinksMode", "Workbook", "WorkbookOverview", "WorkbookProperties", "WorkbookProtection", "WorkbookSheetOverview", "WorkbookStats", "WorkbookView", "WorkbookViewVisibility", "addChartsheet", "addDefinedName", "addSharedString", "addWorksheet", "createWorkbook", "describeWorkbook", "getActiveSheet", "getCellAtAddress", "getCellSummary", "getChartsheet", "getDefinedName", "getDefinedNameTarget", "getSharedStringAt", "getSharedStringIndex", "getSheet", "getSheetByIndex", "getSheetState", "getWorkbookCellsByKind", "getWorkbookStats", "iterWorksheets", "listCustomXmlParts", "listDefinedNames", "makeCalcProperties", "makeCustomWorkbookView", "makeDefinedName", "makeFileRecoveryProperties", "makeFileSharing", "makeFileVersion", "makeFunctionGroup", "makeFunctionGroups", "makePerson", "makeSharedStrings", "makeSmartTagProperties", "makeSmartTagType", "makeWorkbookProperties", "makeWorkbookProtection", "makeWorkbookView", "moveSheet", "removeDefinedName", "removeSheet", "renameSheet", "setActiveSheet", "setCalcMode", "setCalcOnSave", "setCellAtAddress", "setFullCalcOnLoad", "setFullPrecision", "setIterativeCalc", "setSheetState", "sharedStringCount", "sheetNames" ], "./worksheet": [ "AddPivotTableOptions", "AppendRowOptions", "AutoFilter", "CellCommentMode", "CellIsOperator", "CellSmartTag", "CellSmartTagProperty", "CellSmartTags", "CellWatch", "CellsByKindCounts", "Cfvo", "CfvoType", "ColumnDimension", "ConditionalFormatting", "ConditionalFormattingRule", "ConditionalFormattingRuleType", "ContentLimits", "CustomFilterCondition", "CustomSheetView", "CustomSheetViewState", "DataConsolidate", "DataConsolidateFunction", "DataReference", "DataValidation", "DataValidationErrorStyle", "DataValidationOperator", "DataValidationType", "FilterColumn", "FormControl", "FreezeCounts", "HEADER_FOOTER_CODES", "HeaderFooter", "HeaderFooterSection", "Hyperlink", "IconSetStyle", "IgnoredError", "IterRowsOptions", "LegacyComment", "LegacyCommentAnchor", "MultiCellRange", "OleDvAspect", "OleObject", "OleUpdateMode", "OutlineProperties", "PageBreak", "PageMargins", "PageOrder", "PageOrientation", "PageSetup", "PageSetupProperties", "Pane", "PaneState", "PaneType", "PhoneticAlignment", "PhoneticType", "PivotAggregate", "PivotFilterField", "PivotItemValue", "PivotLayout", "PivotSubtotals", "PivotTable", "PivotTableSummary", "PivotValueField", "PrintErrorMode", "PrintOptions", "ProtectedRange", "RowDimension", "Scenario", "ScenarioInputCell", "ScenarioList", "Selection", "SheetProperties", "SheetProtection", "SheetView", "SheetViewMode", "SortBy", "SortCondition", "SortIconSet", "SortMethod", "SortState", "Sparkline", "SparklineAxisType", "SparklineEmptyCells", "SparklineGroup", "SparklineType", "TableColumn", "TableDefinition", "TableStyleInfo", "TextOperator", "ThreadedComment", "ThreadedCommentMention", "TimePeriod", "ValidationCommon", "WebPublishItem", "Worksheet", "WorksheetCustomProperty", "WorksheetPhoneticProperties", "activeSelection", "addCellWatch", "addConditionalFormatting", "addDataValidation", "addExcelTable", "addIgnoredError", "addPivotTable", "addTable", "appendRow", "appendRows", "applyToRange", "autofitColumns", "buildHeaderFooterText", "clearAllCells", "clearRange", "collapseColumnGroup", "collapseRowGroup", "copyRange", "countCells", "countCellsByKind", "deleteCell", "deleteRows", "ensureCell", "ensureCellByCoord", "expandColumnGroup", "expandRangeStr", "expandRowGroup", "findCells", "freezePaneRef", "getAutoFilter", "getCell", "getCellByCoord", "getCellExtent", "getCellExtentRef", "getCellsInColumn", "getCellsInRange", "getCellsInRow", "getColumnDimension", "getFreezePanes", "getMaxCol", "getMaxRow", "getMergedCells", "getMergedRangeAt", "getNonEmptyCellCount", "getPivotFieldItems", "getPivotSourceFields", "getPivotTableAt", "getPivotTableOutputRef", "getPopulatedColumnIndices", "getPopulatedRowIndices", "getRangeValues", "getRowDimension", "getTable", "getValueExtent", "groupColumns", "groupRows", "hideColumn", "hideColumns", "hideRow", "hideRows", "insertRows", "intersectionRange", "isCellInRange", "isMergedCell", "isRangeInRange", "isWorksheetEmpty", "iterCells", "iterRows", "iterValues", "listComments", "listDataValidations", "listHyperlinks", "listPassthroughPivotTables", "listTables", "makeAutoFilter", "makeCellSmartTag", "makeCellSmartTagProperty", "makeCellSmartTags", "makeCellWatch", "makeCfRule", "makeColumnDimension", "makeConditionalFormatting", "makeCustomSheetView", "makeDataConsolidate", "makeDataValidation", "makeFilterColumn", "makeFormControl", "makeFreezePane", "makeHeaderFooter", "makeHyperlink", "makeIgnoredError", "makeLegacyComment", "makeOleObject", "makePageBreak", "makePageMargins", "makePageSetup", "makePrintOptions", "makeProtectedRange", "makeRowDimension", "makeScenario", "makeScenarioInputCell", "makeScenarioList", "makeSheetProperties", "makeSheetProtection", "makeSheetView", "makeSortCondition", "makeSortState", "makeSparklineGroup", "makeTableColumn", "makeTableDefinition", "makeThreadedComment", "makeWebPublishItem", "makeWorksheet", "makeWorksheetCustomProperty", "makeWorksheetPhoneticProperties", "mergeCells", "moveRange", "nextPivotTableName", "rangeArea", "rangeContainsCell", "rangeContainsRange", "rangesOverlap", "refreshPivotTable", "removeAllComments", "removeAllConditionalFormatting", "removeAllDataValidations", "removeAllHyperlinks", "removeAllMergedRanges", "removeAllTables", "removeCellWatches", "removeDataValidations", "removeHyperlink", "removeIgnoredErrors", "removePivotTable", "removeTable", "setAutoFilter", "setCell", "setCellByCoord", "setColumnDimension", "setColumnWidth", "setColumnWidths", "setComment", "setComments", "setDefaultColumnWidth", "setDefaultRowHeight", "setFreezePanes", "setHyperlink", "setHyperlinks", "setRangeValues", "setRowDimension", "setRowHeight", "setRowHeights", "setSheetTabColor", "setSheetViewMode", "setSheetZoom", "shiftRange", "ungroupColumns", "ungroupRows", "unhideColumn", "unhideColumns", "unhideRow", "unhideRows", "unionRange", "unmergeCells", "unmergeCellsAt", "writeRange" ], "./xml": [ "ACTIVEX_TYPE", "ARC_APP", "ARC_CONTENT_TYPES", "ARC_CORE", "ARC_CUSTOM", "ARC_CUSTOM_UI", "ARC_ROOT_RELS", "ARC_SHARED_STRINGS", "ARC_STYLE", "ARC_THEME", "ARC_WORKBOOK", "ARC_WORKBOOK_RELS", "C14_NS", "C15_NS", "C16_NS", "CHARTSHAPE_TYPE", "CHARTSHEET_TYPE", "CHART_DRAWING_NS", "CHART_NS", "CHART_TYPE", "COMMENTS_NS", "COMMENTS_TYPE", "CONTYPES_NS", "COREPROPS_NS", "CPROPS_FMTID", "CPROPS_TYPE", "CTRLPROPS_TYPE", "CUSTOMUI_NS", "CUSTPROPS_NS", "CX_NS", "DCMITYPE_NS", "DCORE_NS", "DCTERMS_NS", "DCTERMS_PREFIX", "DEFAULT_PREFIXES", "DRAWING_NS", "DRAWING_TYPE", "EXTERNAL_LINK_NS", "EXTERNAL_LINK_TYPE", "IMAGE_NS", "MARKUP_COMPAT_NS", "PACKAGE_CHARTS", "PACKAGE_CHARTSHEETS", "PACKAGE_CHARTSHEETS_RELS", "PACKAGE_DRAWINGS", "PACKAGE_IMAGES", "PACKAGE_PIVOT_CACHE", "PACKAGE_PIVOT_TABLE", "PACKAGE_PROPS", "PACKAGE_RELS", "PACKAGE_THEME", "PACKAGE_WORKSHEETS", "PACKAGE_WORKSHEET_RELS", "PACKAGE_XL", "PICTURE_NS", "PKG_REL_NS", "REL_NS", "SHARED_STRINGS_TYPE", "SHEET_DRAWING_NS", "SHEET_MAIN_NS", "STYLES_TYPE", "SaxEvent", "SaxInput", "SerializeOptions", "THEME_TYPE", "THREADED_COMMENTS_NS", "VBA_TYPE", "VML_NS", "VTYPES_NS", "WORKSHEET_TYPE", "X14_NS", "X15_NS", "X16_NS", "XLSM_TYPE", "XLSX_TYPE", "XLTM_TYPE", "XLTX_TYPE", "XML_NS", "XPROPS_NS", "XSI_NS", "XmlNode", "XmlStreamWriter", "XmlStreamWriterOptions", "appendChild", "createXmlStreamWriter", "el", "elNs", "findChild", "findChildren", "iterParse", "parseQName", "parseXml", "qname", "serializeXml" ], "./zip": [ "CompressionLevel", "DEFAULT_DECOMPRESSION_LIMITS", "DecompressionLimits", "OpenZipOptions", "ResolvedDecompressionLimits", "StreamingEntryWriter", "ZipArchive", "ZipWriter", "ZipWriterOptions", "createZipWriter", "openZip" ] }, "declarations": { "dist/cell/cell.d.ts": "import { type RichText } from './rich-text.js';\nexport type ExcelErrorCode = `#${string}`;\nexport type FormulaKind = 'normal' | 'array' | 'shared' | 'dataTable';\nexport interface FormulaValue {\n readonly kind: 'formula';\n readonly formula: string;\n readonly t: FormulaKind;\n readonly cachedValue?: number | string | boolean;\n readonly cachedValueType?: 'error';\n readonly ref?: string;\n readonly si?: number;\n readonly r1?: string;\n readonly r2?: string;\n readonly dt2D?: boolean;\n readonly dtr?: boolean;\n readonly del1?: boolean;\n readonly del2?: boolean;\n readonly aca?: boolean;\n readonly ca?: boolean;\n}\nexport type CellValue = number | string | boolean | Date | {\n kind: 'duration';\n ms: number;\n} | {\n kind: 'error';\n code: ExcelErrorCode;\n} | {\n kind: 'rich-text';\n runs: RichText;\n} | FormulaValue | null;\nexport interface Cell {\n row: number;\n col: number;\n value: CellValue;\n styleId: number;\n hyperlinkId?: number;\n commentId?: number;\n}\nexport interface MergedCell extends Cell {\n merged: true;\n}\nexport declare function makeCell(row: number, col: number, value?: CellValue, styleId?: number): Cell;\nexport declare function getCoordinate(c: Cell): string;\nexport declare function setCellValue(c: Cell, value: CellValue): void;\nexport declare function bindValue(c: Cell, value: number | string | boolean | Date | null): void;\nexport declare function makeFormula(formula: string, opts?: Pick): FormulaValue;\nexport declare function makeArrayFormula(ref: string, formula: string, opts?: Pick): FormulaValue;\nexport declare function makeSharedFormula(si: number, formula?: string, ref?: string, opts?: Pick): FormulaValue;\nexport declare function setFormula(c: Cell, formula: string, opts?: Pick): void;\nexport declare function setArrayFormula(c: Cell, ref: string, formula: string, opts?: Pick): void;\nexport declare function setSharedFormula(c: Cell, si: number, formula?: string, ref?: string, opts?: Pick): void;\nexport interface DataTableFormulaOpts {\n ref: string;\n r1?: string;\n r2?: string;\n dt2D?: boolean;\n dtr?: boolean;\n del1?: boolean;\n del2?: boolean;\n aca?: boolean;\n ca?: boolean;\n cachedValue?: FormulaValue['cachedValue'];\n cachedValueType?: FormulaValue['cachedValueType'];\n}\nexport declare function makeDataTableFormula(formula: string, opts: DataTableFormulaOpts): FormulaValue;\nexport declare function setDataTableFormula(c: Cell, formula: string, opts: DataTableFormulaOpts): void;\nexport declare function makeErrorValue(code: ExcelErrorCode): {\n kind: 'error';\n code: ExcelErrorCode;\n};\nexport declare function makeDurationValue(ms: number): {\n kind: 'duration';\n ms: number;\n};\nexport declare function isFormulaCell(c: Cell): boolean;\nexport declare function isRichTextCell(c: Cell): boolean;\nexport declare function isEmptyCell(c: Cell): boolean;\nexport declare function isMergedCell(c: Cell): c is MergedCell;\nexport declare function isErrorCell(c: Cell): boolean;\nexport declare function getFormulaText(c: Cell): string | undefined;\nexport declare function getCachedFormulaValue(c: Cell): number | string | boolean | undefined;\nexport declare function isFormulaValue(v: CellValue): v is FormulaValue;\nexport declare function isRichTextValue(v: CellValue): v is {\n kind: 'rich-text';\n runs: RichText;\n};\nexport declare function isErrorValue(v: CellValue): v is {\n kind: 'error';\n code: ExcelErrorCode;\n};\nexport declare function isDurationValue(v: CellValue): v is {\n kind: 'duration';\n ms: number;\n};\nexport interface CellValueAsStringOptions {\n dateFormat?: (value: Date) => string;\n emptyText?: string;\n}\nexport declare function cellValueAsString(v: CellValue, opts?: CellValueAsStringOptions): string;\nexport declare function cellValueAsBoolean(v: CellValue): boolean | undefined;\nexport declare function cellValueAsDate(v: CellValue): Date | undefined;\nexport declare function cellValueAsNumber(v: CellValue): number | undefined;\nexport declare function cellValueAsPrimitive(v: CellValue): string | number | boolean | Date | null;\n", "dist/cell/index.d.ts": "export type { Cell, CellValue, CellValueAsStringOptions, DataTableFormulaOpts, ExcelErrorCode, FormulaKind, FormulaValue, MergedCell, } from './cell.js';\nexport { bindValue, cellValueAsBoolean, cellValueAsDate, cellValueAsNumber, cellValueAsPrimitive, cellValueAsString, getCachedFormulaValue, getCoordinate, getFormulaText, isDurationValue, isEmptyCell, isErrorCell, isErrorValue, isFormulaCell, isFormulaValue, isMergedCell, isRichTextCell, isRichTextValue, makeArrayFormula, makeCell, makeDataTableFormula, makeDurationValue, makeErrorValue, makeFormula, makeSharedFormula, setArrayFormula, setCellValue, setDataTableFormula, setFormula, setSharedFormula, } from './cell.js';\nexport type { InlineFont, InlineUnderline, InlineVertAlign, RichText, TextRun, } from './rich-text.js';\nexport { makeRichText, makeTextRun, richTextToString } from './rich-text.js';\n", "dist/cell/rich-text.d.ts": "import type { Color } from '../styles/colors.js';\nimport type { FontScheme } from '../styles/fonts.js';\nexport type InlineUnderline = 'single' | 'double' | 'singleAccounting' | 'doubleAccounting';\nexport type InlineVertAlign = 'baseline' | 'superscript' | 'subscript';\nexport interface InlineFont {\n readonly name?: string;\n readonly sz?: number;\n readonly b?: boolean;\n readonly i?: boolean;\n readonly u?: InlineUnderline;\n readonly strike?: boolean;\n readonly outline?: boolean;\n readonly shadow?: boolean;\n readonly condense?: boolean;\n readonly extend?: boolean;\n readonly vertAlign?: InlineVertAlign;\n readonly color?: Color;\n readonly family?: number;\n readonly charset?: number;\n readonly scheme?: FontScheme;\n}\nexport interface TextRun {\n readonly text: string;\n readonly font?: InlineFont;\n}\nexport type RichText = ReadonlyArray;\nexport declare function makeTextRun(text: string, font?: InlineFont): TextRun;\nexport declare function makeRichText(runs: ReadonlyArray): RichText;\nexport declare function richTextToString(rt: RichText): string;\n", "dist/chart/chart.d.ts": "import type { ShapeProperties } from '../drawing/dml/shape-properties.js';\nimport type { TextBody } from '../drawing/dml/text.js';\nimport type { ChartDrawing } from './user-shapes.js';\nexport type LegendPosition = 'r' | 't' | 'l' | 'b' | 'tr';\nexport type GroupingType = 'clustered' | 'stacked' | 'percentStacked' | 'standard';\nexport type BarDirection = 'bar' | 'col';\nexport interface NumericRef {\n ref: string;\n cache?: number[];\n formatCode?: string;\n}\nexport interface CategoryRef {\n ref: string;\n cacheKind?: 'num' | 'str';\n cache?: ReadonlyArray;\n formatCode?: string;\n}\nexport interface ChartNumberFormat {\n formatCode: string;\n sourceLinked?: boolean;\n}\nexport type DataLabelPosition = 'bestFit' | 'b' | 'ctr' | 'inBase' | 'inEnd' | 'l' | 'outEnd' | 'r' | 't';\nexport interface DataLabel {\n idx: number;\n delete?: boolean;\n tx?: {\n kind: 'rich';\n body: TextBody;\n } | {\n kind: 'strRef';\n ref: string;\n };\n numFmt?: ChartNumberFormat;\n spPr?: ShapeProperties;\n txPr?: TextBody;\n dLblPos?: DataLabelPosition;\n showLegendKey?: boolean;\n showVal?: boolean;\n showCatName?: boolean;\n showSerName?: boolean;\n showPercent?: boolean;\n showBubbleSize?: boolean;\n separator?: string;\n}\nexport interface DataLabelList {\n delete?: boolean;\n dLbl?: DataLabel[];\n numFmt?: ChartNumberFormat;\n spPr?: ShapeProperties;\n txPr?: TextBody;\n dLblPos?: DataLabelPosition;\n showLegendKey?: boolean;\n showVal?: boolean;\n showCatName?: boolean;\n showSerName?: boolean;\n showPercent?: boolean;\n showBubbleSize?: boolean;\n separator?: string;\n showLeaderLines?: boolean;\n}\nexport type MarkerSymbol = 'auto' | 'circle' | 'dash' | 'diamond' | 'dot' | 'none' | 'picture' | 'plus' | 'square' | 'star' | 'triangle' | 'x';\nexport interface Marker {\n symbol?: MarkerSymbol;\n size?: number;\n spPr?: ShapeProperties;\n}\nexport interface DataPoint {\n idx: number;\n invertIfNegative?: boolean;\n marker?: Marker;\n bubble3D?: boolean;\n explosion?: number;\n spPr?: ShapeProperties;\n}\nexport type TrendlineType = 'exp' | 'linear' | 'log' | 'movingAvg' | 'poly' | 'power';\nexport interface Trendline {\n name?: string;\n spPr?: ShapeProperties;\n trendlineType: TrendlineType;\n order?: number;\n period?: number;\n forward?: number;\n backward?: number;\n intercept?: number;\n dispRSqr?: boolean;\n dispEq?: boolean;\n}\nexport type ErrorBarDirection = 'x' | 'y';\nexport type ErrorBarType = 'both' | 'minus' | 'plus';\nexport type ErrorValType = 'cust' | 'fixedVal' | 'percentage' | 'stdDev' | 'stdErr';\nexport interface ErrorBars {\n errDir?: ErrorBarDirection;\n errBarType: ErrorBarType;\n errValType: ErrorValType;\n noEndCap?: boolean;\n val?: number;\n plus?: NumericRef;\n minus?: NumericRef;\n spPr?: ShapeProperties;\n}\nexport interface BarSeries {\n idx: number;\n order: number;\n tx?: {\n kind: 'literal';\n value: string;\n } | {\n kind: 'ref';\n ref: string;\n };\n spPr?: ShapeProperties;\n invertIfNegative?: boolean;\n explosion?: number;\n dPt?: DataPoint[];\n dLbls?: DataLabelList;\n trendline?: Trendline[];\n errBars?: ErrorBars[];\n cat?: CategoryRef;\n val: NumericRef;\n}\nexport interface BarChart {\n kind: 'bar';\n barDir: BarDirection;\n grouping: GroupingType;\n varyColors?: boolean;\n series: BarSeries[];\n gapWidth?: number;\n overlap?: number;\n axIds: [\n number,\n number\n ];\n}\nexport interface LineSeries extends BarSeries {\n smooth?: boolean;\n marker?: Marker;\n}\nexport interface LineChart {\n kind: 'line';\n grouping: GroupingType;\n varyColors?: boolean;\n series: LineSeries[];\n smooth?: boolean;\n axIds: [\n number,\n number\n ];\n}\nexport interface AreaChart {\n kind: 'area';\n grouping: GroupingType;\n varyColors?: boolean;\n series: BarSeries[];\n axIds: [\n number,\n number\n ];\n}\nexport interface PieChart {\n kind: 'pie';\n varyColors?: boolean;\n series: BarSeries[];\n firstSliceAng?: number;\n}\nexport interface DoughnutChart {\n kind: 'doughnut';\n varyColors?: boolean;\n series: BarSeries[];\n holeSize?: number;\n firstSliceAng?: number;\n}\nexport type ScatterStyle = 'line' | 'lineMarker' | 'marker' | 'none' | 'smooth' | 'smoothMarker';\nexport interface ScatterSeries {\n idx: number;\n order: number;\n tx?: BarSeries['tx'];\n spPr?: ShapeProperties;\n dPt?: DataPoint[];\n dLbls?: DataLabelList;\n trendline?: Trendline[];\n errBars?: ErrorBars[];\n marker?: Marker;\n xVal?: NumericRef;\n yVal: NumericRef;\n smooth?: boolean;\n}\nexport interface ScatterChart {\n kind: 'scatter';\n scatterStyle: ScatterStyle;\n varyColors?: boolean;\n series: ScatterSeries[];\n axIds: [\n number,\n number\n ];\n}\nexport type RadarStyle = 'standard' | 'marker' | 'filled';\nexport interface RadarChart {\n kind: 'radar';\n radarStyle: RadarStyle;\n varyColors?: boolean;\n series: BarSeries[];\n axIds: [\n number,\n number\n ];\n}\nexport interface BubbleSeries {\n idx: number;\n order: number;\n tx?: BarSeries['tx'];\n spPr?: ShapeProperties;\n invertIfNegative?: boolean;\n dPt?: DataPoint[];\n dLbls?: DataLabelList;\n trendline?: Trendline[];\n errBars?: ErrorBars[];\n xVal?: NumericRef;\n yVal: NumericRef;\n bubbleSize: NumericRef;\n bubble3D?: boolean;\n}\nexport type BubbleSizeRepresents = 'area' | 'w';\nexport interface BubbleChart {\n kind: 'bubble';\n varyColors?: boolean;\n series: BubbleSeries[];\n bubble3D?: boolean;\n bubbleScale?: number;\n showNegBubbles?: boolean;\n sizeRepresents?: BubbleSizeRepresents;\n axIds: [\n number,\n number\n ];\n}\nexport interface HiLowLines {\n spPr?: ShapeProperties;\n}\nexport interface BarFrame {\n spPr?: ShapeProperties;\n}\nexport interface UpDownBars {\n gapWidth?: number;\n upBars?: BarFrame;\n downBars?: BarFrame;\n}\nexport interface StockChart {\n kind: 'stock';\n series: BarSeries[];\n hiLowLines?: boolean | HiLowLines;\n upDownBars?: boolean | UpDownBars;\n axIds: [\n number,\n number\n ];\n}\nexport interface SurfaceChart {\n kind: 'surface';\n series: BarSeries[];\n wireframe?: boolean;\n axIds: [\n number,\n number,\n number\n ];\n}\nexport type OfPieType = 'bar' | 'pie';\nexport type SplitType = 'auto' | 'cust' | 'percent' | 'pos' | 'val';\nexport interface OfPieChart {\n kind: 'ofPie';\n ofPieType: OfPieType;\n varyColors?: boolean;\n series: BarSeries[];\n gapWidth?: number;\n splitType?: SplitType;\n splitPos?: number;\n custSplit?: number[];\n secondPieSize?: number;\n}\nexport interface Bar3DChart {\n kind: 'bar3D';\n barDir: BarDirection;\n grouping: GroupingType;\n varyColors?: boolean;\n series: BarSeries[];\n gapWidth?: number;\n gapDepth?: number;\n shape?: 'cone' | 'coneToMax' | 'box' | 'cylinder' | 'pyramid' | 'pyramidToMax';\n axIds: [\n number,\n number,\n number\n ];\n}\nexport interface Line3DChart {\n kind: 'line3D';\n grouping: GroupingType;\n varyColors?: boolean;\n series: LineSeries[];\n gapDepth?: number;\n axIds: [\n number,\n number,\n number\n ];\n}\nexport interface Pie3DChart {\n kind: 'pie3D';\n varyColors?: boolean;\n series: BarSeries[];\n}\nexport interface Area3DChart {\n kind: 'area3D';\n grouping: GroupingType;\n varyColors?: boolean;\n series: BarSeries[];\n gapDepth?: number;\n axIds: [\n number,\n number,\n number\n ];\n}\nexport interface Surface3DChart {\n kind: 'surface3D';\n series: BarSeries[];\n wireframe?: boolean;\n axIds: [\n number,\n number,\n number\n ];\n}\nexport type ChartKind = BarChart | LineChart | AreaChart | PieChart | DoughnutChart | ScatterChart | RadarChart | BubbleChart | StockChart | SurfaceChart | OfPieChart | Bar3DChart | Line3DChart | Pie3DChart | Area3DChart | Surface3DChart;\nexport type TickMark = 'cross' | 'in' | 'none' | 'out';\nexport type TickLabelPosition = 'high' | 'low' | 'nextTo' | 'none';\nexport type AxisCrosses = 'autoZero' | 'max' | 'min';\nexport type AxisOrientation = 'maxMin' | 'minMax';\nexport type AxisCrossBetween = 'between' | 'midCat';\nexport type CategoryLabelAlignment = 'ctr' | 'l' | 'r';\nexport interface AxisScaling {\n orientation?: AxisOrientation;\n min?: number;\n max?: number;\n logBase?: number;\n}\ninterface AxisShared {\n axId: number;\n crossAx: number;\n position?: 'b' | 't' | 'l' | 'r';\n delete?: boolean;\n spPr?: ShapeProperties;\n txPr?: TextBody;\n title?: ChartTitle;\n numFmt?: ChartNumberFormat;\n majorTickMark?: TickMark;\n minorTickMark?: TickMark;\n tickLblPos?: TickLabelPosition;\n scaling?: AxisScaling;\n crosses?: AxisCrosses;\n crossesAt?: number;\n majorGridlines?: boolean | Gridlines;\n minorGridlines?: boolean | Gridlines;\n}\nexport interface Gridlines {\n spPr?: ShapeProperties;\n}\nexport interface CategoryAxis extends AxisShared {\n auto?: boolean;\n lblAlgn?: CategoryLabelAlignment;\n lblOffset?: number;\n noMultiLvlLbl?: boolean;\n}\nexport interface ValueAxis extends AxisShared {\n crossBetween?: AxisCrossBetween;\n majorUnit?: number;\n minorUnit?: number;\n}\nexport type TimeUnit = 'days' | 'months' | 'years';\nexport interface DateAxis extends AxisShared {\n auto?: boolean;\n lblOffset?: number;\n baseTimeUnit?: TimeUnit;\n majorUnit?: number;\n majorTimeUnit?: TimeUnit;\n minorUnit?: number;\n minorTimeUnit?: TimeUnit;\n}\nexport interface SeriesAxis extends AxisShared {\n tickLblSkip?: number;\n tickMarkSkip?: number;\n}\nexport interface PlotArea {\n chart: ChartKind;\n additionalCharts?: ChartKind[];\n catAx?: CategoryAxis;\n valAx?: ValueAxis;\n additionalCatAx?: CategoryAxis[];\n additionalValAx?: ValueAxis[];\n xValAx?: ValueAxis;\n dateAx?: DateAxis;\n serAx?: SeriesAxis;\n layout?: Layout;\n spPr?: ShapeProperties;\n}\nexport type LayoutMode = 'edge' | 'factor';\nexport type LayoutTarget = 'inner' | 'outer';\nexport interface ManualLayout {\n layoutTarget?: LayoutTarget;\n xMode?: LayoutMode;\n yMode?: LayoutMode;\n wMode?: LayoutMode;\n hMode?: LayoutMode;\n x?: number;\n y?: number;\n w?: number;\n h?: number;\n}\nexport interface Layout {\n manualLayout?: ManualLayout;\n}\nexport type LegendEntry = {\n idx: number;\n delete: true;\n} | {\n idx: number;\n txPr: TextBody;\n};\nexport interface Legend {\n position: LegendPosition;\n legendEntry?: LegendEntry[];\n overlay?: boolean;\n layout?: Layout;\n spPr?: ShapeProperties;\n txPr?: TextBody;\n}\nexport interface ChartTitle {\n text?: string;\n tx?: TextBody;\n overlay?: boolean;\n layout?: Layout;\n spPr?: ShapeProperties;\n txPr?: TextBody;\n}\nexport interface View3D {\n rotX?: number;\n rotY?: number;\n depthPercent?: number;\n hPercent?: number;\n rAngAx?: boolean;\n perspective?: number;\n}\nexport interface SurfaceFrame {\n thickness?: number;\n spPr?: ShapeProperties;\n}\nexport interface ChartSpace {\n title?: ChartTitle;\n legend?: Legend;\n plotArea: PlotArea;\n style?: number;\n view3D?: View3D;\n floor?: SurfaceFrame;\n sideWall?: SurfaceFrame;\n backWall?: SurfaceFrame;\n plotVisOnly?: boolean;\n dispBlanksAs?: 'gap' | 'zero' | 'span';\n spPr?: ShapeProperties;\n txPr?: TextBody;\n userShapes?: ChartDrawing;\n}\nexport declare function makeBarChart(opts: {\n barDir?: BarDirection;\n grouping?: GroupingType;\n series?: BarSeries[];\n axIds?: [\n number,\n number\n ];\n varyColors?: boolean;\n gapWidth?: number;\n overlap?: number;\n}): BarChart;\nexport declare function makeBarSeries(opts: {\n idx: number;\n order?: number;\n val: NumericRef;\n cat?: CategoryRef;\n tx?: BarSeries['tx'];\n}): BarSeries;\nexport declare function makeChartSpace(opts: {\n plotArea: PlotArea;\n title?: string | ChartTitle;\n legend?: Legend;\n style?: number;\n view3D?: View3D;\n floor?: SurfaceFrame;\n sideWall?: SurfaceFrame;\n backWall?: SurfaceFrame;\n plotVisOnly?: boolean;\n dispBlanksAs?: ChartSpace['dispBlanksAs'];\n spPr?: ShapeProperties;\n txPr?: TextBody;\n}): ChartSpace;\nexport declare function makeLineChart(opts: {\n grouping?: GroupingType;\n series?: LineSeries[];\n axIds?: [\n number,\n number\n ];\n varyColors?: boolean;\n smooth?: boolean;\n}): LineChart;\nexport declare function makeAreaChart(opts: {\n grouping?: GroupingType;\n series?: BarSeries[];\n axIds?: [\n number,\n number\n ];\n varyColors?: boolean;\n}): AreaChart;\nexport declare function makePieChart(opts: {\n series?: BarSeries[];\n varyColors?: boolean;\n firstSliceAng?: number;\n}): PieChart;\nexport declare function makeDoughnutChart(opts: {\n series?: BarSeries[];\n varyColors?: boolean;\n holeSize?: number;\n firstSliceAng?: number;\n}): DoughnutChart;\nexport declare function makeScatterChart(opts: {\n scatterStyle?: ScatterStyle;\n series?: ScatterSeries[];\n axIds?: [\n number,\n number\n ];\n varyColors?: boolean;\n}): ScatterChart;\nexport declare function makeScatterSeries(opts: {\n idx: number;\n order?: number;\n tx?: BarSeries['tx'];\n xVal?: NumericRef;\n yVal: NumericRef;\n smooth?: boolean;\n marker?: Marker;\n}): ScatterSeries;\nexport declare function makeRadarChart(opts: {\n radarStyle?: RadarStyle;\n series?: BarSeries[];\n axIds?: [\n number,\n number\n ];\n varyColors?: boolean;\n}): RadarChart;\nexport declare function makeBubbleChart(opts: {\n series?: BubbleSeries[];\n axIds?: [\n number,\n number\n ];\n varyColors?: boolean;\n bubble3D?: boolean;\n bubbleScale?: number;\n showNegBubbles?: boolean;\n sizeRepresents?: BubbleSizeRepresents;\n}): BubbleChart;\nexport declare function makeBubbleSeries(opts: {\n idx: number;\n order?: number;\n tx?: BarSeries['tx'];\n xVal?: NumericRef;\n yVal: NumericRef;\n bubbleSize: NumericRef;\n bubble3D?: boolean;\n}): BubbleSeries;\nexport declare function makeStockChart(opts: {\n series?: BarSeries[];\n axIds?: [\n number,\n number\n ];\n hiLowLines?: boolean | HiLowLines;\n upDownBars?: boolean | UpDownBars;\n}): StockChart;\nexport declare function makeSurfaceChart(opts: {\n series?: BarSeries[];\n wireframe?: boolean;\n axIds?: [\n number,\n number,\n number\n ];\n}): SurfaceChart;\nexport declare function makeOfPieChart(opts: {\n ofPieType?: OfPieType;\n series?: BarSeries[];\n varyColors?: boolean;\n gapWidth?: number;\n splitType?: SplitType;\n splitPos?: number;\n custSplit?: number[];\n secondPieSize?: number;\n}): OfPieChart;\nexport declare function makeBar3DChart(opts: {\n barDir?: BarDirection;\n grouping?: GroupingType;\n series?: BarSeries[];\n axIds?: [\n number,\n number,\n number\n ];\n varyColors?: boolean;\n gapWidth?: number;\n gapDepth?: number;\n shape?: Bar3DChart['shape'];\n}): Bar3DChart;\nexport declare function makeLine3DChart(opts: {\n grouping?: GroupingType;\n series?: LineSeries[];\n axIds?: [\n number,\n number,\n number\n ];\n varyColors?: boolean;\n gapDepth?: number;\n}): Line3DChart;\nexport declare function makePie3DChart(opts: {\n series?: BarSeries[];\n varyColors?: boolean;\n}): Pie3DChart;\nexport declare function makeArea3DChart(opts: {\n grouping?: GroupingType;\n series?: BarSeries[];\n axIds?: [\n number,\n number,\n number\n ];\n varyColors?: boolean;\n gapDepth?: number;\n}): Area3DChart;\nexport declare function makeSurface3DChart(opts: {\n series?: BarSeries[];\n wireframe?: boolean;\n axIds?: [\n number,\n number,\n number\n ];\n}): Surface3DChart;\nexport {};\n", "dist/chart/cx/chartex.d.ts": "import type { ShapeProperties } from '../../drawing/dml/shape-properties.js';\nimport type { TextBody } from '../../drawing/dml/text.js';\nexport type CxLayoutId = 'clusteredColumn' | 'waterfall' | 'sunburst' | 'treemap' | 'boxWhisker' | 'pareto' | 'paretoLine' | 'regionMap' | 'funnel';\nexport interface CxPoint {\n idx: number;\n v: string;\n}\nexport interface CxNumDim {\n kind: 'num';\n type: string;\n f?: string;\n dir?: 'col' | 'row';\n ptCount?: number;\n pts: CxPoint[];\n formatCode?: string;\n}\nexport interface CxStrDim {\n kind: 'str';\n type: string;\n f?: string;\n dir?: 'col' | 'row';\n ptCount?: number;\n pts: CxPoint[];\n formatCode?: string;\n}\nexport type CxDim = CxNumDim | CxStrDim;\nexport interface CxData {\n id: number;\n dims: CxDim[];\n}\nexport interface CxExternalData {\n rId: string;\n autoUpdate?: boolean;\n}\nexport interface CxChartData {\n externalData?: CxExternalData;\n data: CxData[];\n}\nexport type CxLayoutPr = {\n kind: 'waterfall';\n subtotalIdx: number[];\n} | {\n kind: 'binning';\n binCountAuto?: boolean;\n binCount?: number;\n binSize?: number;\n intervalClosed?: 'r' | 'l';\n underflow?: number;\n overflow?: number;\n} | {\n kind: 'parentLabel';\n layout: 'overlapping' | 'banner' | 'none';\n} | {\n kind: 'visibility';\n meanLine?: boolean;\n meanMarker?: boolean;\n nonoutliers?: boolean;\n outliers?: boolean;\n quartileMethod?: 'exclusive' | 'inclusive';\n} | {\n kind: 'region';\n cultureLanguage?: string;\n cultureRegion?: string;\n projectionType?: 'automatic' | 'mercator' | 'miller' | 'albers';\n regionLabelLayout?: 'none' | 'bestFit' | 'showAll';\n};\nexport type CxDataLabelPos = 'ctr' | 'b' | 'l' | 'r' | 't' | 'inEnd' | 'outEnd' | 'inBase';\nexport interface CxDataLabels {\n pos?: CxDataLabelPos;\n visibility?: {\n seriesName?: boolean;\n categoryName?: boolean;\n value?: boolean;\n };\n}\nexport interface CxSeries {\n layoutId: CxLayoutId;\n hidden?: boolean;\n ownerIdx?: number;\n formatIdx?: number;\n axisIds?: number[];\n tx?: {\n f?: string;\n v?: string;\n };\n dataLabels?: CxDataLabels;\n dataId?: number;\n layoutPr?: CxLayoutPr;\n spPr?: ShapeProperties;\n txPr?: TextBody;\n}\nexport interface CxAxis {\n id: number;\n hidden?: boolean;\n valScaling?: {\n min?: number;\n max?: number;\n };\n catScalingGapWidth?: number;\n majorGridlines?: boolean;\n title?: CxTitle;\n spPr?: ShapeProperties;\n txPr?: TextBody;\n}\nexport interface CxTitle {\n pos?: 't' | 'b' | 'l' | 'r';\n align?: 'ctr' | 'l' | 'r';\n overlay?: boolean;\n text?: string;\n txDataRef?: string;\n spPr?: ShapeProperties;\n txPr?: TextBody;\n}\nexport interface CxLegend {\n pos?: 't' | 'b' | 'l' | 'r' | 'tr';\n align?: 'ctr' | 'l' | 'r';\n overlay?: boolean;\n spPr?: ShapeProperties;\n txPr?: TextBody;\n}\nexport interface CxPlotArea {\n series: CxSeries[];\n axes: CxAxis[];\n spPr?: ShapeProperties;\n}\nexport interface CxChart {\n title?: CxTitle;\n plotArea: CxPlotArea;\n legend?: CxLegend;\n plotVisOnly?: boolean;\n dispBlanksAs?: 'span' | 'gap' | 'zero';\n}\nexport interface CxChartSpace {\n kind: 'cxChartSpace';\n chartData: CxChartData;\n chart: CxChart;\n spPr?: ShapeProperties;\n txPr?: TextBody;\n}\nexport declare const makeCxNumDim: (opts: {\n type: string;\n f?: string;\n dir?: \"col\" | \"row\";\n ptCount?: number;\n pts?: CxPoint[];\n formatCode?: string;\n}) => CxNumDim;\nexport declare const makeCxStrDim: (opts: {\n type: string;\n f?: string;\n dir?: \"col\" | \"row\";\n ptCount?: number;\n pts?: CxPoint[];\n formatCode?: string;\n}) => CxStrDim;\nexport declare const makeCxData: (id: number, dims: CxDim[]) => CxData;\nexport declare const makeCxSeries: (opts: {\n layoutId: CxLayoutId;\n dataId?: number;\n hidden?: boolean;\n ownerIdx?: number;\n formatIdx?: number;\n axisIds?: number[];\n tx?: {\n f?: string;\n v?: string;\n };\n dataLabels?: CxDataLabels;\n layoutPr?: CxLayoutPr;\n spPr?: ShapeProperties;\n txPr?: TextBody;\n}) => CxSeries;\nexport declare const makeCxAxis: (opts: {\n id: number;\n hidden?: boolean;\n valScaling?: {\n min?: number;\n max?: number;\n };\n catScalingGapWidth?: number;\n majorGridlines?: boolean;\n title?: CxTitle;\n spPr?: ShapeProperties;\n txPr?: TextBody;\n}) => CxAxis;\nexport declare const makeCxChartSpace: (opts: {\n series: CxSeries[];\n data?: CxData[];\n axes?: CxAxis[];\n title?: CxTitle;\n legend?: CxLegend;\n plotVisOnly?: boolean;\n dispBlanksAs?: CxChart[\"dispBlanksAs\"];\n externalData?: CxExternalData;\n plotAreaSpPr?: ShapeProperties;\n spPr?: ShapeProperties;\n txPr?: TextBody;\n}) => CxChartSpace;\nexport declare const makeSunburstChart: (opts: {\n catRef?: string;\n valRef?: string;\n valFormatCode?: string;\n}) => CxChartSpace;\nexport declare const makeTreemapChart: (opts: {\n catRef?: string;\n valRef?: string;\n parentLabelLayout?: \"overlapping\" | \"banner\" | \"none\";\n}) => CxChartSpace;\nexport declare const makeWaterfallChart: (opts: {\n catRef?: string;\n valRef?: string;\n subtotalIdx?: number[];\n}) => CxChartSpace;\nexport declare const makeHistogramChart: (opts: {\n valRef?: string;\n binCountAuto?: boolean;\n binCount?: number;\n binSize?: number;\n intervalClosed?: \"r\" | \"l\";\n underflow?: number;\n overflow?: number;\n}) => CxChartSpace;\nexport declare const makeParetoChart: (opts: {\n valRef?: string;\n catRef?: string;\n binCountAuto?: boolean;\n binCount?: number;\n binSize?: number;\n}) => CxChartSpace;\nexport declare const makeFunnelChart: (opts: {\n catRef?: string;\n valRef?: string;\n}) => CxChartSpace;\nexport declare const makeBoxWhiskerChart: (opts: {\n catRef?: string;\n valRef?: string;\n meanLine?: boolean;\n meanMarker?: boolean;\n outliers?: boolean;\n nonoutliers?: boolean;\n quartileMethod?: \"exclusive\" | \"inclusive\";\n}) => CxChartSpace;\nexport declare const makeRegionMapChart: (opts: {\n catRef?: string;\n valRef?: string;\n cultureLanguage?: string;\n cultureRegion?: string;\n projectionType?: \"automatic\" | \"mercator\" | \"miller\" | \"albers\";\n regionLabelLayout?: \"none\" | \"bestFit\" | \"showAll\";\n}) => CxChartSpace;\n", "dist/chart/index.d.ts": "export type { Area3DChart, AreaChart, Bar3DChart, BarChart, BarDirection, BarFrame, BarSeries, BubbleChart, BubbleSeries, BubbleSizeRepresents, AxisCrossBetween, AxisCrosses, AxisOrientation, AxisScaling, CategoryAxis, CategoryLabelAlignment, CategoryRef, ChartKind, ChartNumberFormat, ChartSpace, ChartTitle, DateAxis, DataLabel, DataLabelList, DataLabelPosition, DataPoint, DoughnutChart, ErrorBarDirection, ErrorBars, ErrorBarType, ErrorValType, Gridlines, GroupingType, HiLowLines, Layout, LayoutMode, LayoutTarget, Legend, LegendEntry, LegendPosition, Line3DChart, LineChart, LineSeries, ManualLayout, Marker, MarkerSymbol, NumericRef, OfPieChart, OfPieType, Pie3DChart, PieChart, PlotArea, RadarChart, RadarStyle, ScatterChart, ScatterSeries, ScatterStyle, SeriesAxis, SplitType, StockChart, Surface3DChart, SurfaceChart, SurfaceFrame, TickLabelPosition, TickMark, TimeUnit, Trendline, TrendlineType, UpDownBars, ValueAxis, View3D, } from './chart.js';\nexport { makeArea3DChart, makeAreaChart, makeBar3DChart, makeBarChart, makeBarSeries, makeBubbleChart, makeBubbleSeries, makeChartSpace, makeDoughnutChart, makeLine3DChart, makeLineChart, makeOfPieChart, makePie3DChart, makePieChart, makeRadarChart, makeScatterChart, makeScatterSeries, makeStockChart, makeSurface3DChart, makeSurfaceChart, } from './chart.js';\nexport type { CxAxis, CxChart, CxChartData, CxChartSpace, CxData, CxDataLabelPos, CxDataLabels, CxDim, CxExternalData, CxLayoutId, CxLayoutPr, CxLegend, CxNumDim, CxPlotArea, CxPoint, CxSeries, CxStrDim, CxTitle, } from './cx/chartex.js';\nexport { makeBoxWhiskerChart, makeCxAxis, makeCxChartSpace, makeCxData, makeCxNumDim, makeCxSeries, makeCxStrDim, makeFunnelChart, makeHistogramChart, makeParetoChart, makeRegionMapChart, makeSunburstChart, makeTreemapChart, makeWaterfallChart, } from './cx/chartex.js';\nexport type { ChartDrawing, ChartDrawingPicture, ChartDrawingShape, ChartRelativeMarker, UserShapeAnchor, UserShapeContent, } from './user-shapes.js';\nexport { makeAbsSizeAnchor, makeChartDrawing, makeChartShape, makeRelSizeAnchor, } from './user-shapes.js';\n", "dist/chart/user-shapes.d.ts": "import type { ShapeProperties, PositiveSize2D } from '../drawing/dml/shape-properties.js';\nimport type { TextBody } from '../drawing/dml/text.js';\nexport interface ChartRelativeMarker {\n x: number;\n y: number;\n}\nexport interface ChartDrawingShape {\n id: number;\n name?: string;\n descr?: string;\n hidden?: boolean;\n txBox?: boolean;\n spPr?: ShapeProperties;\n txBody?: TextBody;\n}\nexport interface ChartDrawingPicture {\n id: number;\n name?: string;\n descr?: string;\n embedRId?: string;\n spPr?: ShapeProperties;\n}\nexport type UserShapeContent = {\n kind: 'shape';\n shape: ChartDrawingShape;\n} | {\n kind: 'picture';\n picture: ChartDrawingPicture;\n};\nexport type UserShapeAnchor = {\n kind: 'relSize';\n from: ChartRelativeMarker;\n to: ChartRelativeMarker;\n content: UserShapeContent;\n} | {\n kind: 'absSize';\n from: ChartRelativeMarker;\n ext: PositiveSize2D;\n content: UserShapeContent;\n};\nexport interface ChartDrawing {\n shapes: UserShapeAnchor[];\n}\nexport declare const makeChartDrawing: (shapes?: UserShapeAnchor[]) => ChartDrawing;\nexport declare const makeChartShape: (opts: {\n id: number;\n name?: string;\n descr?: string;\n hidden?: boolean;\n txBox?: boolean;\n spPr?: ShapeProperties;\n txBody?: TextBody;\n}) => ChartDrawingShape;\nexport declare const makeRelSizeAnchor: (from: ChartRelativeMarker, to: ChartRelativeMarker, content: UserShapeContent) => UserShapeAnchor;\nexport declare const makeAbsSizeAnchor: (from: ChartRelativeMarker, ext: PositiveSize2D, content: UserShapeContent) => UserShapeAnchor;\n", "dist/chartsheet/chartsheet.d.ts": "import type { Drawing } from '../drawing/drawing.js';\nimport type { Color } from '../styles/colors.js';\nimport type { HeaderFooter, PageMargins, PageSetup } from '../worksheet/page-setup.js';\nimport type { WebPublishItem } from '../worksheet/web-publish.js';\nexport interface ChartsheetView {\n workbookViewId: number;\n tabSelected?: boolean;\n zoomScale?: number;\n zoomToFit?: boolean;\n}\nexport interface ChartsheetProperties {\n published?: boolean;\n codeName?: string;\n tabColor?: Color;\n}\nexport interface ChartsheetProtection {\n content?: boolean;\n objects?: boolean;\n algorithmName?: string;\n hashValue?: string;\n saltValue?: string;\n spinCount?: number;\n}\nexport interface Chartsheet {\n title: string;\n views: ChartsheetView[];\n properties?: ChartsheetProperties;\n protection?: ChartsheetProtection;\n drawing?: Drawing;\n pageMargins?: PageMargins;\n pageSetup?: PageSetup;\n headerFooter?: HeaderFooter;\n legacyDrawingRId?: string;\n legacyDrawingHFRId?: string;\n drawingHF?: ChartsheetDrawingHF;\n backgroundPictureRId?: string;\n webPublishItems: WebPublishItem[];\n customSheetViews: ChartsheetCustomSheetView[];\n}\nexport interface ChartsheetCustomSheetView {\n guid: string;\n scale?: number;\n state?: 'visible' | 'hidden' | 'veryHidden';\n zoomToFit?: boolean;\n pageMargins?: PageMargins;\n pageSetup?: PageSetup;\n headerFooter?: HeaderFooter;\n}\nexport declare const makeChartsheetCustomSheetView: (opts: Partial & {\n guid: string;\n}) => ChartsheetCustomSheetView;\nexport interface ChartsheetDrawingHF {\n rId: string;\n lho?: number;\n cho?: number;\n rho?: number;\n lhe?: number;\n che?: number;\n rhe?: number;\n lhf?: number;\n chf?: number;\n rhf?: number;\n lfo?: number;\n cfo?: number;\n rfo?: number;\n lfe?: number;\n cfe?: number;\n rfe?: number;\n lff?: number;\n cff?: number;\n rff?: number;\n}\nexport declare const makeChartsheet: (title: string) => Chartsheet;\n", "dist/chartsheet/index.d.ts": "export type { Chartsheet, ChartsheetCustomSheetView, ChartsheetDrawingHF, ChartsheetProperties, ChartsheetProtection, ChartsheetView, } from './chartsheet.js';\nexport { makeChartsheet, makeChartsheetCustomSheetView } from './chartsheet.js';\n", "dist/drawing/anchor.d.ts": "export interface Point2D {\n x: number;\n y: number;\n}\nexport interface PositiveSize2D {\n cx: number;\n cy: number;\n}\nexport interface AnchorMarker {\n col: number;\n colOff: number;\n row: number;\n rowOff: number;\n}\nexport type DrawingAnchor = {\n kind: 'absolute';\n pos: Point2D;\n ext: PositiveSize2D;\n} | {\n kind: 'oneCell';\n from: AnchorMarker;\n ext: PositiveSize2D;\n} | {\n kind: 'twoCell';\n from: AnchorMarker;\n to: AnchorMarker;\n editAs?: 'twoCell' | 'oneCell' | 'absolute';\n};\nexport declare function anchorMarkerFromCellRef(ref: string): AnchorMarker;\nexport declare function makeAbsoluteAnchor(opts: {\n x: number;\n y: number;\n cx: number;\n cy: number;\n}): DrawingAnchor;\nexport declare function makeOneCellAnchor(opts: {\n from: string | AnchorMarker;\n widthPx: number;\n heightPx: number;\n}): DrawingAnchor;\nexport declare function makeTwoCellAnchor(opts: {\n from: string | AnchorMarker;\n to: string | AnchorMarker;\n editAs?: 'twoCell' | 'oneCell' | 'absolute';\n}): DrawingAnchor;\n", "dist/drawing/dml/colors.d.ts": "export type SchemeColorName = 'bg1' | 'tx1' | 'bg2' | 'tx2' | 'accent1' | 'accent2' | 'accent3' | 'accent4' | 'accent5' | 'accent6' | 'hlink' | 'folHlink' | 'phClr' | 'dk1' | 'lt1' | 'dk2' | 'lt2';\nexport declare const SCHEME_COLOR_NAMES: ReadonlyArray;\nexport type DmlColor = {\n kind: 'srgb';\n value: string;\n} | {\n kind: 'sysClr';\n value: string;\n lastClr?: string;\n} | {\n kind: 'schemeClr';\n value: SchemeColorName;\n} | {\n kind: 'prstClr';\n value: string;\n} | {\n kind: 'hslClr';\n hue: number;\n sat: number;\n lum: number;\n} | {\n kind: 'scrgbClr';\n r: number;\n g: number;\n b: number;\n};\nexport type ColorMod = {\n kind: 'lumMod';\n val: number;\n} | {\n kind: 'lumOff';\n val: number;\n} | {\n kind: 'satMod';\n val: number;\n} | {\n kind: 'satOff';\n val: number;\n} | {\n kind: 'hueMod';\n val: number;\n} | {\n kind: 'hueOff';\n val: number;\n} | {\n kind: 'tint';\n val: number;\n} | {\n kind: 'shade';\n val: number;\n} | {\n kind: 'alpha';\n val: number;\n} | {\n kind: 'alphaMod';\n val: number;\n} | {\n kind: 'alphaOff';\n val: number;\n} | {\n kind: 'red';\n val: number;\n} | {\n kind: 'green';\n val: number;\n} | {\n kind: 'blue';\n val: number;\n} | {\n kind: 'redMod';\n val: number;\n} | {\n kind: 'greenMod';\n val: number;\n} | {\n kind: 'blueMod';\n val: number;\n} | {\n kind: 'redOff';\n val: number;\n} | {\n kind: 'greenOff';\n val: number;\n} | {\n kind: 'blueOff';\n val: number;\n} | {\n kind: 'gray';\n} | {\n kind: 'comp';\n} | {\n kind: 'inv';\n} | {\n kind: 'invGamma';\n} | {\n kind: 'gamma';\n};\nexport declare const VALUELESS_COLOR_MOD_KINDS: ReadonlyArray;\nexport declare const VALUED_COLOR_MOD_KINDS: ReadonlyArray;\nexport interface DmlColorWithMods {\n base: DmlColor;\n mods: ColorMod[];\n}\nexport declare const makeSrgbColor: (rrggbb: string) => DmlColor;\nexport declare const makeSchemeColor: (name: SchemeColorName) => DmlColor;\nexport declare const makeColor: (base: DmlColor, mods?: ColorMod[]) => DmlColorWithMods;\n", "dist/drawing/dml/effect.d.ts": "import type { DmlColorWithMods } from './colors.js';\nimport type { Fill } from './fill.js';\nexport type FillBlendMode = 'over' | 'mult' | 'screen' | 'darken' | 'lighten';\nexport type ShadowAlign = 'tl' | 't' | 'tr' | 'l' | 'ctr' | 'r' | 'bl' | 'b' | 'br';\nexport type PresetShadowName = 'shdw1' | 'shdw2' | 'shdw3' | 'shdw4' | 'shdw5' | 'shdw6' | 'shdw7' | 'shdw8' | 'shdw9' | 'shdw10' | 'shdw11' | 'shdw12' | 'shdw13' | 'shdw14' | 'shdw15' | 'shdw16' | 'shdw17' | 'shdw18' | 'shdw19' | 'shdw20';\nexport declare const PRESET_SHADOW_NAMES: ReadonlyArray;\nexport type Effect = {\n kind: 'blur';\n rad: number;\n grow?: boolean;\n} | {\n kind: 'fillOverlay';\n blend: FillBlendMode;\n fill: Fill;\n} | {\n kind: 'glow';\n rad: number;\n color: DmlColorWithMods;\n} | {\n kind: 'innerShdw';\n blurRad?: number;\n dist?: number;\n dir?: number;\n color: DmlColorWithMods;\n} | {\n kind: 'outerShdw';\n blurRad?: number;\n dist?: number;\n dir?: number;\n sx?: number;\n sy?: number;\n kx?: number;\n ky?: number;\n algn?: ShadowAlign;\n rotWithShape?: boolean;\n color: DmlColorWithMods;\n} | {\n kind: 'prstShdw';\n prst: PresetShadowName;\n dist?: number;\n dir?: number;\n color: DmlColorWithMods;\n} | {\n kind: 'reflection';\n blurRad?: number;\n stA?: number;\n stPos?: number;\n endA?: number;\n endPos?: number;\n dist?: number;\n dir?: number;\n fadeDir?: number;\n sx?: number;\n sy?: number;\n kx?: number;\n ky?: number;\n algn?: ShadowAlign;\n rotWithShape?: boolean;\n} | {\n kind: 'softEdge';\n rad: number;\n};\nexport interface EffectList {\n list: Effect[];\n}\nexport interface EffectContainer {\n type: 'tree' | 'sib';\n name?: string;\n children: Array;\n}\nexport type EffectsRef = {\n kind: 'lst';\n list: EffectList;\n} | {\n kind: 'dag';\n children: Array;\n};\nexport declare const makeEffectList: (list: Effect[]) => EffectList;\nexport declare const makeEffectContainer: (type: \"tree\" | \"sib\", children: Array, name?: string) => EffectContainer;\n", "dist/drawing/dml/fill.d.ts": "import type { DmlColor, DmlColorWithMods } from './colors.js';\nexport interface RelativeRect {\n l?: number;\n t?: number;\n r?: number;\n b?: number;\n}\nexport interface GradientStop {\n pos: number;\n color: DmlColorWithMods;\n}\nexport type GradientLineDir = {\n kind: 'lin';\n ang: number;\n scaled?: boolean;\n} | {\n kind: 'path';\n pathType: 'shape' | 'circle' | 'rect';\n tileRect?: RelativeRect;\n};\nexport type TileFlip = 'x' | 'y' | 'xy' | 'none';\nexport interface TileFill {\n tx?: number;\n ty?: number;\n sx?: number;\n sy?: number;\n flip?: TileFlip;\n algn?: 'tl' | 't' | 'tr' | 'l' | 'ctr' | 'r' | 'bl' | 'b' | 'br';\n}\nexport type BlipEffect = {\n kind: 'biLevel';\n thresh: number;\n} | {\n kind: 'blur';\n rad: number;\n grow?: boolean;\n} | {\n kind: 'clrChange';\n useA?: boolean;\n clrFrom: DmlColor;\n clrTo: DmlColor;\n} | {\n kind: 'clrRepl';\n color: DmlColor;\n} | {\n kind: 'duotone';\n colors: [\n DmlColor,\n DmlColor\n ];\n} | {\n kind: 'grayscl';\n} | {\n kind: 'lum';\n bright?: number;\n contrast?: number;\n} | {\n kind: 'tint';\n hue?: number;\n amt?: number;\n} | {\n kind: 'alphaModFix';\n amt: number;\n};\nexport interface Blip {\n embedRId?: string;\n linkRId?: string;\n cstate?: 'email' | 'screen' | 'print' | 'hqprint';\n effects?: BlipEffect[];\n}\nexport type Fill = {\n kind: 'noFill';\n} | {\n kind: 'solidFill';\n color: DmlColorWithMods;\n} | {\n kind: 'gradFill';\n flip?: TileFlip;\n rotWithShape?: boolean;\n stops: GradientStop[];\n lineDir?: GradientLineDir;\n} | {\n kind: 'blipFill';\n blip: Blip;\n tile?: TileFill;\n stretch?: {\n fillRect?: RelativeRect;\n };\n srcRect?: RelativeRect;\n dpi?: number;\n rotWithShape?: boolean;\n} | {\n kind: 'pattFill';\n preset: string;\n fgClr?: DmlColorWithMods;\n bgClr?: DmlColorWithMods;\n} | {\n kind: 'grpFill';\n};\nexport declare const makeNoFill: () => Fill;\nexport declare const makeSolidFill: (color: DmlColorWithMods) => Fill;\nexport declare const makeGradientFill: (opts: {\n stops: GradientStop[];\n flip?: TileFlip;\n rotWithShape?: boolean;\n lineDir?: GradientLineDir;\n}) => Fill;\nexport declare const makePatternFill: (opts: {\n preset: string;\n fgClr?: DmlColorWithMods;\n bgClr?: DmlColorWithMods;\n}) => Fill;\nexport declare const PRESET_PATTERN_NAMES: ReadonlyArray;\n", "dist/drawing/dml/geometry.d.ts": "import type { Point2D } from './shape-properties.js';\nexport declare const PRESET_SHAPE_NAMES: ReadonlyArray;\nexport declare const isPresetShapeName: (name: string) => boolean;\nexport interface ShapeGuide {\n name: string;\n fmla: string;\n}\nexport interface AdjPoint2D {\n x: string;\n y: string;\n}\nexport interface ConnectionSite {\n ang: string;\n pos: AdjPoint2D;\n}\nexport interface AdjustHandle {\n kind: 'xy' | 'polar';\n pos: AdjPoint2D;\n gdRefX?: string;\n minX?: string;\n maxX?: string;\n gdRefY?: string;\n minY?: string;\n maxY?: string;\n gdRefR?: string;\n minR?: string;\n maxR?: string;\n gdRefAng?: string;\n minAng?: string;\n maxAng?: string;\n}\nexport interface GuideRect {\n l: string;\n t: string;\n r: string;\n b: string;\n}\nexport type PathCommand = {\n kind: 'moveTo';\n pt: Point2D;\n} | {\n kind: 'lnTo';\n pt: Point2D;\n} | {\n kind: 'arcTo';\n wR: string;\n hR: string;\n stAng: string;\n swAng: string;\n} | {\n kind: 'quadBezTo';\n pts: [\n Point2D,\n Point2D\n ];\n} | {\n kind: 'cubicBezTo';\n pts: [\n Point2D,\n Point2D,\n Point2D\n ];\n} | {\n kind: 'close';\n};\nexport type PathFill = 'none' | 'norm' | 'lighten' | 'lightenLess' | 'darken' | 'darkenLess';\nexport interface GeometryPath {\n w?: number;\n h?: number;\n fill?: PathFill;\n stroke?: boolean;\n extrusionOk?: boolean;\n commands: PathCommand[];\n}\nexport interface PresetGeometry {\n kind: 'preset';\n prst: string;\n avLst?: ShapeGuide[];\n}\nexport interface CustomGeometry {\n kind: 'custom';\n avLst?: ShapeGuide[];\n gdLst?: ShapeGuide[];\n ahLst?: AdjustHandle[];\n cxnLst?: ConnectionSite[];\n rect?: GuideRect;\n pathLst: GeometryPath[];\n}\nexport type Geometry = PresetGeometry | CustomGeometry;\nexport declare const makePresetGeometry: (prst: string, avLst?: ShapeGuide[]) => PresetGeometry;\nexport declare const makeCustomGeometry: (opts: {\n pathLst: GeometryPath[];\n avLst?: ShapeGuide[];\n gdLst?: ShapeGuide[];\n ahLst?: AdjustHandle[];\n cxnLst?: ConnectionSite[];\n rect?: GuideRect;\n}) => CustomGeometry;\n", "dist/drawing/dml/line.d.ts": "import type { Fill } from './fill.js';\nexport type PresetDash = 'solid' | 'dot' | 'dash' | 'lgDash' | 'dashDot' | 'lgDashDot' | 'lgDashDotDot' | 'sysDash' | 'sysDot' | 'sysDashDot' | 'sysDashDotDot';\ntype LineDash = {\n kind: 'preset';\n val: PresetDash;\n} | {\n kind: 'custDash';\n pattern: number[];\n};\nexport type LineCap = 'rnd' | 'sq' | 'flat';\nexport type LineCompound = 'sng' | 'dbl' | 'thickThin' | 'thinThick' | 'tri';\ntype LineAlign = 'ctr' | 'in';\ntype LineJoin = {\n kind: 'round';\n} | {\n kind: 'bevel';\n} | {\n kind: 'miter';\n lim?: number;\n};\nexport type LineEndType = 'none' | 'triangle' | 'stealth' | 'diamond' | 'oval' | 'arrow';\nexport type LineEndSize = 'sm' | 'med' | 'lg';\nexport interface LineEnd {\n type?: LineEndType;\n w?: LineEndSize;\n len?: LineEndSize;\n}\nexport interface LineProperties {\n w?: number;\n cap?: LineCap;\n cmpd?: LineCompound;\n algn?: LineAlign;\n fill?: Fill;\n dash?: LineDash;\n join?: LineJoin;\n headEnd?: LineEnd;\n tailEnd?: LineEnd;\n}\nexport declare const makeLine: (opts?: Partial) => LineProperties;\nexport {};\n", "dist/drawing/dml/shape-properties.d.ts": "import type { Point2D, PositiveSize2D } from '../anchor.js';\nimport type { EffectsRef } from './effect.js';\nimport type { Fill } from './fill.js';\nimport type { Geometry } from './geometry.js';\nimport type { LineProperties } from './line.js';\nexport type { Point2D, PositiveSize2D };\nexport type BlackWhiteMode = 'clr' | 'auto' | 'gray' | 'ltGray' | 'invGray' | 'grayWhite' | 'blackGray' | 'blackWhite' | 'black' | 'white' | 'hidden';\nexport interface Transform2D {\n off?: Point2D;\n ext?: PositiveSize2D;\n rot?: number;\n flipH?: boolean;\n flipV?: boolean;\n chOff?: Point2D;\n chExt?: PositiveSize2D;\n}\nexport interface ShapeProperties {\n bwMode?: BlackWhiteMode;\n xfrm?: Transform2D;\n geometry?: Geometry;\n fill?: Fill;\n ln?: LineProperties;\n effects?: EffectsRef;\n}\nexport declare const makeShapeProperties: (opts?: Partial) => ShapeProperties;\n", "dist/drawing/dml/text.d.ts": "import type { DmlColorWithMods } from './colors.js';\nimport type { EffectsRef } from './effect.js';\nimport type { Fill } from './fill.js';\nimport type { LineProperties } from './line.js';\nexport type FontAlign = 'auto' | 't' | 'ctr' | 'base' | 'b';\nexport type ParagraphAlign = 'l' | 'ctr' | 'r' | 'just' | 'justLow' | 'dist' | 'thaiDist';\nexport type TextUnderline = 'none' | 'words' | 'sng' | 'dbl' | 'heavy' | 'dotted' | 'dottedHeavy' | 'dash' | 'dashHeavy' | 'dashLong' | 'dashLongHeavy' | 'dotDash' | 'dotDashHeavy' | 'dotDotDash' | 'dotDotDashHeavy' | 'wavy' | 'wavyHeavy' | 'wavyDbl';\nexport type TextStrike = 'noStrike' | 'sngStrike' | 'dblStrike';\nexport type TextCap = 'none' | 'small' | 'all';\nexport type TextOverflow = 'overflow' | 'ellipsis' | 'clip';\nexport type TextHorzOverflow = 'overflow' | 'clip';\nexport type TextVertical = 'horz' | 'vert' | 'vert270' | 'wordArtVert' | 'eaVert' | 'mongolianVert' | 'wordArtVertRtl';\nexport type TextWrap = 'none' | 'square';\nexport type TextAnchor = 't' | 'ctr' | 'b' | 'just' | 'dist';\nexport type TextSpacing = {\n kind: 'pct';\n val: number;\n} | {\n kind: 'pts';\n val: number;\n};\nexport interface TabStop {\n pos: number;\n algn?: 'l' | 'ctr' | 'r' | 'dec';\n}\nexport interface TextFont {\n typeface: string;\n panose?: string;\n pitchFamily?: number;\n charset?: number;\n}\nexport interface HyperlinkInfo {\n rId?: string;\n invalidUrl?: string;\n action?: string;\n tgtFrame?: string;\n tooltip?: string;\n history?: boolean;\n highlightClick?: boolean;\n endSnd?: boolean;\n}\nexport interface RunProperties {\n kumimoji?: boolean;\n lang?: string;\n altLang?: string;\n sz?: number;\n b?: boolean;\n i?: boolean;\n u?: TextUnderline;\n strike?: TextStrike;\n kern?: number;\n cap?: TextCap;\n spc?: number;\n normalizeH?: boolean;\n baseline?: number;\n noProof?: boolean;\n dirty?: boolean;\n err?: boolean;\n smtClean?: boolean;\n smtId?: number;\n bmk?: string;\n rtl?: boolean;\n ln?: LineProperties;\n fill?: Fill;\n effects?: EffectsRef;\n highlight?: DmlColorWithMods;\n uLn?: 'follow' | LineProperties;\n uFill?: 'follow' | Fill;\n latin?: TextFont;\n ea?: TextFont;\n cs?: TextFont;\n sym?: TextFont;\n hlinkClick?: HyperlinkInfo;\n hlinkMouseOver?: HyperlinkInfo;\n}\nexport type BulletProperties = {\n kind: 'none';\n} | {\n kind: 'char';\n char: string;\n} | {\n kind: 'autoNum';\n type: string;\n startAt?: number;\n} | {\n kind: 'blip';\n embedRId?: string;\n linkRId?: string;\n};\nexport interface ParagraphProperties {\n marL?: number;\n marR?: number;\n lvl?: number;\n indent?: number;\n algn?: ParagraphAlign;\n defTabSz?: number;\n rtl?: boolean;\n eaLnBrk?: boolean;\n fontAlgn?: FontAlign;\n latinLnBrk?: boolean;\n hangingPunct?: boolean;\n lnSpc?: TextSpacing;\n spcBef?: TextSpacing;\n spcAft?: TextSpacing;\n tabLst?: TabStop[];\n defRPr?: RunProperties;\n bullet?: BulletProperties;\n buFont?: 'follow' | TextFont;\n buClr?: 'follow' | DmlColorWithMods;\n buSz?: 'follow' | {\n kind: 'pct';\n val: number;\n } | {\n kind: 'pts';\n val: number;\n };\n}\nexport type TextRun = {\n kind: 'r';\n rPr?: RunProperties;\n t: string;\n} | {\n kind: 'br';\n rPr?: RunProperties;\n} | {\n kind: 'fld';\n id: string;\n type?: string;\n rPr?: RunProperties;\n pPr?: ParagraphProperties;\n t?: string;\n};\nexport interface TextParagraph {\n pPr?: ParagraphProperties;\n runs: TextRun[];\n endParaRPr?: RunProperties;\n}\nexport type AutoFit = {\n kind: 'noAutofit';\n} | {\n kind: 'normAutofit';\n fontScale?: number;\n lnSpcReduction?: number;\n} | {\n kind: 'spAutoFit';\n};\nexport interface TextBodyProperties {\n rot?: number;\n spcFirstLastPara?: boolean;\n vertOverflow?: TextOverflow;\n horzOverflow?: TextHorzOverflow;\n vert?: TextVertical;\n wrap?: TextWrap;\n lIns?: number;\n tIns?: number;\n rIns?: number;\n bIns?: number;\n numCol?: number;\n spcCol?: number;\n rtlCol?: boolean;\n fromWordArt?: boolean;\n anchor?: TextAnchor;\n anchorCtr?: boolean;\n forceAA?: boolean;\n upright?: boolean;\n compatLnSpc?: boolean;\n autoFit?: AutoFit;\n flatTxZ?: number;\n}\nexport interface TextListStyle {\n defPPr?: ParagraphProperties;\n lvl1pPr?: ParagraphProperties;\n lvl2pPr?: ParagraphProperties;\n lvl3pPr?: ParagraphProperties;\n lvl4pPr?: ParagraphProperties;\n lvl5pPr?: ParagraphProperties;\n lvl6pPr?: ParagraphProperties;\n lvl7pPr?: ParagraphProperties;\n lvl8pPr?: ParagraphProperties;\n lvl9pPr?: ParagraphProperties;\n}\nexport interface TextBody {\n bodyPr: TextBodyProperties;\n lstStyle?: TextListStyle;\n paragraphs: TextParagraph[];\n}\nexport declare const makeRunProperties: (opts?: Partial) => RunProperties;\nexport declare const makeRun: (text: string, rPr?: RunProperties) => TextRun;\nexport declare const makeBreak: (rPr?: RunProperties) => TextRun;\nexport declare const makeParagraph: (runs: TextRun[], pPr?: ParagraphProperties, endParaRPr?: RunProperties) => TextParagraph;\nexport declare const makeTextBody: (paragraphs: TextParagraph[], bodyPr?: TextBodyProperties, lstStyle?: TextListStyle) => TextBody;\nexport declare const makeSimpleTextBody: (text: string, rPr?: RunProperties) => TextBody;\n", "dist/drawing/drawing.d.ts": "import type { ChartSpace } from '../chart/chart.js';\nimport type { CxChartSpace } from '../chart/cx/chartex.js';\nimport type { DrawingAnchor } from './anchor.js';\nimport type { DmlColorWithMods } from './dml/colors.js';\nimport type { ShapeProperties } from './dml/shape-properties.js';\nimport type { TextBody } from './dml/text.js';\nimport type { XlsxImage } from './image.js';\nexport interface ChartReference {\n rId?: string;\n space?: ChartSpace;\n cxSpace?: CxChartSpace;\n isCx?: boolean;\n}\nexport interface PictureReference {\n rId?: string;\n image?: XlsxImage;\n name?: string;\n descr?: string;\n hidden?: boolean;\n spPr?: ShapeProperties;\n}\nexport interface ShapeStyleMatrixRef {\n idx: number;\n color?: DmlColorWithMods;\n}\nexport interface ShapeStyle {\n lnRef: ShapeStyleMatrixRef;\n fillRef: ShapeStyleMatrixRef;\n effectRef: ShapeStyleMatrixRef;\n fontRef: {\n idx: 'major' | 'minor' | 'none';\n color?: DmlColorWithMods;\n };\n}\nexport interface ShapeReference {\n connector?: boolean;\n textBox?: boolean;\n name?: string;\n descr?: string;\n hidden?: boolean;\n textLink?: string;\n spPr: ShapeProperties;\n style?: ShapeStyle;\n txBody?: TextBody;\n}\nexport interface DrawingItem {\n anchor: DrawingAnchor;\n content: {\n kind: 'chart';\n chart: ChartReference;\n } | {\n kind: 'picture';\n picture: PictureReference;\n } | {\n kind: 'shape';\n shape: ShapeReference;\n } | {\n kind: 'unsupported';\n rawTag: string;\n };\n raw?: import('../xml/tree.js').XmlNode;\n}\nexport interface Drawing {\n items: DrawingItem[];\n rawChildren?: Array<{\n beforeItem: number;\n node: import('../xml/tree.js').XmlNode;\n }>;\n rawRels?: import('../packaging/relationships.js').Relationships;\n}\nexport declare function makeDrawing(items?: DrawingItem[]): Drawing;\nexport declare function makeChartDrawingItem(anchor: DrawingAnchor, chart?: ChartReference): DrawingItem;\nexport declare function makePictureDrawingItem(anchor: DrawingAnchor, picture: PictureReference | XlsxImage): DrawingItem;\nexport declare function makeShapeDrawingItem(anchor: DrawingAnchor, shape: ShapeReference): DrawingItem;\nimport type { Worksheet } from '../worksheet/worksheet.js';\nexport declare const addImageAt: (ws: Worksheet, at: string, image: XlsxImage | Uint8Array, opts?: {\n widthPx?: number;\n heightPx?: number;\n}) => DrawingItem;\nexport declare const addChartAt: (ws: Worksheet, at: string, chart: ChartReference, opts?: {\n widthPx?: number;\n heightPx?: number;\n}) => DrawingItem;\nexport declare const listImagesOnSheet: (ws: Worksheet) => ReadonlyArray;\nexport declare const listChartsOnSheet: (ws: Worksheet) => ReadonlyArray;\nexport declare const removeAllDrawingItems: (ws: Worksheet) => number;\nexport declare const removeAllImages: (ws: Worksheet) => number;\nexport declare const removeAllCharts: (ws: Worksheet) => number;\n", "dist/drawing/image.d.ts": "export type XlsxImageFormat = 'png' | 'jpeg' | 'gif' | 'bmp' | 'webp' | 'tiff' | 'svg' | 'emf' | 'wmf';\nexport declare const IMAGE_FORMAT_EXTENSION: Readonly>;\nexport declare const IMAGE_FORMAT_MIME: Readonly>;\nexport interface XlsxImage {\n bytes: Uint8Array;\n format: XlsxImageFormat;\n width: number;\n height: number;\n path?: string;\n rId?: string;\n}\nexport declare function detectImageFormat(bytes: Uint8Array): XlsxImageFormat | undefined;\ninterface Dimensions {\n width: number;\n height: number;\n}\nexport declare function detectImageDimensions(bytes: Uint8Array, format: XlsxImageFormat): Dimensions;\nexport declare function loadImage(bytes: Uint8Array, opts?: {\n format?: XlsxImageFormat;\n width?: number;\n height?: number;\n}): XlsxImage;\nexport {};\n", "dist/drawing/index.d.ts": "export type { ChartReference, Drawing, DrawingItem, PictureReference, ShapeReference, ShapeStyle, ShapeStyleMatrixRef, } from './drawing.js';\nexport { addChartAt, addImageAt, listChartsOnSheet, listImagesOnSheet, makeChartDrawingItem, makeDrawing, makePictureDrawingItem, makeShapeDrawingItem, removeAllCharts, removeAllDrawingItems, removeAllImages, } from './drawing.js';\nexport type { XlsxImage, XlsxImageFormat } from './image.js';\nexport { loadImage } from './image.js';\nexport type { AnchorMarker, DrawingAnchor, Point2D, PositiveSize2D, } from './anchor.js';\nexport { makeOneCellAnchor } from './anchor.js';\nexport type { BlackWhiteMode, ShapeProperties, Transform2D } from './dml/shape-properties.js';\nexport { makeShapeProperties } from './dml/shape-properties.js';\nexport type { CustomGeometry, Geometry, PresetGeometry } from './dml/geometry.js';\nexport { makePresetGeometry, PRESET_SHAPE_NAMES } from './dml/geometry.js';\nexport type { LineEnd, LineEndType, LineProperties, PresetDash } from './dml/line.js';\nexport { makeLine } from './dml/line.js';\nexport type { ColorMod, DmlColor, DmlColorWithMods, SchemeColorName } from './dml/colors.js';\nexport { makeColor, makeSchemeColor, makeSrgbColor, SCHEME_COLOR_NAMES, VALUED_COLOR_MOD_KINDS, VALUELESS_COLOR_MOD_KINDS, } from './dml/colors.js';\nexport type { Blip, BlipEffect, Fill, GradientLineDir, GradientStop, RelativeRect, TileFill, TileFlip, } from './dml/fill.js';\nexport { makeGradientFill, makeNoFill, makePatternFill, makeSolidFill, PRESET_PATTERN_NAMES, } from './dml/fill.js';\nexport type { AutoFit, BulletProperties, FontAlign, HyperlinkInfo, ParagraphAlign, ParagraphProperties, RunProperties, TabStop, TextAnchor, TextBody, TextBodyProperties, TextCap, TextFont, TextHorzOverflow, TextListStyle, TextOverflow, TextParagraph, TextRun, TextSpacing, TextStrike, TextUnderline, TextVertical, TextWrap, } from './dml/text.js';\nexport { makeBreak, makeParagraph, makeRun, makeRunProperties, makeSimpleTextBody, makeTextBody, } from './dml/text.js';\n", "dist/io/browser.d.ts": "import type { BufferedSinkWriter, XlsxSink } from './sink.js';\nimport type { XlsxSource } from './source.js';\nexport declare function fromBlob(blob: Blob): XlsxSource;\nexport declare function fromResponse(response: Response): XlsxSource;\nexport declare function fromStream(stream: ReadableStream): XlsxSource;\nexport declare function fromArrayBuffer(buf: ArrayBuffer | Uint8Array): XlsxSource;\nexport declare function toBlob(mime?: string): XlsxSink & {\n toBytes(): BufferedSinkWriter;\n result(): Blob;\n};\nexport declare function toArrayBuffer(): XlsxSink & {\n toBytes(): BufferedSinkWriter;\n result(): ArrayBuffer;\n};\n", "dist/io/index.d.ts": "export type { BufferedSinkWriter, XlsxSink } from './sink.js';\nexport type { XlsxSource } from './source.js';\nexport { fromArrayBuffer, fromBlob, fromResponse, fromStream, toArrayBuffer, toBlob, } from './browser.js';\nexport type { LoadOptions } from './load.js';\nexport { loadWorkbook } from './load.js';\nexport type { SaveOptions } from './save.js';\nexport { saveWorkbook, workbookToBytes } from './save.js';\n", "dist/io/load.d.ts": "import type { XlsxSource } from '../io/source.js';\nimport { type Relationships } from '../packaging/relationships.js';\nimport { type SheetState, type Workbook } from '../workbook/workbook.js';\nimport { type ContentLimits } from '../worksheet/content-budget.js';\nimport { type XmlNode } from '../xml/tree.js';\nimport type { DecompressionLimits } from '../zip/decompression-guard.js';\nimport { type ZipArchive } from '../zip/reader.js';\nexport interface LoadOptions {\n decompressionLimits?: DecompressionLimits | false;\n contentLimits?: ContentLimits;\n}\nexport declare const OFFICE_DOC_REL_TYPE = \"http://schemas.openxmlformats.org/officeDocument/2006/relationships/officeDocument\";\nexport declare const WORKBOOK_TAG = \"{http://schemas.openxmlformats.org/spreadsheetml/2006/main}workbook\";\ninterface OptionalWorkbookPart {\n name: string;\n relType: string;\n conventionalPath: string;\n}\nexport declare const SHARED_STRINGS_PART: OptionalWorkbookPart;\nexport declare const STYLES_PART: OptionalWorkbookPart;\nexport declare function readOptionalWorkbookPart(archive: ZipArchive, workbookPath: string, wbRels: Relationships, part: OptionalWorkbookPart): Uint8Array | undefined;\ninterface SheetEntry {\n name: string;\n sheetId: number;\n rId: string;\n state: SheetState;\n}\nexport declare function parseDate1904(workbookRoot: XmlNode): boolean;\nexport declare function parseSheetEntries(workbookRoot: XmlNode): SheetEntry[];\nexport declare function loadWorkbook(source: XlsxSource, opts?: LoadOptions): Promise;\nexport {};\n", "dist/io/node-fs.d.ts": "import { Readable, Writable } from 'node:stream';\nimport type { BufferedSinkWriter, XlsxSink } from './sink.js';\nimport type { XlsxSource } from './source.js';\nexport declare function fromFile(path: string): XlsxSource;\nexport declare function fromFileSync(path: string): XlsxSource;\nexport declare function toFile(path: string): XlsxSink & {\n toBytes(): BufferedSinkWriter;\n result(): string;\n};\nexport declare function fromReadable(readable: Readable): XlsxSource;\nexport declare function toWritable(writable: Writable): XlsxSink & {\n toBytes(): BufferedSinkWriter;\n result(): Writable;\n};\n", "dist/io/node-save.d.ts": "import type { Workbook } from '../workbook/workbook.js';\nimport { type SaveOptions } from './save.js';\nexport declare function workbookToBuffer(wb: Workbook, opts?: SaveOptions): Promise;\n", "dist/io/node.d.ts": "import type { BufferedSinkWriter, XlsxSink } from './sink.js';\nimport type { XlsxSource } from './source.js';\nexport declare function fromBuffer(buf: Buffer | Uint8Array): XlsxSource;\nexport declare function toBuffer(): XlsxSink & {\n toBytes(): BufferedSinkWriter;\n result(): Buffer;\n};\n", "dist/io/save.d.ts": "import type { XlsxSink } from '../io/sink.js';\nimport { type Workbook } from '../workbook/workbook.js';\nimport { type CompressionLevel } from '../zip/writer.js';\nexport interface SaveOptions {\n mtime?: Date;\n compressionLevel?: CompressionLevel;\n}\nexport declare function workbookToBytes(wb: Workbook, opts?: SaveOptions): Promise;\nexport declare function saveWorkbook(wb: Workbook, sink: XlsxSink, opts?: SaveOptions): Promise;\n", "dist/io/sink.d.ts": "export interface BufferedSinkWriter {\n write(chunk: Uint8Array): void;\n finish(): Promise;\n abort?(cause?: unknown): void | Promise;\n}\nexport interface XlsxSink {\n toBytes(): BufferedSinkWriter;\n toStream?(): WritableStream;\n}\n", "dist/io/source.d.ts": "export interface XlsxSource {\n toBytes(): Promise;\n toStream?(): ReadableStream;\n}\n", "dist/node.d.ts": "export { fromBuffer, toBuffer } from './io/node.js';\nexport { fromFile, fromFileSync, fromReadable, toFile, toWritable } from './io/node-fs.js';\nexport { workbookToBuffer } from './io/node-save.js';\n", "dist/packaging/core.d.ts": "export interface CoreProperties {\n category?: string;\n contentStatus?: string;\n created?: string;\n creator?: string;\n description?: string;\n identifier?: string;\n keywords?: string;\n language?: string;\n lastModifiedBy?: string;\n lastPrinted?: string;\n modified?: string;\n revision?: string;\n subject?: string;\n title?: string;\n version?: string;\n}\nexport declare function makeCoreProperties(): CoreProperties;\nexport declare function corePropsToBytes(p: CoreProperties): Uint8Array;\nexport declare function corePropsFromBytes(bytes: Uint8Array | string): CoreProperties;\nimport type { Workbook } from '../workbook/workbook.js';\nexport declare const setWorkbookCreator: (wb: Workbook, creator: string) => void;\nexport declare const setWorkbookTitle: (wb: Workbook, title: string) => void;\nexport declare const setWorkbookSubject: (wb: Workbook, subject: string) => void;\nexport declare const setWorkbookDescription: (wb: Workbook, description: string) => void;\nexport declare const setWorkbookKeywords: (wb: Workbook, keywords: string) => void;\nexport declare const setWorkbookLastModifiedBy: (wb: Workbook, name: string) => void;\nexport declare const setWorkbookCategory: (wb: Workbook, category: string) => void;\n", "dist/packaging/custom.d.ts": "import { type XmlNode } from '../xml/tree.js';\nexport interface CustomProperty {\n name: string;\n pid: number;\n fmtid?: string;\n value: XmlNode;\n}\nexport interface CustomProperties {\n properties: CustomProperty[];\n}\nexport declare function makeCustomProperties(): CustomProperties;\nexport declare function makeStringValue(s: string): XmlNode;\nexport declare function makeAsciiStringValue(s: string): XmlNode;\nexport declare function makeIntValue(n: number): XmlNode;\nexport declare function makeDoubleValue(n: number): XmlNode;\nexport declare function makeBoolValue(b: boolean): XmlNode;\nexport declare function makeFiletimeValue(iso: string): XmlNode;\nexport declare function makeDateValue(iso: string): XmlNode;\nexport declare function readStringValue(v: XmlNode): string | undefined;\nexport declare function readIntValue(v: XmlNode): number | undefined;\nexport declare function readDoubleValue(v: XmlNode): number | undefined;\nexport declare function readBoolValue(v: XmlNode): boolean | undefined;\nexport declare function readFiletimeValue(v: XmlNode): string | undefined;\nexport declare function appendCustomProperty(props: CustomProperties, name: string, value: XmlNode, opts?: {\n pid?: number;\n fmtid?: string;\n}): CustomProperty;\nexport declare function findCustomPropertyByName(props: CustomProperties, name: string): CustomProperty | undefined;\nexport declare function customPropsToBytes(p: CustomProperties): Uint8Array;\nexport declare function customPropsFromBytes(bytes: Uint8Array | string): CustomProperties;\nimport type { Workbook } from '../workbook/workbook.js';\nexport declare const setCustomStringProperty: (wb: Workbook, name: string, value: string) => CustomProperty;\nexport declare const setCustomNumberProperty: (wb: Workbook, name: string, value: number) => CustomProperty;\nexport declare const setCustomBoolProperty: (wb: Workbook, name: string, value: boolean) => CustomProperty;\nexport declare const setCustomDateProperty: (wb: Workbook, name: string, value: Date | string) => CustomProperty;\nexport declare const getCustomPropertyValue: (wb: Workbook, name: string) => string | number | boolean | undefined;\nexport declare const removeCustomProperty: (wb: Workbook, name: string) => boolean;\nexport declare const listCustomProperties: (wb: Workbook) => ReadonlyArray;\n", "dist/packaging/extended.d.ts": "import type { XmlNode } from '../xml/tree.js';\nexport interface ExtendedProperties {\n application?: string;\n appVersion?: string;\n characters?: number;\n charactersWithSpaces?: number;\n company?: string;\n digitalSignature?: XmlNode;\n docSecurity?: number;\n hLinks?: XmlNode;\n headingPairs?: XmlNode;\n hiddenSlides?: number;\n hyperlinkBase?: string;\n hyperlinks?: XmlNode;\n hyperlinksChanged?: boolean;\n lines?: number;\n linksUpToDate?: boolean;\n manager?: string;\n mmClips?: number;\n notes?: number;\n pages?: number;\n paragraphs?: number;\n presentationFormat?: string;\n scaleCrop?: boolean;\n sharedDoc?: boolean;\n slides?: number;\n template?: string;\n titlesOfParts?: XmlNode;\n totalTime?: number;\n words?: number;\n}\nexport declare function makeExtendedProperties(): ExtendedProperties;\nexport declare function extendedPropsToBytes(p: ExtendedProperties): Uint8Array;\nexport declare function extendedPropsFromBytes(bytes: Uint8Array | string): ExtendedProperties;\nimport type { Workbook } from '../workbook/workbook.js';\nexport declare const setWorkbookCompany: (wb: Workbook, company: string) => void;\nexport declare const setWorkbookManager: (wb: Workbook, manager: string) => void;\nexport declare const setWorkbookApplication: (wb: Workbook, application: string) => void;\nexport declare const setWorkbookAppVersion: (wb: Workbook, version: string) => void;\nexport declare const setWorkbookHyperlinkBase: (wb: Workbook, base: string) => void;\n", "dist/packaging/index.d.ts": "export type { CoreProperties } from './core.js';\nexport { corePropsFromBytes, corePropsToBytes, makeCoreProperties, setWorkbookCategory, setWorkbookCreator, setWorkbookDescription, setWorkbookKeywords, setWorkbookLastModifiedBy, setWorkbookSubject, setWorkbookTitle, } from './core.js';\nexport type { CustomProperties, CustomProperty } from './custom.js';\nexport { appendCustomProperty, customPropsFromBytes, customPropsToBytes, findCustomPropertyByName, getCustomPropertyValue, listCustomProperties, makeAsciiStringValue, makeBoolValue, makeCustomProperties, makeDateValue, makeDoubleValue, makeFiletimeValue, makeIntValue, makeStringValue, readBoolValue, readDoubleValue, readFiletimeValue, readIntValue, readStringValue, removeCustomProperty, setCustomBoolProperty, setCustomDateProperty, setCustomNumberProperty, setCustomStringProperty, } from './custom.js';\nexport type { ExtendedProperties } from './extended.js';\nexport { extendedPropsFromBytes, extendedPropsToBytes, makeExtendedProperties, setWorkbookAppVersion, setWorkbookApplication, setWorkbookCompany, setWorkbookHyperlinkBase, setWorkbookManager, } from './extended.js';\nexport type { DefaultEntry, Manifest, OverrideEntry } from './manifest.js';\nexport { addDefault, addOverride, findOverride, findOverrideByContentType, makeManifest, manifestFromBytes, manifestToBytes, } from './manifest.js';\nexport type { Relationship, Relationships } from './relationships.js';\nexport { appendRel, findAllByType, findById, findByType, makeRelationships, relsFromBytes, relsToBytes, } from './relationships.js';\n", "dist/packaging/manifest.d.ts": "export interface DefaultEntry {\n ext: string;\n contentType: string;\n}\nexport interface OverrideEntry {\n partName: string;\n contentType: string;\n}\nexport interface Manifest {\n defaults: DefaultEntry[];\n overrides: OverrideEntry[];\n}\nexport declare function makeManifest(): Manifest;\nexport declare function addDefault(m: Manifest, ext: string, contentType: string): void;\nexport declare function addOverride(m: Manifest, partName: string, contentType: string): void;\nexport declare function findOverride(m: Manifest, partName: string): OverrideEntry | undefined;\nexport declare function findOverrideByContentType(m: Manifest, contentType: string): OverrideEntry | undefined;\nexport declare function manifestToBytes(m: Manifest): Uint8Array;\nexport declare function manifestFromBytes(bytes: Uint8Array | string): Manifest;\n", "dist/packaging/relationships.d.ts": "export interface Relationship {\n id: string;\n type: string;\n target: string;\n targetMode?: 'External' | 'Internal';\n}\nexport interface Relationships {\n rels: Relationship[];\n}\nexport declare function makeRelationships(): Relationships;\nexport declare function appendRel(rels: Relationships, type: string, target: string, targetMode?: 'External'): Relationship;\nexport declare function findById(rels: Relationships, id: string): Relationship | undefined;\nexport declare function indexRelsById(rels: Relationships): Map;\nexport declare function findByType(rels: Relationships, type: string): Relationship | undefined;\nexport declare function findAllByType(rels: Relationships, type: string): Relationship[];\nexport declare function relsToBytes(rels: Relationships): Uint8Array;\nexport declare function relsFromBytes(bytes: Uint8Array | string): Relationships;\n", "dist/schema/core.d.ts": "export type Primitive = 'string' | 'int' | 'float' | 'bool';\nexport interface AttrDef {\n kind: Primitive | 'enum';\n values?: readonly string[];\n optional?: boolean;\n default?: unknown;\n min?: number;\n max?: number;\n xmlName?: string;\n xmlNs?: string;\n}\nexport type ElementDef = {\n kind: 'text';\n key: string;\n name?: string;\n xmlNs?: string;\n primitive: Primitive;\n optional?: boolean;\n default?: unknown;\n attrs?: Record;\n} | {\n kind: 'object';\n key: string;\n name?: string;\n xmlNs?: string;\n schema: () => Schema;\n optional?: boolean;\n} | {\n kind: 'sequence';\n key: string;\n itemName: string;\n itemNs?: string;\n itemSchema: () => Schema;\n container?: {\n name: string;\n xmlNs?: string;\n count?: boolean;\n };\n} | {\n kind: 'empty';\n key: string;\n name?: string;\n xmlNs?: string;\n} | {\n kind: 'nested';\n key: string;\n name?: string;\n xmlNs?: string;\n primitive: Primitive | 'enum';\n values?: readonly string[];\n valAttr?: string;\n min?: number;\n max?: number;\n optional?: boolean;\n default?: unknown;\n} | {\n kind: 'raw';\n key: string;\n name?: string;\n xmlNs?: string;\n optional?: boolean;\n};\nexport interface Schema {\n tagname: string;\n xmlNs?: string;\n attrs: {\n readonly [K in keyof T & string]?: AttrDef;\n };\n elements: ReadonlyArray;\n postParse?: (value: T, node: import('../xml/tree.js').XmlNode) => T;\n preSerialize?: (value: T) => T;\n}\nexport declare function defineSchema(s: Schema): Schema;\n", "dist/schema/index.d.ts": "export type { AttrDef, ElementDef, Primitive, Schema } from './core.js';\nexport { defineSchema } from './core.js';\nexport { fromTree, toTree } from './serialize.js';\n", "dist/schema/serialize.d.ts": "import { type XmlNode } from '../xml/tree.js';\nimport type { Schema } from './core.js';\nexport declare function toTree(value: T, schema: Schema): XmlNode;\nexport declare function fromTree(node: XmlNode, schema: Schema): T;\n", "dist/streaming/index.d.ts": "export { loadWorkbookStream, type IterRowsOptions, type LoadWorkbookStreamOptions, type ReadOnlyCell, type ReadOnlyWorkbook, type ReadOnlyWorksheet, } from './read-only.js';\nexport { createWriteOnlyWorkbook, type WriteOnlyOptions, type WriteOnlyRowItem, type WriteOnlyStyle, type WriteOnlyWorkbook, type WriteOnlyWorksheet, } from './write-only.js';\n", "dist/streaming/read-only.d.ts": "import { type ContentLimits } from '../worksheet/content-budget.js';\nimport type { DecompressionLimits } from '../zip/decompression-guard.js';\nimport type { CellValue } from '../cell/cell.js';\nimport type { XlsxSource } from '../io/source.js';\nimport { type Stylesheet } from '../styles/stylesheet.js';\nexport interface IterRowsOptions {\n minRow?: number;\n maxRow?: number;\n minCol?: number;\n maxCol?: number;\n}\nexport interface ReadOnlyCell {\n readonly row: number;\n readonly col: number;\n readonly value: CellValue;\n readonly styleId: number;\n}\nexport interface ReadOnlyWorksheet {\n title: string;\n iterRows(opts?: IterRowsOptions): AsyncIterableIterator;\n iterValues(opts?: IterRowsOptions): AsyncIterableIterator;\n}\nexport interface ReadOnlyWorkbook {\n sheetNames: string[];\n styles: Stylesheet;\n date1904: boolean;\n openWorksheet(name: string): ReadOnlyWorksheet;\n close(): Promise;\n}\nexport interface LoadWorkbookStreamOptions {\n decompressionLimits?: DecompressionLimits | false;\n contentLimits?: ContentLimits;\n}\nexport declare function loadWorkbookStream(source: XlsxSource, opts?: LoadWorkbookStreamOptions): Promise;\n", "dist/streaming/write-only.d.ts": "import type { CellValue } from '../cell/cell.js';\nimport type { XlsxSink } from '../io/sink.js';\nimport { type CellStyleSpec } from '../styles/stylesheet.js';\nimport { type FreezeCounts } from '../worksheet/views.js';\nimport { type CompressionLevel } from '../zip/writer.js';\nexport interface WriteOnlyOptions {\n mtime?: Date;\n compressionLevel?: CompressionLevel;\n}\nexport type WriteOnlyStyle = CellStyleSpec;\nexport type WriteOnlyRowItem = CellValue | {\n value: CellValue;\n style?: WriteOnlyStyle;\n};\nexport interface WriteOnlyWorksheet {\n readonly title: string;\n appendRow(row: WriteOnlyRowItem[]): Promise;\n setColumnWidth(col: number, width: number): void;\n setFreezePanes(topLeft: string | FreezeCounts): void;\n close(): Promise;\n}\nexport interface WriteOnlyWorkbook {\n addWorksheet(title: string): Promise;\n finalize(): Promise;\n abort(cause?: unknown): void;\n}\nexport declare function createWriteOnlyWorkbook(sink: XlsxSink, opts?: WriteOnlyOptions): Promise;\n", "dist/styles/alignment.d.ts": "export type HorizontalAlignment = 'general' | 'left' | 'center' | 'right' | 'fill' | 'justify' | 'centerContinuous' | 'distributed';\nexport type VerticalAlignment = 'top' | 'center' | 'bottom' | 'justify' | 'distributed';\nexport declare const HORIZONTAL_ALIGNMENTS: ReadonlyArray;\nexport declare const VERTICAL_ALIGNMENTS: ReadonlyArray;\nexport interface Alignment {\n readonly horizontal?: HorizontalAlignment;\n readonly vertical?: VerticalAlignment;\n readonly textRotation?: number;\n readonly wrapText?: boolean;\n readonly shrinkToFit?: boolean;\n readonly indent?: number;\n readonly relativeIndent?: number;\n readonly justifyLastLine?: boolean;\n readonly readingOrder?: number;\n}\nexport declare function makeAlignment(opts?: Partial): Alignment;\nexport declare const DEFAULT_ALIGNMENT: Alignment;\nexport declare function alignmentToCss(alignment: Alignment | undefined): Record;\n", "dist/styles/borders.d.ts": "import { type Color } from './colors.js';\nexport type SideStyle = 'none' | 'thin' | 'medium' | 'thick' | 'double' | 'hair' | 'dotted' | 'dashed' | 'dashDot' | 'dashDotDot' | 'mediumDashed' | 'mediumDashDot' | 'mediumDashDotDot' | 'slantDashDot';\nexport declare const SIDE_STYLES: ReadonlyArray;\nexport interface Side {\n readonly style?: SideStyle;\n readonly color?: Color;\n}\nexport declare function makeSide(opts?: Partial): Side;\nexport interface Border {\n readonly left?: Side;\n readonly right?: Side;\n readonly top?: Side;\n readonly bottom?: Side;\n readonly diagonal?: Side;\n readonly vertical?: Side;\n readonly horizontal?: Side;\n readonly diagonalUp?: boolean;\n readonly diagonalDown?: boolean;\n readonly outline?: boolean;\n}\nexport declare function makeBorder(opts?: Partial): Border;\nexport declare const EMPTY_SIDE: Side;\nexport declare const DEFAULT_BORDER: Border;\nexport declare function borderToCss(border: Border | undefined): Record;\n", "dist/styles/cell-style.d.ts": "import type { Cell } from '../cell/cell.js';\nimport type { Workbook } from '../workbook/workbook.js';\nimport type { RangeRef } from '../utils/coordinate.js';\nimport { type Worksheet } from '../worksheet/worksheet.js';\nimport type { Alignment, HorizontalAlignment, VerticalAlignment } from './alignment.js';\nimport type { Border, SideStyle } from './borders.js';\nimport type { Color } from './colors.js';\nimport type { Fill } from './fills.js';\nimport type { Font, FontPatch, UnderlineStyle } from './fonts.js';\nimport type { Protection } from './protection.js';\nimport { type CellStyleSpec } from './stylesheet.js';\nexport declare function getCellFont(wb: Workbook, c: Cell): Font;\nexport declare function getCellFill(wb: Workbook, c: Cell): Fill;\nexport declare function getCellBorder(wb: Workbook, c: Cell): Border;\nexport declare function getCellAlignment(wb: Workbook, c: Cell): Alignment;\nexport declare function getCellProtection(wb: Workbook, c: Cell): Protection;\nexport declare function getCellNumberFormat(wb: Workbook, c: Cell): string;\nexport declare function cellStyleToCss(wb: Workbook, c: Cell): Record;\nexport declare function setCellFont(wb: Workbook, c: Cell, font: Font): void;\nexport declare function setCellFill(wb: Workbook, c: Cell, fill: Fill): void;\nexport declare function setCellBorder(wb: Workbook, c: Cell, border: Border): void;\nexport declare function setCellAlignment(wb: Workbook, c: Cell, alignment: Alignment): void;\nexport declare function setCellProtection(wb: Workbook, c: Cell, protection: Protection): void;\nexport declare function setCellNumberFormat(wb: Workbook, c: Cell, formatCode: string): void;\nexport declare function copyCellStyle(_wb: Workbook, source: Cell, target: Cell): void;\nexport declare function clearCellStyle(_wb: Workbook, c: Cell): void;\nexport declare function clearRangeStyle(wb: Workbook, ws: Worksheet, range: RangeRef): void;\nexport declare function cloneCellStyle(sourceWb: Workbook, source: Cell, targetWb: Workbook, target: Cell): number;\nexport declare function registerCellStyle(wb: Workbook, spec: CellStyleSpec): number;\nexport declare function setRangeStyle(wb: Workbook, ws: Worksheet, range: RangeRef, spec: CellStyleSpec): void;\nexport declare function setCellStyle(wb: Workbook, c: Cell, spec: CellStyleSpec): void;\nexport declare function setCellBackgroundColor(wb: Workbook, c: Cell, color: string | Partial): void;\nexport declare function clearCellBackground(wb: Workbook, c: Cell): void;\nexport declare function setRangeBackgroundColor(wb: Workbook, ws: Worksheet, range: RangeRef, color: string | Partial): void;\nexport declare function setRangeFont(wb: Workbook, ws: Worksheet, range: RangeRef, font: Font): void;\nexport declare function setRangeNumberFormat(wb: Workbook, ws: Worksheet, range: RangeRef, formatCode: string): void;\nexport declare function setRangeProtection(wb: Workbook, ws: Worksheet, range: RangeRef, protection: Protection | Partial): void;\nexport declare function setRangeWrapText(wb: Workbook, ws: Worksheet, range: RangeRef, on?: boolean): void;\nexport declare function setRangeAlignment(wb: Workbook, ws: Worksheet, range: RangeRef, alignment: Partial, mode?: 'merge' | 'replace'): void;\nexport declare function patchCellFont(wb: Workbook, c: Cell, patch: FontPatch): void;\nexport declare function setBold(wb: Workbook, c: Cell, on?: boolean): void;\nexport declare function setItalic(wb: Workbook, c: Cell, on?: boolean): void;\nexport declare function setStrikethrough(wb: Workbook, c: Cell, on?: boolean): void;\nexport declare function setUnderline(wb: Workbook, c: Cell, style?: UnderlineStyle | boolean): void;\nexport declare function setFontSize(wb: Workbook, c: Cell, size: number): void;\nexport declare function setFontName(wb: Workbook, c: Cell, name: string): void;\nexport declare function setFontColor(wb: Workbook, c: Cell, color: string | Partial): void;\nexport declare function centerCell(wb: Workbook, c: Cell): void;\nexport declare function wrapCellText(wb: Workbook, c: Cell, wrap?: boolean): void;\nexport declare function alignCellHorizontal(wb: Workbook, c: Cell, horizontal: HorizontalAlignment): void;\nexport declare function alignCellVertical(wb: Workbook, c: Cell, vertical: VerticalAlignment): void;\nexport declare function rotateCellText(wb: Workbook, c: Cell, degrees: number): void;\nexport declare function indentCell(wb: Workbook, c: Cell, levels: number): void;\nexport declare function setCellAsCurrency(wb: Workbook, c: Cell, opts?: {\n symbol?: string;\n decimals?: number;\n accounting?: boolean;\n}): void;\nexport declare function setCellAsPercent(wb: Workbook, c: Cell, decimals?: number): void;\nexport declare function setCellAsDate(wb: Workbook, c: Cell, format?: string): void;\nexport declare function setCellAsNumber(wb: Workbook, c: Cell, decimals?: number): void;\nexport declare function formatAsHeader(wb: Workbook, ws: Worksheet, range: RangeRef, opts?: {\n fillColor?: string | Partial;\n fontColor?: string | Partial;\n bold?: boolean;\n bottomBorder?: SideStyle | false;\n bottomBorderColor?: string | Partial;\n}): void;\nexport declare function applyBuiltinStyle(wb: Workbook, c: Cell, name: string): void;\nexport declare function applyNamedStyle(wb: Workbook, c: Cell, name: string): void;\nexport declare function setCellBorderAll(wb: Workbook, c: Cell, opts?: {\n style: SideStyle;\n color?: string | Partial;\n}): void;\nexport declare function setRangeBorderBox(wb: Workbook, ws: Worksheet, range: RangeRef, opts?: {\n style: SideStyle;\n color?: string | Partial;\n inner?: SideStyle;\n}): void;\n", "dist/styles/colors.d.ts": "export interface Color {\n readonly rgb?: string;\n readonly indexed?: number;\n readonly theme?: number;\n readonly auto?: boolean;\n readonly tint?: number;\n}\nexport declare const COLOR_INDEX: readonly string[];\nexport declare const BLACK = \"00000000\";\nexport declare const WHITE = \"00FFFFFF\";\nexport declare const BLUE = \"000000FF\";\nexport declare function normaliseRgb(value: string): string;\nexport declare function makeColor(opts?: Partial): Color;\nexport declare function resolveIndexedColor(idx: number): string | undefined;\nexport declare function rgbColor(hex: string): Color;\nexport declare function colorToHex(color: Color | undefined): string | undefined;\nexport declare function luminance(hex: string): number;\nexport declare function contrastRatio(hexA: string, hexB: string): number;\nexport declare function pickReadableTextColor(backgroundHex: string): 'FF000000' | 'FFFFFFFF';\nexport declare function lighten(hex: string, amount: number): string;\nexport declare function darken(hex: string, amount: number): string;\nexport declare function mixColors(hexA: string, hexB: string, t: number): string;\nexport declare function hexToHsl(hex: string): {\n h: number;\n s: number;\n l: number;\n a: number;\n};\nexport declare function rotateHue(hex: string, degrees: number): string;\nexport declare function adjustSaturation(hex: string, delta: number): string;\nexport declare function adjustLightness(hex: string, delta: number): string;\nexport declare function hslToHex(h: number, s: number, l: number, alpha?: number): string;\n", "dist/styles/differential.d.ts": "import type { Alignment } from './alignment.js';\nimport type { Border } from './borders.js';\nimport type { Fill } from './fills.js';\nimport type { Font } from './fonts.js';\nimport type { NumberFormat } from './numbers.js';\nimport type { Protection } from './protection.js';\nimport type { Stylesheet } from './stylesheet.js';\nexport interface DifferentialStyle {\n readonly font?: Font;\n readonly fill?: Fill;\n readonly border?: Border;\n readonly alignment?: Alignment;\n readonly protection?: Protection;\n readonly numFmt?: NumberFormat;\n}\nexport declare function makeDifferentialStyle(opts?: Partial): DifferentialStyle;\nexport interface StylesheetWithDxfs extends Stylesheet {\n dxfs?: DifferentialStyle[];\n _dxfIdByKey?: Map;\n}\nexport declare function addDxf(ss: Stylesheet, dxf: DifferentialStyle): number;\nexport declare function getDxfs(ss: Stylesheet): ReadonlyArray;\n", "dist/styles/display-text.d.ts": "import type { Cell } from '../cell/cell.js';\nimport type { Workbook } from '../workbook/workbook.js';\nexport declare function getCellDisplayText(wb: Workbook, c: Cell): string;\nexport declare function getCellDate(wb: Workbook, c: Cell): Date | undefined;\n", "dist/styles/fills.d.ts": "import { type Color } from './colors.js';\nexport type PatternType = 'none' | 'solid' | 'darkDown' | 'darkGray' | 'darkGrid' | 'darkHorizontal' | 'darkTrellis' | 'darkUp' | 'darkVertical' | 'gray0625' | 'gray125' | 'lightDown' | 'lightGray' | 'lightGrid' | 'lightHorizontal' | 'lightTrellis' | 'lightUp' | 'lightVertical' | 'mediumGray';\nexport declare const PATTERN_TYPES: ReadonlyArray;\nexport interface PatternFill {\n readonly kind: 'pattern';\n readonly patternType?: PatternType;\n readonly fgColor?: Color;\n readonly bgColor?: Color;\n}\nexport declare function makePatternFill(opts?: Partial>): PatternFill;\nexport interface GradientStop {\n readonly position: number;\n readonly color: Color;\n}\nexport type GradientFillType = 'linear' | 'path';\nexport interface GradientFill {\n readonly kind: 'gradient';\n readonly type: GradientFillType;\n readonly degree?: number;\n readonly left?: number;\n readonly right?: number;\n readonly top?: number;\n readonly bottom?: number;\n readonly stops: ReadonlyArray;\n}\nexport declare function makeGradientStop(position: number, color: Color | Partial): GradientStop;\nexport declare function makeGradientFill(opts?: Partial>): GradientFill;\nexport type Fill = PatternFill | GradientFill;\nexport declare function makeFill(opts: Partial | Partial): Fill;\nexport declare const DEFAULT_EMPTY_FILL: Fill;\nexport declare const DEFAULT_GRAY_FILL: Fill;\nexport declare function fillToCss(fill: Fill | undefined): Record;\n", "dist/styles/fonts.d.ts": "import { type Color } from './colors.js';\nexport type UnderlineStyle = 'single' | 'double' | 'singleAccounting' | 'doubleAccounting' | 'none';\nexport declare const UNDERLINE_STYLES: ReadonlyArray;\nexport type VertAlign = 'baseline' | 'superscript' | 'subscript';\nexport declare const VERT_ALIGNS: ReadonlyArray;\nexport type FontScheme = 'major' | 'minor' | 'none';\nexport declare const FONT_SCHEMES: ReadonlyArray;\nexport interface Font {\n readonly name?: string;\n readonly charset?: number;\n readonly family?: number;\n readonly size?: number;\n readonly color?: Color;\n readonly bold?: boolean;\n readonly italic?: boolean;\n readonly strike?: boolean;\n readonly outline?: boolean;\n readonly shadow?: boolean;\n readonly condense?: boolean;\n readonly extend?: boolean;\n readonly underline?: UnderlineStyle;\n readonly vertAlign?: VertAlign;\n readonly scheme?: FontScheme;\n}\nexport type FontPatch = {\n [K in keyof Font]?: Font[K] | undefined;\n};\nexport declare function makeFont(opts?: FontPatch): Font;\nexport declare const DEFAULT_FONT: Font;\nexport declare function fontToCss(font: Font | undefined): Record;\n", "dist/styles/index.d.ts": "export type { Alignment, HorizontalAlignment, VerticalAlignment } from './alignment.js';\nexport { alignmentToCss, makeAlignment } from './alignment.js';\nexport type { Border, Side, SideStyle } from './borders.js';\nexport { borderToCss, makeBorder, makeSide } from './borders.js';\nexport { alignCellHorizontal, alignCellVertical, applyBuiltinStyle, applyNamedStyle, cellStyleToCss, centerCell, clearCellBackground, clearCellStyle, clearRangeStyle, cloneCellStyle, copyCellStyle, formatAsHeader, indentCell, patchCellFont, registerCellStyle, rotateCellText, setBold, setCellBackgroundColor, setFontColor, setFontName, setFontSize, setItalic, setStrikethrough, setUnderline, wrapCellText, getCellAlignment, getCellBorder, getCellFill, getCellFont, getCellNumberFormat, getCellProtection, setCellAlignment, setCellAsCurrency, setCellAsDate, setCellAsNumber, setCellAsPercent, setCellBorder, setCellBorderAll, setCellFill, setCellFont, setCellNumberFormat, setCellProtection, setCellStyle, setRangeBackgroundColor, setRangeBorderBox, setRangeFont, setRangeNumberFormat, setRangeAlignment, setRangeProtection, setRangeStyle, setRangeWrapText, } from './cell-style.js';\nexport { getCellDate, getCellDisplayText } from './display-text.js';\nexport type { DifferentialStyle } from './differential.js';\nexport { addDxf, makeDifferentialStyle } from './differential.js';\nexport type { NamedStyle, StylesheetNamedStyle } from './named-styles.js';\nexport { addNamedStyle, BUILTIN_NAMED_STYLES, ensureBuiltinStyle } from './named-styles.js';\nexport type { Color } from './colors.js';\nexport { adjustLightness, adjustSaturation, colorToHex, contrastRatio, darken, hexToHsl, hslToHex, lighten, luminance, makeColor, mixColors, normaliseRgb, pickReadableTextColor, resolveIndexedColor, rgbColor, rotateHue, } from './colors.js';\nexport type { Fill, GradientFill, GradientFillType, GradientStop, PatternFill, PatternType } from './fills.js';\nexport { fillToCss, makeFill, makeGradientFill, makeGradientStop, makePatternFill } from './fills.js';\nexport type { Font, FontPatch, FontScheme, UnderlineStyle, VertAlign } from './fonts.js';\nexport { DEFAULT_FONT, fontToCss, makeFont } from './fonts.js';\nexport type { Protection } from './protection.js';\nexport { makeProtection } from './protection.js';\nexport type { CellStyleSpec, CellXf, Stylesheet } from './stylesheet.js';\nexport { addBorder, addCellStyleXf, addCellXf, addFill, addFont, addNumFmt, defaultCellXf, listBorders, listCellStyleXfs, listCellXfs, listFills, listFonts, makeStylesheet, } from './stylesheet.js';\nexport type { NumberFormat } from './numbers.js';\nexport { BUILTIN_FORMATS, BUILTIN_FORMATS_MAX_SIZE, builtinFormatCode, builtinFormatId, classifyDateFormat, FORMAT_DATE_DATETIME, FORMAT_DATE_TIMEDELTA, FORMAT_DATE_YYYYMMDD2, FORMAT_GENERAL, FORMAT_NUMBER, FORMAT_NUMBER_00, FORMAT_PERCENTAGE, FORMAT_PERCENTAGE_00, FORMAT_TEXT, isBuiltinFormat, isDateFormat, isTimedeltaFormat, makeNumberFormat, } from './numbers.js';\n", "dist/styles/named-styles.d.ts": "import type { Alignment } from './alignment.js';\nimport type { Border } from './borders.js';\nimport type { Fill } from './fills.js';\nimport type { Font } from './fonts.js';\nimport { type Stylesheet } from './stylesheet.js';\nexport interface NamedStyle {\n readonly name: string;\n readonly builtinId?: number;\n readonly customBuiltin?: boolean;\n readonly hidden?: boolean;\n readonly iLevel?: number;\n readonly font?: Font;\n readonly fill?: Fill;\n readonly border?: Border;\n readonly alignment?: Alignment;\n readonly protection?: Protection;\n readonly numberFormat?: string;\n}\nimport type { Protection } from './protection.js';\nexport interface StylesheetNamedStyle {\n readonly name: string;\n readonly xfId: number;\n readonly builtinId?: number;\n readonly customBuiltin?: boolean;\n readonly hidden?: boolean;\n readonly iLevel?: number;\n}\nexport declare function addNamedStyle(ss: Stylesheet, style: NamedStyle): number;\nexport declare const BUILTIN_NAMED_STYLES: Readonly>;\nexport declare function ensureBuiltinStyle(ss: Stylesheet, name: keyof typeof BUILTIN_NAMED_STYLES | string): number;\n", "dist/styles/numbers.d.ts": "export declare const BUILTIN_FORMATS: Readonly>;\nexport declare const BUILTIN_FORMATS_MAX_SIZE = 164;\nexport declare const FORMAT_GENERAL = \"General\";\nexport declare const FORMAT_TEXT = \"@\";\nexport declare const FORMAT_NUMBER = \"0\";\nexport declare const FORMAT_NUMBER_00 = \"0.00\";\nexport declare const FORMAT_PERCENTAGE = \"0%\";\nexport declare const FORMAT_PERCENTAGE_00 = \"0.00%\";\nexport declare const FORMAT_DATE_DATETIME = \"yyyy-mm-dd h:mm:ss\";\nexport declare const FORMAT_DATE_TIMEDELTA = \"[hh]:mm:ss\";\nexport declare const FORMAT_DATE_YYYYMMDD2 = \"yyyy-mm-dd\";\nexport declare function builtinFormatCode(id: number): string | undefined;\nexport declare function builtinFormatId(code: string): number | undefined;\nexport declare function isBuiltinFormat(code: string): boolean;\nexport declare const FORMAT_COLOR_NAMES = \"BLACK|BLUE|CYAN|GREEN|MAGENTA|RED|WHITE|YELLOW\";\nexport declare function isDateFormat(code: string | undefined | null): boolean;\nexport declare function isTimedeltaFormat(code: string | undefined | null): boolean;\nexport declare function classifyDateFormat(code: string | undefined | null): 'date' | 'time' | 'datetime' | undefined;\nexport interface NumberFormat {\n readonly numFmtId: number;\n readonly formatCode: string;\n}\nexport declare function makeNumberFormat(opts: {\n numFmtId: number;\n formatCode: string;\n}): NumberFormat;\n", "dist/styles/protection.d.ts": "export interface Protection {\n readonly locked?: boolean;\n readonly hidden?: boolean;\n}\nexport declare function makeProtection(opts?: Partial): Protection;\nexport declare const DEFAULT_PROTECTION: Protection;\n", "dist/styles/stylesheet.d.ts": "import type { Alignment } from './alignment.js';\nimport type { Border } from './borders.js';\nimport type { Fill } from './fills.js';\nimport type { Font } from './fonts.js';\nimport type { Protection } from './protection.js';\nexport interface CellXf {\n readonly fontId: number;\n readonly fillId: number;\n readonly borderId: number;\n readonly numFmtId: number;\n readonly xfId?: number;\n readonly alignment?: Alignment;\n readonly protection?: Protection;\n readonly applyFont?: boolean;\n readonly applyFill?: boolean;\n readonly applyBorder?: boolean;\n readonly applyNumberFormat?: boolean;\n readonly applyAlignment?: boolean;\n readonly applyProtection?: boolean;\n readonly pivotButton?: boolean;\n readonly quotePrefix?: boolean;\n}\nexport interface Stylesheet {\n fonts: Font[];\n fills: Fill[];\n borders: Border[];\n numFmts: Map;\n cellXfs: CellXf[];\n cellStyleXfs: CellXf[];\n namedStyles?: Array;\n stylesXmlTail?: Array;\n _fontIdByKey: Map;\n _fillIdByKey: Map;\n _borderIdByKey: Map;\n _xfIdByKey: Map;\n _styleXfIdByKey: Map;\n _numFmtIdByCode: Map;\n _namedStyleByName?: Map;\n}\nexport declare function makeStylesheet(): Stylesheet;\nexport declare function addFont(ss: Stylesheet, font: Font): number;\nexport declare function addFill(ss: Stylesheet, fill: Fill): number;\nexport declare function addBorder(ss: Stylesheet, border: Border): number;\nexport declare function addNumFmt(ss: Stylesheet, formatCode: string): number;\nexport declare function addCellXf(ss: Stylesheet, xf: CellXf): number;\nexport declare function addCellStyleXf(ss: Stylesheet, xf: CellXf): number;\nexport declare function getCustomNumFmts(ss: Stylesheet): ReadonlyArray<{\n id: number;\n code: string;\n}>;\nexport declare function listFonts(ss: Stylesheet): ReadonlyArray;\nexport declare function listFills(ss: Stylesheet): ReadonlyArray;\nexport declare function listBorders(ss: Stylesheet): ReadonlyArray;\nexport declare function listCellXfs(ss: Stylesheet): ReadonlyArray;\nexport declare function listCellStyleXfs(ss: Stylesheet): ReadonlyArray;\nexport declare function defaultCellXf(): CellXf;\nexport interface CellStyleSpec {\n font?: Font;\n fill?: Fill;\n border?: Border;\n alignment?: Alignment;\n protection?: Protection;\n numberFormat?: string;\n}\nexport declare function buildXfPatch(ss: Stylesheet, spec: CellStyleSpec): {\n -readonly [K in keyof CellXf]?: CellXf[K];\n};\n", "dist/utils/cell-text.d.ts": "import { OpenXmlSchemaError } from './exceptions.js';\nexport declare const MAX_CELL_TEXT_LENGTH = 32767;\nexport declare function requireCellTextFits(length: number, what: string, ref: string): void;\nexport declare function quoteCellText(raw: string): string;\nexport declare function cellLabel(sheet: string, col: number, row: number): string;\nexport declare function unknownCellType(t: string, sheet: string, col: number, row: number): OpenXmlSchemaError;\n", "dist/utils/coordinate.d.ts": "export declare const MAX_COL = 16384;\nexport declare const MAX_ROW = 1048576;\nexport declare function columnLetterFromIndex(n: number): string;\nexport declare function columnIndexFromLetter(letter: string): number;\nexport interface CellCoordinate {\n column: string;\n row: number;\n}\nexport interface CellCoordinateNumeric {\n col: number;\n row: number;\n}\nexport interface CellRangeBoundaries {\n minCol: number;\n minRow: number;\n maxCol: number;\n maxRow: number;\n}\nexport type RangeRef = string | CellRangeBoundaries;\nexport declare function coordinateFromString(coord: string): CellCoordinate;\nexport declare function coordinateToTuple(coord: string): CellCoordinateNumeric;\nexport interface AbsoluteRefOptions {\n absoluteCol?: boolean;\n absoluteRow?: boolean;\n}\nexport declare function tupleToCoordinate(col: number, row: number, opts?: AbsoluteRefOptions): string;\nexport declare function isValidCellRef(s: unknown): s is string;\nexport declare function isValidRangeRef(s: unknown): s is string;\nexport declare function isValidColumnLetter(s: unknown): s is string;\nexport declare function isValidRowNumber(n: unknown): n is number;\nexport declare function rowNumberFromAttr(raw: string, where: string): number;\nexport declare function derivedRowNumber(fallback: number, where: string): number;\nexport declare function isValidColumnNumber(n: unknown): n is number;\nexport declare function rangeBoundaries(range: string): CellRangeBoundaries;\nexport declare function boundariesToRangeString(b: CellRangeBoundaries, opts?: AbsoluteRefOptions): string;\nexport declare function parseSheetRange(input: string): {\n sheet: string;\n range: string;\n bounds: CellRangeBoundaries;\n};\nexport declare function quoteSheetName(sheet: string): string;\nexport declare function formatSheetQualifiedRef(sheet: string, ref: string): string;\n", "dist/utils/css.d.ts": "export declare function cssRecordToInlineStyle(record: Record | undefined): string;\n", "dist/utils/datetime.d.ts": "export type ExcelEpoch = 'windows' | 'mac';\nexport declare const WINDOWS_EPOCH_MS: number;\nexport declare const MAC_EPOCH_MS: number;\nexport declare function excelToDate(serial: number, opts?: {\n epoch?: ExcelEpoch;\n}): Date;\nexport declare function dateToExcel(date: Date, opts?: {\n epoch?: ExcelEpoch;\n}): number;\nexport declare function excelToDuration(serial: number): number;\nexport declare function durationToExcel(ms: number): number;\nexport declare function fromIso8601(s: string): Date;\nexport declare function toIso8601(d: Date): string;\n", "dist/utils/escape.d.ts": "export declare function escapeCellString(s: string): string;\nexport declare function unescapeCellString(s: string): string;\nexport declare function escapeXmlText(s: string): string;\nexport declare function escapeXmlAttr(s: string): string;\nexport declare function escapeXmlTextVerbatim(s: string, node: string, at: string): string;\n", "dist/utils/exceptions.d.ts": "export interface OpenXmlErrorOptions {\n cause?: unknown;\n}\nexport declare class OpenXmlError extends Error {\n readonly name: string;\n constructor(message: string, options?: OpenXmlErrorOptions);\n}\nexport declare class OpenXmlIoError extends OpenXmlError {\n readonly name: string;\n}\nexport declare class OpenXmlSchemaError extends OpenXmlError {\n readonly name = \"OpenXmlSchemaError\";\n}\nexport declare class OpenXmlInvalidWorkbookError extends OpenXmlError {\n readonly name = \"OpenXmlInvalidWorkbookError\";\n}\nexport declare class OpenXmlNotImplementedError extends OpenXmlError {\n readonly name: string;\n}\nexport type UnsupportedFormat = 'encrypted-xlsx' | 'legacy-xls' | 'compound-file';\nexport declare class OpenXmlUnsupportedFormatError extends OpenXmlNotImplementedError {\n readonly name = \"OpenXmlUnsupportedFormatError\";\n readonly format: UnsupportedFormat;\n constructor(format: UnsupportedFormat, message: string, options?: OpenXmlErrorOptions);\n}\nexport declare class OpenXmlDecompressionBombError extends OpenXmlIoError {\n readonly name = \"OpenXmlDecompressionBombError\";\n}\nexport declare class OpenXmlContentLimitError extends OpenXmlError {\n readonly name = \"OpenXmlContentLimitError\";\n}\nexport declare function describeArg(v: unknown): string;\n", "dist/utils/index.d.ts": "export type { AbsoluteRefOptions, CellCoordinate, CellCoordinateNumeric, CellRangeBoundaries, RangeRef, } from './coordinate.js';\nexport { boundariesToRangeString, columnIndexFromLetter, columnLetterFromIndex, coordinateFromString, coordinateToTuple, formatSheetQualifiedRef, isValidCellRef, isValidColumnLetter, isValidColumnNumber, isValidRangeRef, isValidRowNumber, MAX_COL, MAX_ROW, parseSheetRange, rangeBoundaries, tupleToCoordinate, } from './coordinate.js';\nexport type { ExcelEpoch } from './datetime.js';\nexport { dateToExcel, durationToExcel, excelToDate, excelToDuration, fromIso8601, MAC_EPOCH_MS, toIso8601, WINDOWS_EPOCH_MS, } from './datetime.js';\nexport { MAX_CELL_TEXT_LENGTH } from './cell-text.js';\nexport { cssRecordToInlineStyle } from './css.js';\nexport { escapeCellString, unescapeCellString } from './escape.js';\nexport type { OpenXmlErrorOptions, UnsupportedFormat } from './exceptions.js';\nexport { OpenXmlContentLimitError, OpenXmlDecompressionBombError, OpenXmlError, OpenXmlInvalidWorkbookError, OpenXmlIoError, OpenXmlNotImplementedError, OpenXmlSchemaError, OpenXmlUnsupportedFormatError, } from './exceptions.js';\nexport type { CellDataType } from './inference.js';\nexport { ERROR_CODES, inferCellType } from './inference.js';\nexport { cmFromEmu, EMU_PER_CM, EMU_PER_INCH, EMU_PER_PIXEL, EMU_PER_POINT, emuFromCm, emuFromInch, emuFromPoint, emuFromPx, inchFromEmu, pixelToPoint, pointFromEmu, pointToPixel, pxFromEmu, } from './units.js';\n", "dist/utils/inference.d.ts": "export type CellDataType = 'n' | 's' | 'b' | 'd' | 'f' | 'e';\nexport declare const ERROR_CODES: ReadonlySet;\nexport declare function inferCellType(value: unknown): CellDataType;\n", "dist/utils/units.d.ts": "export declare const EMU_PER_INCH = 914400;\nexport declare const EMU_PER_CM = 360000;\nexport declare const EMU_PER_PIXEL = 9525;\nexport declare const EMU_PER_POINT = 12700;\nexport declare function emuFromPx(px: number): number;\nexport declare function pxFromEmu(emu: number): number;\nexport declare function emuFromCm(cm: number): number;\nexport declare function cmFromEmu(emu: number): number;\nexport declare function emuFromInch(inch: number): number;\nexport declare function inchFromEmu(emu: number): number;\nexport declare function emuFromPoint(pt: number): number;\nexport declare function pointFromEmu(emu: number): number;\nexport declare function pointToPixel(pt: number, dpi?: number): number;\nexport declare function pixelToPoint(px: number, dpi?: number): number;\n", "dist/workbook/calc-properties.d.ts": "export type CalcMode = 'manual' | 'auto' | 'autoNoTable';\nexport type RefMode = 'A1' | 'R1C1';\nexport interface CalcProperties {\n calcId?: number;\n calcMode?: CalcMode;\n fullCalcOnLoad?: boolean;\n refMode?: RefMode;\n iterate?: boolean;\n iterateCount?: number;\n iterateDelta?: number;\n fullPrecision?: boolean;\n calcCompleted?: boolean;\n calcOnSave?: boolean;\n concurrentCalc?: boolean;\n concurrentManualCount?: number;\n forceFullCalc?: boolean;\n}\nexport declare const makeCalcProperties: (opts?: CalcProperties) => CalcProperties;\nimport type { Workbook } from './workbook.js';\nexport declare const setCalcMode: (wb: Workbook, mode: CalcMode) => void;\nexport declare const setIterativeCalc: (wb: Workbook, enable: boolean, opts?: {\n count?: number;\n delta?: number;\n}) => void;\nexport declare const setCalcOnSave: (wb: Workbook, on: boolean) => void;\nexport declare const setFullCalcOnLoad: (wb: Workbook, on: boolean) => void;\nexport declare const setFullPrecision: (wb: Workbook, on: boolean) => void;\n", "dist/workbook/defined-names.d.ts": "export interface DefinedName {\n name: string;\n value: string;\n scope?: number;\n hidden?: boolean;\n comment?: string;\n}\nexport declare function makeDefinedName(opts: Partial & {\n name: string;\n value: string;\n}): DefinedName;\nimport { type CellRangeBoundaries } from '../utils/coordinate.js';\nimport type { Worksheet } from '../worksheet/worksheet.js';\nimport type { Workbook } from './workbook.js';\nexport interface DefinedNameTarget {\n sheet: string;\n range: string;\n bounds: CellRangeBoundaries;\n}\nexport declare const addDefinedName: (wb: Workbook, opts: Partial & {\n name: string;\n value: string;\n}) => DefinedName;\nexport declare const addDefinedNameForRange: (wb: Workbook, name: string, ws: Worksheet, range: string, opts?: {\n localToSheet?: boolean;\n hidden?: boolean;\n comment?: string;\n}) => DefinedName;\nexport declare const getDefinedName: (wb: Workbook, name: string, scope?: number) => DefinedName | undefined;\nexport declare const getDefinedNameTarget: (wb: Workbook, name: string, scope?: number) => DefinedNameTarget[] | undefined;\nexport declare const removeDefinedName: (wb: Workbook, name: string, scope?: number) => boolean;\nexport declare const listDefinedNames: (wb: Workbook, opts?: {\n scope?: number | \"workbook\" | \"all\";\n}) => ReadonlyArray;\nexport declare const removeDefinedNames: (wb: Workbook, predicate: (d: DefinedName) => boolean) => number;\nexport declare const renameDefinedName: (wb: Workbook, oldName: string, newName: string, scope?: number) => boolean;\nexport declare const listPrintAreas: (wb: Workbook) => ReadonlyArray;\nexport declare const listPrintTitles: (wb: Workbook) => ReadonlyArray;\nexport declare const setPrintArea: (wb: Workbook, sheetIndex: number, ref: string) => DefinedName;\nexport declare const setPrintTitles: (wb: Workbook, sheetIndex: number, opts: {\n rows?: string;\n cols?: string;\n sheetName: string;\n}) => DefinedName;\n", "dist/workbook/file-recovery.d.ts": "export interface FileRecoveryProperties {\n autoRecover?: boolean;\n crashSave?: boolean;\n dataExtractLoad?: boolean;\n repairLoad?: boolean;\n}\nexport declare const makeFileRecoveryProperties: (opts?: FileRecoveryProperties) => FileRecoveryProperties;\n", "dist/workbook/file-sharing.d.ts": "export interface FileSharing {\n readOnlyRecommended?: boolean;\n userName?: string;\n reservationPassword?: string;\n algorithmName?: string;\n hashValue?: string;\n saltValue?: string;\n spinCount?: number;\n}\nexport declare const makeFileSharing: (opts?: FileSharing) => FileSharing;\n", "dist/workbook/file-version.d.ts": "export interface FileVersion {\n appName?: string;\n lastEdited?: string;\n lowestEdited?: string;\n rupBuild?: string;\n codeName?: string;\n}\nexport declare const makeFileVersion: (opts?: FileVersion) => FileVersion;\n", "dist/workbook/function-groups.d.ts": "export interface FunctionGroup {\n name: string;\n}\nexport interface FunctionGroups {\n builtInGroupCount?: number;\n groups: FunctionGroup[];\n}\nexport declare const makeFunctionGroup: (name: string) => FunctionGroup;\nexport declare const makeFunctionGroups: (opts?: Partial) => FunctionGroups;\n", "dist/workbook/index.d.ts": "export type { CellSummary, SheetRef, SheetState, Workbook, WorkbookOverview, WorkbookSheetOverview, WorkbookStats, } from './workbook.js';\nexport { addChartsheet, addWorksheet, createWorkbook, describeWorkbook, getActiveSheet, getCellAtAddress, getCellSummary, getChartsheet, getSheet, getSheetByIndex, getSheetState, getWorkbookCellsByKind, getWorkbookStats, iterWorksheets, listCustomXmlParts, moveSheet, removeSheet, renameSheet, setActiveSheet, setCellAtAddress, setSheetState, sheetNames, } from './workbook.js';\nexport type { Person } from './persons.js';\nexport { makePerson } from './persons.js';\nexport type { DefinedName, DefinedNameTarget } from './defined-names.js';\nexport { addDefinedName, getDefinedName, getDefinedNameTarget, listDefinedNames, makeDefinedName, removeDefinedName, } from './defined-names.js';\nexport type { WorkbookProtection } from './protection.js';\nexport { makeWorkbookProtection } from './protection.js';\nexport type { SharedStringEntry, SharedStringsTable } from './shared-strings.js';\nexport { addSharedString, getSharedStringAt, getSharedStringIndex, makeSharedStrings, sharedStringCount, } from './shared-strings.js';\nexport type { CustomViewShowComments, CustomViewShowObjects, CustomWorkbookView, WorkbookView, WorkbookViewVisibility, } from './views.js';\nexport { makeCustomWorkbookView, makeWorkbookView } from './views.js';\nexport type { CalcMode, CalcProperties, RefMode } from './calc-properties.js';\nexport { makeCalcProperties, setCalcMode, setCalcOnSave, setFullCalcOnLoad, setFullPrecision, setIterativeCalc, } from './calc-properties.js';\nexport type { ShowObjectsMode, UpdateLinksMode, WorkbookProperties, } from './workbook-properties.js';\nexport { makeWorkbookProperties } from './workbook-properties.js';\nexport type { FileVersion } from './file-version.js';\nexport { makeFileVersion } from './file-version.js';\nexport type { FileSharing } from './file-sharing.js';\nexport { makeFileSharing } from './file-sharing.js';\nexport type { FileRecoveryProperties } from './file-recovery.js';\nexport { makeFileRecoveryProperties } from './file-recovery.js';\nexport type { SmartTagProperties, SmartTagShowMode, SmartTagType } from './smart-tags.js';\nexport { makeSmartTagProperties, makeSmartTagType } from './smart-tags.js';\nexport type { FunctionGroup, FunctionGroups } from './function-groups.js';\nexport { makeFunctionGroup, makeFunctionGroups } from './function-groups.js';\n", "dist/workbook/persons.d.ts": "export interface Person {\n displayName: string;\n id: string;\n userId?: string;\n providerId?: string;\n}\nexport declare function makePerson(opts: {\n displayName: string;\n userId?: string;\n providerId?: string;\n}): Person;\n", "dist/workbook/protection.d.ts": "export interface WorkbookProtection {\n workbookPassword?: string;\n workbookPasswordCharacterSet?: string;\n workbookAlgorithmName?: string;\n workbookHashValue?: string;\n workbookSaltValue?: string;\n workbookSpinCount?: number;\n revisionsPassword?: string;\n revisionsPasswordCharacterSet?: string;\n revisionsAlgorithmName?: string;\n revisionsHashValue?: string;\n revisionsSaltValue?: string;\n revisionsSpinCount?: number;\n lockStructure?: boolean;\n lockWindows?: boolean;\n lockRevision?: boolean;\n}\nexport declare const makeWorkbookProtection: (opts?: WorkbookProtection) => WorkbookProtection;\nimport type { Workbook } from './workbook.js';\nexport declare const protectWorkbook: (wb: Workbook, overrides?: Partial) => WorkbookProtection;\nexport declare const unprotectWorkbook: (wb: Workbook) => void;\nexport declare const isWorkbookProtected: (wb: Workbook) => boolean;\n", "dist/workbook/shared-strings.d.ts": "import type { RichText } from '../cell/rich-text.js';\nimport { type XmlNode } from '../xml/tree.js';\nexport type SharedStringEntry = string | {\n kind: 'rich-text';\n runs: RichText;\n};\nexport interface SharedStringsTable {\n entries: SharedStringEntry[];\n index: Map;\n richIndex: Map;\n}\nexport declare function makeSharedStrings(): SharedStringsTable;\nexport declare function addSharedString(table: SharedStringsTable, value: string): number;\nexport declare function addSharedRichText(table: SharedStringsTable, runs: RichText): number;\nexport declare function getSharedStringIndex(table: SharedStringsTable, value: string): number | undefined;\nexport declare function getSharedStringAt(table: SharedStringsTable, index: number): string | undefined;\nexport declare function sharedStringCount(table: SharedStringsTable): number;\nexport declare function parseSharedStringsXml(bytes: Uint8Array | string): SharedStringsTable;\nexport declare const parseRichString: (si: XmlNode) => SharedStringEntry;\nexport declare function sharedStringsToBytes(table: SharedStringsTable): Uint8Array;\nexport declare function serializeSharedStrings(table: SharedStringsTable): string;\nexport declare const serializeRichString: (value: SharedStringEntry) => string;\n", "dist/workbook/smart-tags.d.ts": "export type SmartTagShowMode = 'all' | 'noIndicator';\nexport interface SmartTagProperties {\n embed?: boolean;\n show?: SmartTagShowMode;\n}\nexport interface SmartTagType {\n namespaceUri?: string;\n name?: string;\n url?: string;\n}\nexport declare const makeSmartTagProperties: (opts?: SmartTagProperties) => SmartTagProperties;\nexport declare const makeSmartTagType: (opts?: SmartTagType) => SmartTagType;\n", "dist/workbook/views.d.ts": "export type WorkbookViewVisibility = 'visible' | 'hidden' | 'veryHidden';\nexport interface WorkbookView {\n visibility?: WorkbookViewVisibility;\n minimized?: boolean;\n showHorizontalScroll?: boolean;\n showVerticalScroll?: boolean;\n showSheetTabs?: boolean;\n xWindow?: number;\n yWindow?: number;\n windowWidth?: number;\n windowHeight?: number;\n tabRatio?: number;\n firstSheet?: number;\n activeTab?: number;\n autoFilterDateGrouping?: boolean;\n extAttrs?: Readonly>;\n}\nexport declare const makeWorkbookView: (opts?: WorkbookView) => WorkbookView;\nexport type CustomViewShowComments = 'commNone' | 'commIndicator' | 'commIndAndComment';\nexport type CustomViewShowObjects = 'all' | 'placeholders' | 'none';\nexport interface CustomWorkbookView {\n name: string;\n guid: string;\n windowWidth: number;\n windowHeight: number;\n activeSheetId: number;\n autoUpdate?: boolean;\n mergeInterval?: number;\n changesSavedWin?: boolean;\n onlySync?: boolean;\n personalView?: boolean;\n includePrintSettings?: boolean;\n includeHiddenRowCol?: boolean;\n maximized?: boolean;\n minimized?: boolean;\n showHorizontalScroll?: boolean;\n showVerticalScroll?: boolean;\n showSheetTabs?: boolean;\n xWindow?: number;\n yWindow?: number;\n tabRatio?: number;\n showFormulaBar?: boolean;\n showStatusbar?: boolean;\n showComments?: CustomViewShowComments;\n showObjects?: CustomViewShowObjects;\n}\nexport declare const makeCustomWorkbookView: (opts: Pick & Partial) => CustomWorkbookView;\nimport type { Workbook } from './workbook.js';\nexport declare const getActiveTab: (wb: Workbook) => number;\nexport declare const setActiveTab: (wb: Workbook, index: number) => void;\nexport declare const getFirstSheet: (wb: Workbook) => number;\nexport declare const setFirstSheet: (wb: Workbook, index: number) => void;\nexport declare const setTabRatio: (wb: Workbook, ratio: number) => void;\nexport declare const setShowSheetTabs: (wb: Workbook, show: boolean) => void;\nexport declare const setShowHorizontalScroll: (wb: Workbook, show: boolean) => void;\nexport declare const setShowVerticalScroll: (wb: Workbook, show: boolean) => void;\nexport declare const setWorkbookMinimized: (wb: Workbook, minimized: boolean) => void;\nexport declare const setWorkbookVisibility: (wb: Workbook, visibility: WorkbookViewVisibility) => void;\nexport declare const setWorkbookWindow: (wb: Workbook, opts: {\n xWindow?: number;\n yWindow?: number;\n windowWidth?: number;\n windowHeight?: number;\n}) => void;\n", "dist/workbook/workbook-properties.d.ts": "export type ShowObjectsMode = 'all' | 'placeholders' | 'none';\nexport type UpdateLinksMode = 'userSet' | 'never' | 'always';\nexport interface WorkbookProperties {\n date1904?: boolean;\n dateCompatibility?: boolean;\n showObjects?: ShowObjectsMode;\n showBorderUnselectedTables?: boolean;\n filterPrivacy?: boolean;\n promptedSolutions?: boolean;\n showInkAnnotation?: boolean;\n backupFile?: boolean;\n saveExternalLinkValues?: boolean;\n updateLinks?: UpdateLinksMode;\n codeName?: string;\n hidePivotFieldList?: boolean;\n showPivotChartFilter?: boolean;\n allowRefreshQuery?: boolean;\n publishItems?: boolean;\n checkCompatibility?: boolean;\n autoCompressPictures?: boolean;\n refreshAllConnections?: boolean;\n defaultThemeVersion?: number;\n}\nexport declare const makeWorkbookProperties: (opts?: WorkbookProperties) => WorkbookProperties;\nimport type { Workbook } from './workbook.js';\nexport declare const setWorkbookCodeName: (wb: Workbook, codeName: string) => void;\nexport declare const setDate1904: (wb: Workbook, on: boolean) => void;\nexport declare const setUpdateLinksMode: (wb: Workbook, mode: UpdateLinksMode) => void;\nexport declare const setFilterPrivacy: (wb: Workbook, on: boolean) => void;\n", "dist/workbook/workbook.d.ts": "import type { Chartsheet } from '../chartsheet/chartsheet.js';\nimport { type ChartReference } from '../drawing/drawing.js';\nimport type { CoreProperties } from '../packaging/core.js';\nimport type { CustomProperties } from '../packaging/custom.js';\nimport type { ExtendedProperties } from '../packaging/extended.js';\nimport type { Stylesheet } from '../styles/stylesheet.js';\nimport { type CellValue } from '../cell/cell.js';\nimport type { Alignment } from '../styles/alignment.js';\nimport type { Border } from '../styles/borders.js';\nimport type { Fill } from '../styles/fills.js';\nimport type { Font } from '../styles/fonts.js';\nimport type { Protection } from '../styles/protection.js';\nimport type { LegacyComment } from '../worksheet/comments.js';\nimport type { Hyperlink } from '../worksheet/hyperlinks.js';\nimport type { Person } from './persons.js';\nimport type { CellsByKindCounts, Worksheet } from '../worksheet/worksheet.js';\nexport type SheetState = 'visible' | 'hidden' | 'veryHidden';\nexport type SheetRef = {\n kind: 'worksheet';\n sheet: Worksheet;\n sheetId: number;\n state: SheetState;\n rId?: string;\n} | {\n kind: 'chartsheet';\n sheet: Chartsheet;\n sheetId: number;\n state: SheetState;\n rId?: string;\n};\nexport interface Workbook {\n sheets: SheetRef[];\n activeSheetIndex: number;\n styles: Stylesheet;\n date1904: boolean;\n properties?: CoreProperties;\n appProperties?: ExtendedProperties;\n customProperties?: CustomProperties;\n authors: string[];\n persons?: Person[];\n definedNames: import('./defined-names.js').DefinedName[];\n themeXml?: Uint8Array;\n vbaProject?: Uint8Array;\n fileFormat?: 'xlsx' | 'xlsm' | 'xltx' | 'xltm';\n vbaSignature?: Uint8Array;\n passthrough?: Map;\n passthroughContentTypes?: Map;\n passthroughDefaults?: Map;\n workbookXmlExtras?: {\n beforeSheets: import('../xml/tree.js').XmlNode[];\n afterSheets: import('../xml/tree.js').XmlNode[];\n };\n workbookXmlRoot?: {\n namespaces: ReadonlyArray<{\n prefix: string;\n ns: string;\n }>;\n ignorable?: string;\n };\n workbookProtection?: import('./protection.js').WorkbookProtection;\n bookViews?: import('./views.js').WorkbookView[];\n customWorkbookViews?: import('./views.js').CustomWorkbookView[];\n calcProperties?: import('./calc-properties.js').CalcProperties;\n fileVersion?: import('./file-version.js').FileVersion;\n fileSharing?: import('./file-sharing.js').FileSharing;\n oleSize?: string;\n fileRecoveryPr?: import('./file-recovery.js').FileRecoveryProperties;\n pivotCaches?: ReadonlyArray<{\n cacheId: number;\n rId: string;\n }>;\n externalReferences?: ReadonlyArray<{\n rId: string;\n }>;\n smartTagPr?: import('./smart-tags.js').SmartTagProperties;\n smartTagTypes?: ReadonlyArray;\n functionGroups?: import('./function-groups.js').FunctionGroups;\n workbookProperties?: import('./workbook-properties.js').WorkbookProperties;\n workbookRelsExtras?: ReadonlyArray<{\n id: string;\n type: string;\n target: string;\n }>;\n workbookRelOriginalIds?: {\n sharedStrings?: string;\n styles?: string;\n theme?: string;\n vbaProject?: string;\n };\n}\nexport declare function createWorkbook(opts?: {\n date1904?: boolean;\n}): Workbook;\nexport declare function validateSheetTitle(title: unknown): string | undefined;\nexport declare const isValidSheetTitle: (title: unknown) => title is string;\nexport declare function pickUniqueSheetTitle(wb: Workbook, base: string): string;\nexport declare function addWorksheet(wb: Workbook, title: string, opts?: {\n index?: number;\n state?: SheetState;\n}): Worksheet;\nexport declare function getSheet(wb: Workbook, title: string): Worksheet | undefined;\nexport declare function getSheetByIndex(wb: Workbook, idx: number): Worksheet | undefined;\nexport declare function getChartsheet(wb: Workbook, title: string): Chartsheet | undefined;\nexport declare function addChartsheet(wb: Workbook, title: string, opts?: {\n index?: number;\n state?: SheetState;\n chart?: ChartReference;\n}): Chartsheet;\nexport declare function sheetNames(wb: Workbook): string[];\nexport declare function removeSheet(wb: Workbook, title: string): void;\nexport declare function setActiveSheet(wb: Workbook, title: string): void;\nexport declare function renameSheet(wb: Workbook, oldTitle: string, newTitle: string): void;\nexport declare function setSheetState(wb: Workbook, title: string, state: SheetState): void;\nexport declare function getSheetState(wb: Workbook, title: string): SheetState;\nexport declare function hideSheet(wb: Workbook, title: string): void;\nexport declare function veryHideSheet(wb: Workbook, title: string): void;\nexport declare function showSheet(wb: Workbook, title: string): void;\nexport declare function setSheetStates(wb: Workbook, entries: Record): void;\nexport declare function showAllSheets(wb: Workbook): number;\nexport declare function moveSheet(wb: Workbook, title: string, toIndex: number): void;\nexport declare function swapSheets(wb: Workbook, titleA: string, titleB: string): void;\nexport declare function duplicateSheet(wb: Workbook, sourceTitle: string, newTitle: string, opts?: {\n index?: number;\n state?: SheetState;\n tableSuffix?: string;\n}): Worksheet;\nexport interface WorkbookStats {\n worksheetCount: number;\n chartsheetCount: number;\n cellCount: number;\n formulaCount: number;\n commentCount: number;\n hyperlinkCount: number;\n mergedRangeCount: number;\n tableCount: number;\n definedNameCount: number;\n customPropertyCount: number;\n}\nexport declare function getWorkbookStats(wb: Workbook): WorkbookStats;\nexport declare function getWorkbookCellsByKind(wb: Workbook): CellsByKindCounts;\nexport declare function getCellAtAddress(wb: Workbook, address: string): import('../cell/cell.js').Cell | undefined;\nexport declare function setCellAtAddress(wb: Workbook, address: string, value: CellValue): import('../cell/cell.js').Cell;\nexport declare function isWorkbookEmpty(wb: Workbook): boolean;\nexport interface WorkbookSheetOverview {\n title: string;\n kind: 'worksheet' | 'chartsheet';\n state: SheetState;\n cellCount: number;\n formulaCount: number;\n tableCount: number;\n drawingItemCount: number;\n}\nexport interface WorkbookOverview {\n worksheetCount: number;\n chartsheetCount: number;\n cellCount: number;\n formulaCount: number;\n commentCount: number;\n hyperlinkCount: number;\n mergedRangeCount: number;\n tableCount: number;\n definedNameCount: number;\n customPropertyCount: number;\n cellsByKind: CellsByKindCounts;\n sheets: WorkbookSheetOverview[];\n}\nexport declare function describeWorkbook(wb: Workbook): WorkbookOverview;\nexport interface CellSummary {\n ref: string;\n sheet: string;\n exists: boolean;\n value: CellValue | undefined;\n styleId: number;\n font: Font;\n fill: Fill;\n border: Border;\n alignment: Alignment;\n protection: Protection;\n numberFormat: string;\n hyperlink: Hyperlink | undefined;\n comment: LegacyComment | undefined;\n mergedRange: string | undefined;\n inTables: string[];\n inDataValidations: number;\n inConditionalFormatting: number;\n}\nexport declare function getCellSummary(wb: Workbook, sheetTitle: string, ref: string): CellSummary;\nexport declare function iterWorksheets(wb: Workbook): IterableIterator;\nexport declare function iterVisibleWorksheets(wb: Workbook): IterableIterator;\nexport declare function iterWorksheetsByState(wb: Workbook, state: SheetState): IterableIterator;\nexport declare function iterAllCells(wb: Workbook): IterableIterator<{\n sheet: Worksheet;\n cell: import('../cell/cell.js').Cell;\n}>;\nexport declare function getAllMergedRanges(wb: Workbook): ReadonlyArray<{\n sheet: Worksheet;\n range: import('../worksheet/cell-range.js').CellRange;\n}>;\nexport declare function getAllHyperlinks(wb: Workbook): ReadonlyArray<{\n sheet: Worksheet;\n hyperlink: import('../worksheet/hyperlinks.js').Hyperlink;\n}>;\nexport declare function getAllComments(wb: Workbook): ReadonlyArray<{\n sheet: Worksheet;\n comment: import('../worksheet/comments.js').LegacyComment;\n}>;\nexport declare function getAllTables(wb: Workbook): ReadonlyArray<{\n sheet: Worksheet;\n table: import('../worksheet/table.js').TableDefinition;\n}>;\nexport declare function findTable(wb: Workbook, displayName: string): {\n sheet: Worksheet;\n table: import('../worksheet/table.js').TableDefinition;\n} | undefined;\nexport declare function findCellInWorkbook(wb: Workbook, predicate: (cell: import('../cell/cell.js').Cell, sheet: Worksheet) => boolean): {\n sheet: Worksheet;\n cell: import('../cell/cell.js').Cell;\n} | undefined;\nexport declare function findCellsInWorkbook(wb: Workbook, predicate: (cell: import('../cell/cell.js').Cell, sheet: Worksheet) => boolean): ReadonlyArray<{\n sheet: Worksheet;\n cell: import('../cell/cell.js').Cell;\n}>;\nexport declare function replaceCellValuesInWorkbook(wb: Workbook, search: string | ((value: import('../cell/cell.js').CellValue, cell: import('../cell/cell.js').Cell, sheet: Worksheet) => boolean), replacement: import('../cell/cell.js').CellValue): number;\nexport declare function getAllDataValidations(wb: Workbook): ReadonlyArray<{\n sheet: Worksheet;\n validation: import('../worksheet/data-validations.js').DataValidation;\n}>;\nexport declare function getAllImages(wb: Workbook): ReadonlyArray<{\n sheet: Worksheet;\n item: import('../drawing/drawing.js').DrawingItem;\n}>;\nexport declare function getAllCharts(wb: Workbook): ReadonlyArray<{\n sheet: Worksheet;\n item: import('../drawing/drawing.js').DrawingItem;\n}>;\nexport declare function getAllConditionalFormatting(wb: Workbook): ReadonlyArray<{\n sheet: Worksheet;\n formatting: import('../worksheet/conditional-formatting.js').ConditionalFormatting;\n}>;\nexport declare function iterChartsheets(wb: Workbook): IterableIterator;\nexport declare function listWorksheets(wb: Workbook): Worksheet[];\nexport declare function listChartsheets(wb: Workbook): Chartsheet[];\nexport declare function getActiveSheet(wb: Workbook): Worksheet | undefined;\nexport declare function getActiveSheetTitle(wb: Workbook): string | undefined;\nexport declare function isActiveSheet(wb: Workbook, title: string): boolean;\nexport declare function listCustomXmlParts(wb: Workbook): Array<{\n path: string;\n content: Uint8Array;\n}>;\nexport declare function jsonReplacer(_key: string, value: unknown): unknown;\nexport declare function jsonReviver(_key: string, value: unknown): unknown;\n", "dist/worksheet/auto-filter.d.ts": "import type { SortState } from './sort-state.js';\nexport interface CustomFilterCondition {\n operator?: 'equal' | 'lessThan' | 'lessThanOrEqual' | 'notEqual' | 'greaterThanOrEqual' | 'greaterThan';\n val: string;\n}\nexport type FilterColumn = {\n kind: 'filters';\n colId: number;\n values: string[];\n blank?: boolean;\n} | {\n kind: 'custom';\n colId: number;\n and?: boolean;\n conditions: CustomFilterCondition[];\n} | {\n kind: 'top10';\n colId: number;\n top?: boolean;\n percent?: boolean;\n val: number;\n filterVal?: number;\n} | {\n kind: 'dynamic';\n colId: number;\n type: string;\n val?: number;\n maxVal?: number;\n} | {\n kind: 'raw';\n colId: number;\n xml: string;\n};\nexport interface AutoFilter {\n ref: string;\n filterColumns: FilterColumn[];\n sortState?: SortState;\n}\nexport declare function makeAutoFilter(opts: {\n ref: string;\n filterColumns?: FilterColumn[];\n}): AutoFilter;\nexport declare function makeFilterColumn(opts: {\n colId: number;\n values: ReadonlyArray;\n blank?: boolean;\n}): Extract;\nimport type { Worksheet } from './worksheet.js';\nexport declare const addAutoFilter: (ws: Worksheet, ref: string) => AutoFilter;\nexport declare const addAutoFilterColumn: (ws: Worksheet, colId: number, values: ReadonlyArray, opts?: {\n blank?: boolean;\n}) => Extract;\nexport declare const removeAutoFilter: (ws: Worksheet) => void;\n", "dist/worksheet/cell-range.d.ts": "import type { Cell } from '../cell/cell.js';\nimport { type CellRangeBoundaries, type RangeRef } from '../utils/coordinate.js';\nexport type CellRange = CellRangeBoundaries;\nexport declare function makeCellRange(minRow: number, minCol: number, maxRow: number, maxCol: number): CellRange;\nexport declare function parseRange(input: RangeRef): CellRange;\nexport declare function rangeToString(r: CellRange): string;\nexport declare function cellRangeFromCells(cells: ReadonlyArray>): string;\nexport declare function rangeContainsCell(r: CellRange, row: number, col: number): boolean;\nexport declare function isCellInRange(cellRef: string, rangeRef: string): boolean;\nexport declare function isRangeInRange(inner: string, outer: string): boolean;\nexport declare function rangesOverlapStr(a: string, b: string): boolean;\nexport declare function unionRangeStr(a: string, b: string): string;\nexport declare function intersectionRangeStr(a: string, b: string): string | undefined;\nexport declare function shiftRangeStr(range: string, dr: number, dc: number): string;\nexport declare function rangeAreaStr(range: string): number;\nexport declare function rangeDimensionsStr(range: string): {\n rows: number;\n cols: number;\n};\nexport declare function expandRangeStr(range: string, deltaRows: number, deltaCols: number): string;\nexport declare function rangeContainsRange(outer: CellRange, inner: CellRange): boolean;\nexport declare function shiftRange(r: CellRange, dr: number, dc: number): CellRange;\nexport declare function unionRange(a: CellRange, b: CellRange): CellRange;\nexport declare function intersectionRange(a: CellRange, b: CellRange): CellRange | null;\nexport declare function rangesOverlap(a: CellRange, b: CellRange): boolean;\nexport declare function rangeArea(r: CellRange): number;\nexport declare function iterRangeCoordinates(r: CellRange): IterableIterator<{\n row: number;\n col: number;\n}>;\nexport interface MultiCellRange {\n ranges: CellRange[];\n}\nexport declare function makeMultiCellRange(ranges?: ReadonlyArray): MultiCellRange;\nexport declare function parseMultiCellRange(input: string): MultiCellRange;\nexport declare function multiCellRangeToString(m: MultiCellRange): string;\nexport declare function multiCellRangeArea(m: MultiCellRange): number;\nexport declare function multiCellRangeContainsCell(m: MultiCellRange, row: number, col: number): boolean;\n", "dist/worksheet/comments.d.ts": "import { type RichText } from '../cell/rich-text.js';\nexport interface LegacyCommentAnchor {\n fromCol: number;\n fromColOffset: number;\n fromRow: number;\n fromRowOffset: number;\n toCol: number;\n toColOffset: number;\n toRow: number;\n toRowOffset: number;\n}\nexport interface LegacyComment {\n ref: string;\n author: string;\n text: string;\n richText?: RichText;\n visible?: boolean;\n anchor?: LegacyCommentAnchor;\n}\nexport declare const currentRichText: (c: LegacyComment) => RichText | undefined;\nexport declare function makeLegacyComment(opts: LegacyComment): LegacyComment;\n", "dist/worksheet/conditional-formatting.d.ts": "import { type MultiCellRange } from './cell-range.js';\nexport type ConditionalFormattingRuleType = 'expression' | 'cellIs' | 'colorScale' | 'dataBar' | 'iconSet' | 'top10' | 'aboveAverage' | 'uniqueValues' | 'duplicateValues' | 'containsText' | 'notContainsText' | 'beginsWith' | 'endsWith' | 'containsBlanks' | 'notContainsBlanks' | 'containsErrors' | 'notContainsErrors' | 'timePeriod';\nexport type CellIsOperator = 'lessThan' | 'lessThanOrEqual' | 'equal' | 'notEqual' | 'greaterThanOrEqual' | 'greaterThan' | 'between' | 'notBetween';\nexport type TextOperator = 'containsText' | 'notContains' | 'beginsWith' | 'endsWith';\nexport type TimePeriod = 'today' | 'yesterday' | 'tomorrow' | 'last7Days' | 'thisMonth' | 'lastMonth' | 'nextMonth' | 'thisWeek' | 'lastWeek' | 'nextWeek';\nexport interface ConditionalFormattingRule {\n type: ConditionalFormattingRuleType;\n priority: number;\n dxfId?: number;\n stopIfTrue?: boolean;\n operator?: CellIsOperator | TextOperator | string;\n text?: string;\n percent?: boolean;\n bottom?: boolean;\n rank?: number;\n aboveAverage?: boolean;\n equalAverage?: boolean;\n stdDev?: number;\n timePeriod?: TimePeriod;\n formulas: string[];\n innerXml?: string;\n}\nexport interface ConditionalFormatting {\n sqref: MultiCellRange;\n rules: ConditionalFormattingRule[];\n pivot?: boolean;\n}\nexport declare function makeConditionalFormatting(opts: {\n sqref: MultiCellRange | string;\n rules?: ConditionalFormattingRule[];\n pivot?: boolean;\n}): ConditionalFormatting;\nexport declare function makeCfRule(opts: Partial & {\n type: ConditionalFormattingRuleType;\n priority: number;\n}): ConditionalFormattingRule;\nimport type { Worksheet } from './worksheet.js';\nexport declare const addCellIsRule: (ws: Worksheet, sqref: MultiCellRange | string, opts: {\n operator: CellIsOperator;\n formula1: string;\n formula2?: string;\n dxfId?: number;\n stopIfTrue?: boolean;\n priority?: number;\n}) => ConditionalFormattingRule;\nexport declare const addTopNRule: (ws: Worksheet, sqref: MultiCellRange | string, opts: {\n rank?: number;\n bottom?: boolean;\n percent?: boolean;\n dxfId?: number;\n priority?: number;\n}) => ConditionalFormattingRule;\nexport declare const addAverageRule: (ws: Worksheet, sqref: MultiCellRange | string, opts: {\n aboveAverage?: boolean;\n equalAverage?: boolean;\n stdDev?: number;\n dxfId?: number;\n priority?: number;\n}) => ConditionalFormattingRule;\nexport declare const addDuplicateValuesRule: (ws: Worksheet, sqref: MultiCellRange | string, opts?: {\n dxfId?: number;\n priority?: number;\n unique?: boolean;\n}) => ConditionalFormattingRule;\nexport declare const addFormulaRule: (ws: Worksheet, sqref: MultiCellRange | string, opts: {\n formula: string;\n dxfId?: number;\n stopIfTrue?: boolean;\n priority?: number;\n}) => ConditionalFormattingRule;\nexport declare const addTextRule: (ws: Worksheet, sqref: MultiCellRange | string, opts: {\n operator: TextOperator;\n text: string;\n dxfId?: number;\n priority?: number;\n}) => ConditionalFormattingRule;\nexport type CfvoType = 'min' | 'max' | 'num' | 'percent' | 'percentile' | 'formula';\nexport interface Cfvo {\n type: CfvoType;\n val?: string;\n}\nexport type IconSetStyle = '3Arrows' | '3ArrowsGray' | '3Flags' | '3Signs' | '3Symbols' | '3Symbols2' | '3TrafficLights1' | '3TrafficLights2' | '4Arrows' | '4ArrowsGray' | '4Rating' | '4RedToBlack' | '4TrafficLights' | '5Arrows' | '5ArrowsGray' | '5Quarters' | '5Rating';\nexport declare const addColorScaleRule: (ws: Worksheet, sqref: MultiCellRange | string, opts: {\n cfvos: ReadonlyArray;\n colors: ReadonlyArray;\n priority?: number;\n stopIfTrue?: boolean;\n}) => ConditionalFormattingRule;\nexport declare const addDataBarRule: (ws: Worksheet, sqref: MultiCellRange | string, opts: {\n color: string;\n minCfvo?: Cfvo;\n maxCfvo?: Cfvo;\n minLength?: number;\n maxLength?: number;\n showValue?: boolean;\n priority?: number;\n stopIfTrue?: boolean;\n}) => ConditionalFormattingRule;\nexport declare const addIconSetRule: (ws: Worksheet, sqref: MultiCellRange | string, opts: {\n iconSet: IconSetStyle | string;\n cfvos: ReadonlyArray;\n reverse?: boolean;\n showValue?: boolean;\n percent?: boolean;\n priority?: number;\n stopIfTrue?: boolean;\n}) => ConditionalFormattingRule;\n", "dist/worksheet/content-budget.d.ts": "export interface ContentLimits {\n maxCells?: number;\n maxRows?: number;\n}\nexport interface ResolvedContentLimits {\n readonly maxCells: number;\n readonly maxRows: number;\n}\nexport declare const UNLIMITED_CONTENT_LIMITS: ResolvedContentLimits;\nexport declare function resolveContentLimits(input: ContentLimits | undefined): ResolvedContentLimits;\nexport interface ContentBudget {\n readonly limits: ResolvedContentLimits;\n cells: number;\n rows: number;\n}\nexport declare function makeContentBudget(limits: ResolvedContentLimits): ContentBudget;\nexport declare function chargeCell(budget: ContentBudget, sheet: string, col: number, row: number | undefined): void;\nexport declare function chargeRow(budget: ContentBudget, sheet: string, row: number | undefined): void;\n", "dist/worksheet/custom-sheet-views.d.ts": "import type { HeaderFooter, PageBreak, PageMargins, PageSetup, PrintOptions } from './page-setup.js';\nimport type { Pane, Selection, SheetViewMode } from './views.js';\nexport type CustomSheetViewState = 'visible' | 'hidden' | 'veryHidden';\nexport interface CustomSheetView {\n guid: string;\n scale?: number;\n colorId?: number;\n showPageBreaks?: boolean;\n showFormulas?: boolean;\n showGridLines?: boolean;\n showRowCol?: boolean;\n outlineSymbols?: boolean;\n zeroValues?: boolean;\n fitToPage?: boolean;\n printArea?: boolean;\n filter?: boolean;\n showAutoFilter?: boolean;\n hiddenRows?: boolean;\n hiddenColumns?: boolean;\n state?: CustomSheetViewState;\n filterUnique?: boolean;\n view?: SheetViewMode;\n showRuler?: boolean;\n topLeftCell?: string;\n pane?: Pane;\n selections?: Selection[];\n rowBreaks?: PageBreak[];\n colBreaks?: PageBreak[];\n pageMargins?: PageMargins;\n printOptions?: PrintOptions;\n pageSetup?: PageSetup;\n headerFooter?: HeaderFooter;\n}\nexport declare const makeCustomSheetView: (opts: Partial & {\n guid: string;\n}) => CustomSheetView;\n", "dist/worksheet/data-consolidate.d.ts": "export type DataConsolidateFunction = 'average' | 'count' | 'countNums' | 'max' | 'min' | 'product' | 'stdDev' | 'stdDevp' | 'sum' | 'var' | 'varp';\nexport interface DataReference {\n name?: string;\n ref?: string;\n sheet?: string;\n rId?: string;\n}\nexport interface DataConsolidate {\n function?: DataConsolidateFunction;\n topLabels?: boolean;\n leftLabels?: boolean;\n link?: boolean;\n dataRefs?: DataReference[];\n startLabels?: string;\n}\nexport declare const makeDataConsolidate: (opts?: DataConsolidate) => DataConsolidate;\n", "dist/worksheet/data-validations.d.ts": "import { type MultiCellRange } from './cell-range.js';\nexport type DataValidationType = 'whole' | 'decimal' | 'list' | 'date' | 'time' | 'textLength' | 'custom';\nexport type DataValidationOperator = 'between' | 'notBetween' | 'equal' | 'notEqual' | 'greaterThan' | 'greaterThanOrEqual' | 'lessThan' | 'lessThanOrEqual';\nexport type DataValidationErrorStyle = 'stop' | 'warning' | 'information';\nexport interface DataValidation {\n type: DataValidationType;\n operator?: DataValidationOperator;\n formula1?: string;\n formula2?: string;\n allowBlank?: boolean;\n showInputMessage?: boolean;\n showErrorMessage?: boolean;\n errorTitle?: string;\n error?: string;\n errorStyle?: DataValidationErrorStyle;\n promptTitle?: string;\n prompt?: string;\n showDropDown?: boolean;\n sqref: MultiCellRange;\n}\nexport declare function makeDataValidation(opts: Omit, 'sqref'> & {\n type: DataValidationType;\n sqref: MultiCellRange | string;\n}): DataValidation;\nimport type { Worksheet } from './worksheet.js';\nexport interface ValidationCommon {\n prompt?: string;\n promptTitle?: string;\n error?: string;\n errorTitle?: string;\n errorStyle?: DataValidationErrorStyle;\n allowBlank?: boolean;\n}\nexport declare const addListValidation: (ws: Worksheet, sqref: MultiCellRange | string, values: ReadonlyArray | string, opts?: ValidationCommon) => DataValidation;\nexport declare const addNumberValidation: (ws: Worksheet, sqref: MultiCellRange | string, range: {\n min: number;\n max?: number;\n operator?: DataValidationOperator;\n kind?: \"whole\" | \"decimal\";\n}, opts?: ValidationCommon) => DataValidation;\nexport declare const addDateValidation: (ws: Worksheet, sqref: MultiCellRange | string, range: {\n min: number;\n max?: number;\n operator?: DataValidationOperator;\n}, opts?: ValidationCommon) => DataValidation;\nexport declare const addCustomValidation: (ws: Worksheet, sqref: MultiCellRange | string, formula: string, opts?: ValidationCommon) => DataValidation;\n", "dist/worksheet/dimensions.d.ts": "export interface ColumnDimension {\n min: number;\n max: number;\n width?: number;\n customWidth?: boolean;\n hidden?: boolean;\n bestFit?: boolean;\n outlineLevel?: number;\n style?: number;\n collapsed?: boolean;\n}\nexport interface RowDimension {\n height?: number;\n customHeight?: boolean;\n hidden?: boolean;\n outlineLevel?: number;\n collapsed?: boolean;\n style?: number;\n}\nexport declare function makeColumnDimension(col: number, opts?: Partial>): ColumnDimension;\nexport declare function makeRowDimension(opts?: Partial): RowDimension;\n", "dist/worksheet/errors.d.ts": "import type { MultiCellRange } from './cell-range.js';\nexport interface CellWatch {\n ref: string;\n}\nexport interface IgnoredError {\n sqref: MultiCellRange;\n evalError?: boolean;\n twoDigitTextYear?: boolean;\n numberStoredAsText?: boolean;\n formula?: boolean;\n formulaRange?: boolean;\n unlockedFormula?: boolean;\n emptyCellReference?: boolean;\n listDataValidation?: boolean;\n calculatedColumn?: boolean;\n}\nexport declare const makeCellWatch: (ref: string) => CellWatch;\nexport declare function makeIgnoredError(opts: Partial & {\n sqref: MultiCellRange;\n}): IgnoredError;\n", "dist/worksheet/hyperlinks.d.ts": "export interface Hyperlink {\n ref: string;\n target?: string;\n location?: string;\n tooltip?: string;\n display?: string;\n rId?: string;\n}\nexport declare function makeHyperlink(opts: Partial & {\n ref: string;\n}): Hyperlink;\nimport type { Worksheet } from './worksheet.js';\nexport declare const addUrlHyperlink: (ws: Worksheet, ref: string, url: string, opts?: {\n tooltip?: string;\n display?: string;\n}) => Hyperlink;\nexport declare const addInternalHyperlink: (ws: Worksheet, ref: string, location: string, opts?: {\n tooltip?: string;\n display?: string;\n}) => Hyperlink;\nexport declare const addMailtoHyperlink: (ws: Worksheet, ref: string, email: string, opts?: {\n subject?: string;\n tooltip?: string;\n display?: string;\n}) => Hyperlink;\n", "dist/worksheet/index.d.ts": "export type { ContentLimits } from './content-budget.js';\nexport type { AppendRowOptions, CellsByKindCounts, IterRowsOptions, Worksheet, } from './worksheet.js';\nexport { addCellWatch, addConditionalFormatting, addDataValidation, addIgnoredError, addTable, appendRow, appendRows, applyToRange, autofitColumns, clearAllCells, clearRange, collapseColumnGroup, collapseRowGroup, copyRange, countCells, countCellsByKind, deleteCell, ensureCell, ensureCellByCoord, expandColumnGroup, expandRowGroup, findCells, getAutoFilter, getCell, getCellByCoord, getCellExtent, getCellExtentRef, getCellsInColumn, getCellsInRange, getCellsInRow, getColumnDimension, getFreezePanes, getMaxCol, getMaxRow, getMergedCells, getMergedRangeAt, getNonEmptyCellCount, getPopulatedColumnIndices, getPopulatedRowIndices, getRangeValues, getRowDimension, getTable, getValueExtent, groupColumns, groupRows, hideColumn, hideColumns, hideRow, hideRows, isMergedCell, isWorksheetEmpty, iterCells, iterRows, iterValues, listComments, listDataValidations, listHyperlinks, listTables, makeWorksheet, mergeCells, moveRange, removeAllComments, removeAllConditionalFormatting, removeAllDataValidations, removeAllHyperlinks, removeAllMergedRanges, removeAllTables, removeCellWatches, removeDataValidations, removeHyperlink, removeIgnoredErrors, removeTable, setAutoFilter, setCell, setCellByCoord, setColumnDimension, setColumnWidth, setColumnWidths, setComment, setComments, setDefaultColumnWidth, setDefaultRowHeight, setFreezePanes, setHyperlink, setHyperlinks, setRangeValues, setRowDimension, setRowHeight, setRowHeights, setSheetTabColor, setSheetViewMode, setSheetZoom, ungroupColumns, ungroupRows, unhideColumn, unhideColumns, unhideRow, unhideRows, unmergeCells, unmergeCellsAt, writeRange, } from './worksheet.js';\nexport type { MultiCellRange } from './cell-range.js';\nexport { expandRangeStr, intersectionRange, isCellInRange, isRangeInRange, rangeArea, rangeContainsCell, rangeContainsRange, rangesOverlap, shiftRange, unionRange, } from './cell-range.js';\nexport type { ColumnDimension, RowDimension } from './dimensions.js';\nexport { makeColumnDimension, makeRowDimension } from './dimensions.js';\nexport type { FreezeCounts, Pane, PaneState, PaneType, Selection, SheetView, SheetViewMode, } from './views.js';\nexport { activeSelection, freezePaneRef, makeFreezePane, makeSheetView } from './views.js';\nexport type { LegacyComment, LegacyCommentAnchor } from './comments.js';\nexport { makeLegacyComment } from './comments.js';\nexport type { ThreadedComment, ThreadedCommentMention } from './threaded-comments.js';\nexport { makeThreadedComment } from './threaded-comments.js';\nexport type { DataValidation, DataValidationErrorStyle, DataValidationOperator, DataValidationType, ValidationCommon, } from './data-validations.js';\nexport { makeDataValidation } from './data-validations.js';\nexport type { CellIsOperator, Cfvo, CfvoType, ConditionalFormatting, ConditionalFormattingRule, ConditionalFormattingRuleType, IconSetStyle, TextOperator, TimePeriod, } from './conditional-formatting.js';\nexport { makeCfRule, makeConditionalFormatting } from './conditional-formatting.js';\nexport type { Hyperlink } from './hyperlinks.js';\nexport { makeHyperlink } from './hyperlinks.js';\nexport type { AutoFilter, CustomFilterCondition, FilterColumn } from './auto-filter.js';\nexport { makeAutoFilter, makeFilterColumn } from './auto-filter.js';\nexport type { TableColumn, TableDefinition, TableStyleInfo } from './table.js';\nexport { addExcelTable, makeTableColumn, makeTableDefinition } from './table.js';\nexport type { AddPivotTableOptions, PivotAggregate, PivotFilterField, PivotItemValue, PivotLayout, PivotSubtotals, PivotTable, PivotValueField, } from './pivot-table.js';\nexport { addPivotTable, getPivotFieldItems, getPivotSourceFields, getPivotTableAt, getPivotTableOutputRef, nextPivotTableName, refreshPivotTable, removePivotTable, } from './pivot-table.js';\nexport type { PivotTableSummary } from './pivot-reader.js';\nexport { listPassthroughPivotTables } from './pivot-reader.js';\nexport type { CellWatch, IgnoredError } from './errors.js';\nexport { makeCellWatch, makeIgnoredError } from './errors.js';\nexport type { OutlineProperties, PageSetupProperties, SheetProperties } from './properties.js';\nexport { makeSheetProperties } from './properties.js';\nexport type { SheetProtection } from './protection.js';\nexport { makeSheetProtection } from './protection.js';\nexport type { ProtectedRange } from './protected-ranges.js';\nexport { makeProtectedRange } from './protected-ranges.js';\nexport type { SortBy, SortCondition, SortIconSet, SortMethod, SortState, } from './sort-state.js';\nexport { makeSortCondition, makeSortState } from './sort-state.js';\nexport type { CellSmartTag, CellSmartTagProperty, CellSmartTags, } from './smart-tags.js';\nexport { makeCellSmartTag, makeCellSmartTagProperty, makeCellSmartTags, } from './smart-tags.js';\nexport type { FormControl, OleDvAspect, OleObject, OleUpdateMode, } from './ole-objects.js';\nexport { makeFormControl, makeOleObject } from './ole-objects.js';\nexport type { CustomSheetView, CustomSheetViewState } from './custom-sheet-views.js';\nexport { makeCustomSheetView } from './custom-sheet-views.js';\nexport type { CellCommentMode, HeaderFooter, HeaderFooterSection, PageBreak, PageMargins, PageOrder, PageOrientation, PageSetup, PrintErrorMode, PrintOptions, } from './page-setup.js';\nexport { buildHeaderFooterText, HEADER_FOOTER_CODES, makeHeaderFooter, makePageBreak, makePageMargins, makePageSetup, makePrintOptions, } from './page-setup.js';\nexport type { WebPublishItem, WorksheetCustomProperty } from './web-publish.js';\nexport { makeWebPublishItem, makeWorksheetCustomProperty } from './web-publish.js';\nexport type { PhoneticAlignment, PhoneticType, WorksheetPhoneticProperties, } from './phonetic.js';\nexport { makeWorksheetPhoneticProperties } from './phonetic.js';\nexport type { DataConsolidate, DataConsolidateFunction, DataReference, } from './data-consolidate.js';\nexport { makeDataConsolidate } from './data-consolidate.js';\nexport type { Scenario, ScenarioInputCell, ScenarioList } from './scenarios.js';\nexport { makeScenario, makeScenarioInputCell, makeScenarioList } from './scenarios.js';\nexport type { Sparkline, SparklineAxisType, SparklineEmptyCells, SparklineGroup, SparklineType, } from './sparklines.js';\nexport { makeSparklineGroup } from './sparklines.js';\nexport { deleteRows, insertRows } from './structure.js';\n", "dist/worksheet/ole-objects.d.ts": "import type { XmlNode } from '../xml/tree.js';\nexport type OleDvAspect = 'DVASPECT_CONTENT' | 'DVASPECT_ICON';\nexport type OleUpdateMode = 'OLEUPDATE_ALWAYS' | 'OLEUPDATE_ONCALL';\nexport interface OleObject {\n shapeId: number;\n rId?: string;\n progId?: string;\n dvAspect?: OleDvAspect;\n link?: string;\n oleUpdate?: OleUpdateMode;\n autoLoad?: boolean;\n objectPr?: XmlNode;\n}\nexport interface FormControl {\n shapeId: number;\n rId?: string;\n name?: string;\n controlPr?: XmlNode;\n}\nexport declare const makeOleObject: (opts: Partial & {\n shapeId: number;\n}) => OleObject;\nexport declare const makeFormControl: (opts: Partial & {\n shapeId: number;\n}) => FormControl;\n", "dist/worksheet/page-setup.d.ts": "export interface PrintOptions {\n horizontalCentered?: boolean;\n verticalCentered?: boolean;\n headings?: boolean;\n gridLines?: boolean;\n gridLinesSet?: boolean;\n}\nexport interface PageMargins {\n left: number;\n right: number;\n top: number;\n bottom: number;\n header: number;\n footer: number;\n}\nexport type PageOrientation = 'default' | 'portrait' | 'landscape';\nexport type PageOrder = 'downThenOver' | 'overThenDown';\nexport type CellCommentMode = 'none' | 'asDisplayed' | 'atEnd';\nexport type PrintErrorMode = 'displayed' | 'blank' | 'dash' | 'NA';\nexport interface PageSetup {\n paperSize?: number;\n scale?: number;\n firstPageNumber?: number;\n fitToWidth?: number;\n fitToHeight?: number;\n pageOrder?: PageOrder;\n orientation?: PageOrientation;\n usePrinterDefaults?: boolean;\n blackAndWhite?: boolean;\n draft?: boolean;\n cellComments?: CellCommentMode;\n useFirstPageNumber?: boolean;\n errors?: PrintErrorMode;\n horizontalDpi?: number;\n verticalDpi?: number;\n copies?: number;\n rId?: string;\n paperHeight?: string;\n paperWidth?: string;\n}\nexport interface HeaderFooter {\n differentFirst?: boolean;\n differentOddEven?: boolean;\n scaleWithDoc?: boolean;\n alignWithMargins?: boolean;\n oddHeader?: string;\n oddFooter?: string;\n evenHeader?: string;\n evenFooter?: string;\n firstHeader?: string;\n firstFooter?: string;\n}\nexport declare const makePageMargins: (opts?: Partial) => PageMargins;\nexport declare const makePrintOptions: (opts?: PrintOptions) => PrintOptions;\nexport declare const makePageSetup: (opts?: PageSetup) => PageSetup;\nexport declare const makeHeaderFooter: (opts?: HeaderFooter) => HeaderFooter;\nexport interface PageBreak {\n id?: number;\n min?: number;\n max?: number;\n man?: boolean;\n pt?: boolean;\n}\nexport declare const makePageBreak: (opts?: PageBreak) => PageBreak;\nimport type { Worksheet } from './worksheet.js';\nexport declare const setPageOrientation: (ws: Worksheet, orientation: PageOrientation) => void;\nexport declare const setPaperSize: (ws: Worksheet, paperSize: number) => void;\nexport declare const setPrintScale: (ws: Worksheet, scale: number) => void;\nexport declare const setFitToPage: (ws: Worksheet, opts: {\n width?: number;\n height?: number;\n}) => void;\nexport declare const setPageMargins: (ws: Worksheet, opts?: Partial) => void;\nexport type HeaderFooterSection = 'odd' | 'even' | 'first';\nexport declare const setHeader: (ws: Worksheet, section: HeaderFooterSection, text: string) => void;\nexport declare const setFooter: (ws: Worksheet, section: HeaderFooterSection, text: string) => void;\nexport declare const HEADER_FOOTER_CODES: Readonly<{\n pageNumber: \"&P\";\n pageCount: \"&N\";\n date: \"&D\";\n time: \"&T\";\n filePath: \"&Z&F\";\n fileName: \"&F\";\n sheetName: \"&A\";\n picture: \"&G\";\n}>;\nexport declare const buildHeaderFooterText: (parts: {\n left?: string;\n center?: string;\n right?: string;\n}) => string;\nexport declare const setHeaderText: (ws: Worksheet, parts: {\n left?: string;\n center?: string;\n right?: string;\n}, section?: HeaderFooterSection) => void;\nexport declare const setFooterText: (ws: Worksheet, parts: {\n left?: string;\n center?: string;\n right?: string;\n}, section?: HeaderFooterSection) => void;\nexport declare const addRowBreak: (ws: Worksheet, row: number) => PageBreak;\nexport declare const addColBreak: (ws: Worksheet, col: number) => PageBreak;\nexport declare const setPrintGridLines: (ws: Worksheet, on: boolean) => void;\nexport declare const setPrintHeadings: (ws: Worksheet, on: boolean) => void;\nexport declare const setPrintCentered: (ws: Worksheet, opts: {\n horizontal?: boolean;\n vertical?: boolean;\n}) => void;\n", "dist/worksheet/phonetic.d.ts": "export type PhoneticType = 'halfwidthKatakana' | 'fullwidthKatakana' | 'Hiragana' | 'noConversion';\nexport type PhoneticAlignment = 'noControl' | 'left' | 'center' | 'distributed';\nexport interface WorksheetPhoneticProperties {\n fontId?: number;\n type?: PhoneticType;\n alignment?: PhoneticAlignment;\n}\nexport declare const makeWorksheetPhoneticProperties: (opts?: WorksheetPhoneticProperties) => WorksheetPhoneticProperties;\n", "dist/worksheet/pivot-reader.d.ts": "import type { Workbook } from '../workbook/workbook.js';\nimport type { Worksheet } from './worksheet.js';\nexport interface PivotTableSummary {\n name: string;\n ref: string;\n fields: string[];\n rows: string[];\n columns: string[];\n filters: string[];\n values: string[];\n}\nexport declare function listPassthroughPivotTables(wb: Workbook, ws: Worksheet): PivotTableSummary[];\nexport declare function liftPivotTables(wb: Workbook): void;\n", "dist/worksheet/pivot-table.d.ts": "import type { CellValue, ExcelErrorCode } from '../cell/cell.js';\nimport type { Workbook } from '../workbook/workbook.js';\nimport { type Worksheet } from './worksheet.js';\nexport type PivotAggregate = 'sum' | 'count' | 'average' | 'max' | 'min';\nexport type PivotLayout = 'compact' | 'outline' | 'tabular';\nexport type PivotSubtotals = 'top' | 'bottom' | 'off';\nexport type PivotItemValue = string | number | boolean | null;\nexport interface PivotValueField {\n field: number;\n aggregate: PivotAggregate;\n name?: string;\n}\nexport interface PivotFilterField {\n field: number;\n selected?: PivotItemValue;\n}\nexport interface PivotTable {\n name: string;\n source: {\n sheet: string;\n ref: string;\n };\n anchor: string;\n rows: number[];\n columns: number[];\n filters: PivotFilterField[];\n values: PivotValueField[];\n layout: PivotLayout;\n subtotals: PivotSubtotals;\n rowGrandTotals: boolean;\n columnGrandTotals: boolean;\n renderedRef?: string;\n}\nexport interface AddPivotTableOptions {\n name?: string;\n source: {\n sheet: string;\n ref: string;\n };\n anchor: string;\n rows?: number[];\n columns?: number[];\n filters?: PivotFilterField[];\n values?: PivotValueField[];\n layout?: PivotLayout;\n subtotals?: PivotSubtotals;\n rowGrandTotals?: boolean;\n columnGrandTotals?: boolean;\n}\nexport type PivotCacheValue = {\n t: 's';\n v: string;\n} | {\n t: 'n';\n v: number;\n} | {\n t: 'b';\n v: boolean;\n} | {\n t: 'e';\n v: ExcelErrorCode;\n} | {\n t: 'm';\n};\ninterface PivotFieldStats {\n hasString: boolean;\n hasNumber: boolean;\n allIntegers: boolean;\n hasBoolean: boolean;\n hasError: boolean;\n hasBlank: boolean;\n min: number;\n max: number;\n}\nexport interface PivotCacheField {\n name: string;\n stats: PivotFieldStats;\n records: PivotCacheValue[];\n items?: PivotCacheValue[];\n itemIndex?: number[];\n}\nexport interface PivotAxisEntry {\n type: 'data' | 'default' | 'grand';\n r: number;\n x: number[];\n i: number;\n}\nexport interface PivotComputation {\n fields: PivotCacheField[];\n recordCount: number;\n valueNames: string[];\n colFields: number[];\n rowEntries: PivotAxisEntry[];\n colEntries: PivotAxisEntry[];\n location: {\n ref: string;\n firstHeaderRow: number;\n firstDataRow: number;\n firstDataCol: number;\n };\n outputRef: string;\n cells: Array<{\n row: number;\n col: number;\n value: CellValue;\n numFmt?: string;\n }>;\n}\nexport declare const PIVOT_VALUES_FIELD = -2;\nexport declare function addPivotTable(wb: Workbook, ws: Worksheet, opts: AddPivotTableOptions): PivotTable;\nexport declare function nextPivotTableName(wb: Workbook): string;\nexport declare function refreshPivotTable(wb: Workbook, ws: Worksheet, pt: PivotTable): PivotComputation;\nexport declare function getPivotTableOutputRef(wb: Workbook, pt: PivotTable): string;\nexport declare function getPivotFieldItems(wb: Workbook, source: {\n sheet: string;\n ref: string;\n}, field: number): PivotItemValue[];\nexport declare function removePivotTable(ws: Worksheet, pt: PivotTable): void;\nexport declare function getPivotTableAt(ws: Worksheet, row: number, col: number): PivotTable | undefined;\nexport declare function getPivotSourceFields(wb: Workbook, source: {\n sheet: string;\n ref: string;\n}): string[];\nexport declare function sourceFieldNames(wb: Workbook, source: {\n sheet: string;\n ref: string;\n}): string[] | undefined;\nexport type PivotStructure = Omit;\nexport declare function computePivotStructure(wb: Workbook, pt: PivotTable): PivotStructure;\nexport declare function computePivotTable(wb: Workbook, pt: PivotTable): PivotComputation;\nexport {};\n", "dist/worksheet/properties.d.ts": "import type { Color } from '../styles/colors.js';\nexport interface OutlineProperties {\n applyStyles?: boolean;\n summaryBelow?: boolean;\n summaryRight?: boolean;\n showOutlineSymbols?: boolean;\n}\nexport interface PageSetupProperties {\n autoPageBreaks?: boolean;\n fitToPage?: boolean;\n}\nexport interface SheetProperties {\n codeName?: string;\n enableFormatConditionsCalculation?: boolean;\n filterMode?: boolean;\n published?: boolean;\n syncHorizontal?: boolean;\n syncRef?: string;\n syncVertical?: boolean;\n transitionEvaluation?: boolean;\n transitionEntry?: boolean;\n tabColor?: Color;\n outlinePr?: OutlineProperties;\n pageSetUpPr?: PageSetupProperties;\n}\nexport declare const makeSheetProperties: (opts?: SheetProperties) => SheetProperties;\n", "dist/worksheet/protected-ranges.d.ts": "import type { MultiCellRange } from './cell-range.js';\nexport interface ProtectedRange {\n sqref: MultiCellRange;\n name: string;\n password?: string;\n securityDescriptor?: string;\n algorithmName?: string;\n hashValue?: string;\n saltValue?: string;\n spinCount?: number;\n}\nexport declare const makeProtectedRange: (opts: Partial & {\n sqref: MultiCellRange;\n name: string;\n}) => ProtectedRange;\n", "dist/worksheet/protection.d.ts": "export interface SheetProtection {\n sheet?: boolean;\n objects?: boolean;\n scenarios?: boolean;\n formatCells?: boolean;\n formatColumns?: boolean;\n formatRows?: boolean;\n insertColumns?: boolean;\n insertRows?: boolean;\n insertHyperlinks?: boolean;\n deleteColumns?: boolean;\n deleteRows?: boolean;\n selectLockedCells?: boolean;\n selectUnlockedCells?: boolean;\n sort?: boolean;\n autoFilter?: boolean;\n pivotTables?: boolean;\n saltValue?: string;\n spinCount?: number;\n algorithmName?: string;\n hashValue?: string;\n}\nexport declare const makeSheetProtection: (opts?: SheetProtection) => SheetProtection;\nimport type { Worksheet } from './worksheet.js';\nexport declare const protectSheet: (ws: Worksheet, overrides?: Partial) => SheetProtection;\nexport declare const unprotectSheet: (ws: Worksheet) => void;\nexport declare const isSheetProtected: (ws: Worksheet) => boolean;\n", "dist/worksheet/scenarios.d.ts": "import type { MultiCellRange } from './cell-range.js';\nexport interface ScenarioInputCell {\n ref: string;\n val: string;\n deleted?: boolean;\n undone?: boolean;\n numFmtId?: number;\n}\nexport interface Scenario {\n name: string;\n inputCells: ScenarioInputCell[];\n locked?: boolean;\n hidden?: boolean;\n user?: string;\n comment?: string;\n}\nexport interface ScenarioList {\n scenarios: Scenario[];\n current?: number;\n show?: number;\n sqref?: MultiCellRange;\n}\nexport declare const makeScenarioInputCell: (opts: ScenarioInputCell) => ScenarioInputCell;\nexport declare const makeScenario: (opts: Scenario) => Scenario;\nexport declare const makeScenarioList: (opts?: Partial) => ScenarioList;\n", "dist/worksheet/smart-tags.d.ts": "export interface CellSmartTagProperty {\n key: string;\n val: string;\n}\nexport interface CellSmartTag {\n type: number;\n properties: CellSmartTagProperty[];\n deleted?: boolean;\n xmlBased?: boolean;\n}\nexport interface CellSmartTags {\n ref: string;\n tags: CellSmartTag[];\n}\nexport declare const makeCellSmartTagProperty: (key: string, val: string) => CellSmartTagProperty;\nexport declare const makeCellSmartTag: (opts: Partial & {\n type: number;\n}) => CellSmartTag;\nexport declare const makeCellSmartTags: (opts: Partial & {\n ref: string;\n}) => CellSmartTags;\n", "dist/worksheet/sort-state.d.ts": "export type SortBy = 'value' | 'cellColor' | 'fontColor' | 'icon';\nexport type SortMethod = 'stroke' | 'pinYin';\nexport type SortIconSet = '3Arrows' | '3ArrowsGray' | '3Flags' | '3TrafficLights1' | '3TrafficLights2' | '3Signs' | '3Symbols' | '3Symbols2' | '4Arrows' | '4ArrowsGray' | '4RedToBlack' | '4Rating' | '4TrafficLights' | '5Arrows' | '5ArrowsGray' | '5Rating' | '5Quarters';\nexport interface SortCondition {\n ref: string;\n descending?: boolean;\n sortBy?: SortBy;\n customList?: string;\n dxfId?: number;\n iconSet?: SortIconSet;\n iconId?: number;\n}\nexport interface SortState {\n ref: string;\n conditions: SortCondition[];\n columnSort?: boolean;\n caseSensitive?: boolean;\n sortMethod?: SortMethod;\n}\nexport declare const makeSortCondition: (opts: SortCondition) => SortCondition;\nexport declare const makeSortState: (opts: Partial & {\n ref: string;\n}) => SortState;\n", "dist/worksheet/sparklines.d.ts": "import type { Color } from '../styles/colors.js';\nexport type SparklineType = 'line' | 'column' | 'stacked';\nexport type SparklineEmptyCells = 'gap' | 'zero' | 'span';\nexport type SparklineAxisType = 'individual' | 'group' | 'custom';\nexport interface Sparkline {\n formula: string;\n location: string;\n}\nexport interface SparklineGroup {\n type?: SparklineType;\n sparklines: Sparkline[];\n colorSeries?: Color;\n colorNegative?: Color;\n colorAxis?: Color;\n colorMarkers?: Color;\n colorFirst?: Color;\n colorLast?: Color;\n colorHigh?: Color;\n colorLow?: Color;\n markers?: boolean;\n high?: boolean;\n low?: boolean;\n first?: boolean;\n last?: boolean;\n negative?: boolean;\n displayXAxis?: boolean;\n displayHidden?: boolean;\n rightToLeft?: boolean;\n dateAxis?: boolean;\n dateFormula?: string;\n displayEmptyCellsAs?: SparklineEmptyCells;\n lineWeight?: number;\n minAxisType?: SparklineAxisType;\n maxAxisType?: SparklineAxisType;\n manualMin?: number;\n manualMax?: number;\n}\nexport declare function makeSparklineGroup(opts: Partial & {\n sparklines: Sparkline[];\n}): SparklineGroup;\n", "dist/worksheet/structure.d.ts": "import type { Workbook } from '../workbook/workbook.js';\nimport type { Worksheet } from './worksheet.js';\nexport declare function insertRows(wb: Workbook, ws: Worksheet, at: number, count?: number): void;\nexport declare function deleteRows(wb: Workbook, ws: Worksheet, at: number, count?: number): void;\n", "dist/worksheet/table.d.ts": "import type { Workbook } from '../workbook/workbook.js';\nimport type { AutoFilter } from './auto-filter.js';\nimport type { SortState } from './sort-state.js';\nimport { type Worksheet } from './worksheet.js';\nexport interface TableColumn {\n id: number;\n name: string;\n totalsRowFunction?: 'sum' | 'min' | 'max' | 'count' | 'countNums' | 'average' | 'stdDev' | 'var' | 'custom';\n totalsRowLabel?: string;\n totalsRowFormula?: string;\n calculatedColumnFormula?: string;\n}\nexport interface TableStyleInfo {\n name?: string;\n showFirstColumn?: boolean;\n showLastColumn?: boolean;\n showRowStripes?: boolean;\n showColumnStripes?: boolean;\n}\nexport interface TableDefinition {\n id: number;\n displayName: string;\n name?: string;\n ref: string;\n headerRowCount?: number;\n totalsRowCount?: number;\n totalsRowShown?: boolean;\n styleInfo?: TableStyleInfo;\n columns: TableColumn[];\n autoFilter?: AutoFilter;\n sortState?: SortState;\n rId?: string;\n}\nexport declare function makeTableColumn(opts: {\n id: number;\n name: string;\n}): TableColumn;\nexport declare function makeTableDefinition(opts: {\n id: number;\n displayName: string;\n ref: string;\n name?: string;\n columns?: TableColumn[];\n headerRowCount?: number;\n totalsRowCount?: number;\n totalsRowShown?: boolean;\n styleInfo?: TableStyleInfo;\n autoFilter?: AutoFilter;\n}): TableDefinition;\nexport declare const addExcelTable: (wb: Workbook, ws: Worksheet, opts: {\n name: string;\n ref: string;\n columns: ReadonlyArray;\n style?: string;\n styleInfo?: TableStyleInfo;\n headerRowCount?: number;\n totalsRowCount?: number;\n totalsRowShown?: boolean;\n autoFilter?: AutoFilter;\n displayName?: string;\n}) => TableDefinition;\n", "dist/worksheet/threaded-comments.d.ts": "export interface ThreadedCommentMention {\n personId: string;\n mentionId: string;\n startIndex: number;\n length: number;\n}\nexport interface ThreadedComment {\n id: string;\n ref: string;\n personId: string;\n created?: string;\n text: string;\n parentId?: string;\n done?: boolean;\n mentions?: ThreadedCommentMention[];\n}\nexport declare const newOfficeGuid: () => string;\nexport declare function makeThreadedComment(opts: {\n ref: string;\n personId: string;\n text: string;\n parentId?: string;\n created?: Date;\n}): ThreadedComment;\n", "dist/worksheet/views.d.ts": "export type PaneType = 'bottomRight' | 'topRight' | 'bottomLeft' | 'topLeft';\nexport type PaneState = 'split' | 'frozen' | 'frozenSplit';\nexport type SheetViewMode = 'normal' | 'pageBreakPreview' | 'pageLayout';\nexport interface Pane {\n xSplit?: number;\n ySplit?: number;\n topLeftCell?: string;\n activePane?: PaneType;\n state: PaneState;\n}\nexport interface Selection {\n pane?: PaneType;\n activeCell?: string;\n sqref?: string;\n}\nexport interface SheetView {\n workbookViewId: number;\n tabSelected?: boolean;\n showGridLines?: boolean;\n showRowColHeaders?: boolean;\n showFormulas?: boolean;\n showZeros?: boolean;\n rightToLeft?: boolean;\n showOutlineSymbols?: boolean;\n view?: SheetViewMode;\n topLeftCell?: string;\n zoomScale?: number;\n zoomScaleNormal?: number;\n pane?: Pane;\n selections?: Selection[];\n}\nexport declare function makeSheetView(opts?: Partial): SheetView;\nexport declare function activeSelection(view: SheetView): Selection | undefined;\nexport interface FreezeCounts {\n rows: number;\n cols: number;\n}\nexport declare function makeFreezePane(topLeftRef: string): Pane;\nexport declare function freezePaneFor(topLeft: string | FreezeCounts): Pane;\nexport declare function freezePaneRef(view: SheetView): string | undefined;\n", "dist/worksheet/web-publish.d.ts": "export interface WorksheetCustomProperty {\n name: string;\n rId?: string;\n}\nexport interface WebPublishItem {\n id: number;\n divId: string;\n sourceType: 'sheet' | 'printArea' | 'autoFilter' | 'range' | 'chart' | 'pivotTable' | 'query' | 'label';\n sourceRef?: string;\n sourceObject?: string;\n destinationFile: string;\n title?: string;\n autoRepublish?: boolean;\n}\nexport declare const makeWorksheetCustomProperty: (opts: WorksheetCustomProperty) => WorksheetCustomProperty;\nexport declare const makeWebPublishItem: (opts: WebPublishItem) => WebPublishItem;\n", "dist/worksheet/worksheet.d.ts": "import type { CellValue } from '../cell/cell.js';\nimport { type Cell } from '../cell/cell.js';\nimport type { Drawing } from '../drawing/drawing.js';\nimport { type Color } from '../styles/colors.js';\nimport { type CellCoordinateNumeric, type RangeRef } from '../utils/coordinate.js';\nimport type { AutoFilter } from './auto-filter.js';\nimport { type CellRange } from './cell-range.js';\nimport type { LegacyComment } from './comments.js';\nimport type { ThreadedComment } from './threaded-comments.js';\nimport type { ConditionalFormatting } from './conditional-formatting.js';\nimport type { DataValidation } from './data-validations.js';\nimport { type ColumnDimension, type RowDimension } from './dimensions.js';\nimport type { DataConsolidate } from './data-consolidate.js';\nimport type { ScenarioList } from './scenarios.js';\nimport type { CellWatch, IgnoredError } from './errors.js';\nimport type { HeaderFooter, PageBreak, PageMargins, PageSetup, PrintOptions } from './page-setup.js';\nimport type { WorksheetPhoneticProperties } from './phonetic.js';\nimport { type SheetProperties } from './properties.js';\nimport type { SheetProtection } from './protection.js';\nimport type { ProtectedRange } from './protected-ranges.js';\nimport type { SortState } from './sort-state.js';\nimport type { WebPublishItem, WorksheetCustomProperty } from './web-publish.js';\nimport { type Hyperlink } from './hyperlinks.js';\nimport type { PivotTable } from './pivot-table.js';\nimport type { TableDefinition } from './table.js';\nimport { type FreezeCounts, type SheetView } from './views.js';\nexport interface Worksheet {\n title: string;\n rows: Map>;\n _appendRowCursor: number;\n mergedCells: CellRange[];\n views: SheetView[];\n columnDimensions: Map;\n rowDimensions: Map;\n defaultColumnWidth?: number;\n defaultRowHeight?: number;\n outlineLevelRow?: number;\n outlineLevelCol?: number;\n customHeight?: boolean;\n zeroHeight?: boolean;\n thickTop?: boolean;\n thickBottom?: boolean;\n baseColWidth?: number;\n hyperlinks: Hyperlink[];\n dataValidations: DataValidation[];\n autoFilter?: AutoFilter;\n tables: TableDefinition[];\n pivotTables?: PivotTable[];\n legacyComments: LegacyComment[];\n threadedComments?: ThreadedComment[];\n conditionalFormatting: ConditionalFormatting[];\n sheetProperties?: SheetProperties;\n sheetProtection?: SheetProtection;\n protectedRanges: ProtectedRange[];\n sortState?: SortState;\n backgroundPictureRId?: string;\n legacyDrawingRId?: string;\n legacyDrawingHFRId?: string;\n smartTags: import('./smart-tags.js').CellSmartTags[];\n customSheetViews: import('./custom-sheet-views.js').CustomSheetView[];\n oleObjects: import('./ole-objects.js').OleObject[];\n controls: import('./ole-objects.js').FormControl[];\n sparklineGroups?: import('./sparklines.js').SparklineGroup[];\n printOptions?: PrintOptions;\n pageMargins?: PageMargins;\n pageSetup?: PageSetup;\n headerFooter?: HeaderFooter;\n rowBreaks: PageBreak[];\n colBreaks: PageBreak[];\n customProperties: WorksheetCustomProperty[];\n webPublishItems: WebPublishItem[];\n phoneticPr?: WorksheetPhoneticProperties;\n dataConsolidate?: DataConsolidate;\n scenarios?: ScenarioList;\n cellWatches: CellWatch[];\n ignoredErrors: IgnoredError[];\n drawing?: Drawing;\n relsExtras?: ReadonlyArray<{\n id: string;\n type: string;\n target: string;\n }>;\n bodyExtras?: {\n beforeSheetData: import('../xml/tree.js').XmlNode[];\n afterSheetData: import('../xml/tree.js').XmlNode[];\n };\n}\nexport declare function makeWorksheet(title: string): Worksheet;\nexport declare function getCell(ws: Worksheet, row: number, col: number): Cell | undefined;\nexport declare function setCell(ws: Worksheet, row: number, col: number, value: CellValue, styleId?: number): Cell;\nexport declare function ensureCell(ws: Worksheet, row: number, col: number): Cell;\nexport declare function deleteCell(ws: Worksheet, row: number, col: number): void;\nexport declare function clearRange(ws: Worksheet, range: RangeRef): number;\nexport declare function clearAllCells(ws: Worksheet): number;\nexport interface AppendRowOptions {\n styleIds?: ReadonlyArray;\n}\nexport declare function appendRow(ws: Worksheet, values: ReadonlyArray, opts?: AppendRowOptions): number;\nexport declare function appendRows(ws: Worksheet, rows: ReadonlyArray>, opts?: AppendRowOptions): {\n firstRow: number;\n lastRow: number;\n};\nexport declare function writeRange(ws: Worksheet, startRef: string | CellCoordinateNumeric, values: ReadonlyArray>): {\n minRow: number;\n maxRow: number;\n minCol: number;\n maxCol: number;\n} | undefined;\nexport interface IterRowsOptions {\n minRow?: number;\n maxRow?: number;\n minCol?: number;\n maxCol?: number;\n}\nexport declare function iterRows(ws: Worksheet, opts?: IterRowsOptions): IterableIterator<(Cell | undefined)[]>;\nexport declare function iterValues(ws: Worksheet, opts?: IterRowsOptions): IterableIterator;\nexport declare function iterCells(ws: Worksheet, opts?: IterRowsOptions): IterableIterator;\nexport declare function getMaxRow(ws: Worksheet): number;\nexport declare function getMaxCol(ws: Worksheet): number;\nexport declare function getPopulatedRowIndices(ws: Worksheet): number[];\nexport declare function getPopulatedColumnIndices(ws: Worksheet): number[];\nexport interface CellsByKindCounts {\n null: number;\n string: number;\n number: number;\n boolean: number;\n date: number;\n duration: number;\n error: number;\n 'rich-text': number;\n formula: number;\n}\nexport declare function classifyCellValue(v: import('../cell/cell.js').CellValue): keyof CellsByKindCounts;\nexport declare function countCellsByKind(ws: Worksheet): CellsByKindCounts;\nexport declare function getCellAddress(ws: Worksheet, c: Cell): string;\nexport declare function getRangeAddress(ws: Worksheet, range: RangeRef): string;\nexport declare function isWorksheetEmpty(ws: Worksheet): boolean;\nexport declare function getNonEmptyCellCount(ws: Worksheet, opts?: {\n includeFormulas?: boolean;\n includeRichText?: boolean;\n}): number;\nexport declare function countCells(ws: Worksheet): number;\nexport declare function getCellExtent(ws: Worksheet): {\n minRow: number;\n maxRow: number;\n minCol: number;\n maxCol: number;\n} | undefined;\nexport declare function getValueExtent(ws: Worksheet): {\n minRow: number;\n maxRow: number;\n minCol: number;\n maxCol: number;\n} | undefined;\nexport declare function getCellExtentRef(ws: Worksheet): string | undefined;\nexport declare function findCells(ws: Worksheet, predicate: (c: Cell) => boolean): IterableIterator;\nexport declare function findFirstCell(ws: Worksheet, predicate: (c: Cell) => boolean): Cell | undefined;\nexport declare function replaceCellValues(ws: Worksheet, search: string | ((value: CellValue, cell: Cell) => boolean), replacement: CellValue): number;\nexport declare function replaceInRange(ws: Worksheet, range: RangeRef, search: string | ((value: CellValue, cell: Cell) => boolean), replacement: CellValue): number;\nexport declare function getCellsInRange(ws: Worksheet, range: RangeRef): IterableIterator;\nexport declare function setCellByCoord(ws: Worksheet, coord: string, value: CellValue, styleId?: number): Cell;\nexport declare function getCellByCoord(ws: Worksheet, coord: string): Cell | undefined;\nexport declare function ensureCellByCoord(ws: Worksheet, coord: string): Cell;\nexport declare function mergeCells(ws: Worksheet, refOrRange: RangeRef): CellRange;\nexport declare function unmergeCells(ws: Worksheet, refOrRange: RangeRef): boolean;\nexport declare function getMergedCells(ws: Worksheet): ReadonlyArray;\nexport declare function isMergedCell(ws: Worksheet, row: number, col: number): boolean;\nexport declare function getMergedRangeAt(ws: Worksheet, row: number, col: number): CellRange | undefined;\nexport declare function unmergeCellsAt(ws: Worksheet, row: number, col: number): boolean;\nexport declare function removeAllMergedRanges(ws: Worksheet): number;\nexport declare function setFreezePanes(ws: Worksheet, topLeft: string | FreezeCounts | undefined): void;\nexport declare function getFreezePanes(ws: Worksheet): string | undefined;\nexport declare function freezeRows(ws: Worksheet, count: number): void;\nexport declare function freezeColumns(ws: Worksheet, count: number): void;\nexport declare const unfreezePanes: (ws: Worksheet) => void;\nexport declare const freezeFirstRow: (ws: Worksheet) => void;\nexport declare const freezeFirstColumn: (ws: Worksheet) => void;\nexport declare const freezeFirstRowAndColumn: (ws: Worksheet) => void;\nexport declare function setSheetTabColor(ws: Worksheet, color: string | Partial): Color;\nexport declare function removeSheetTabColor(ws: Worksheet): void;\nexport declare function setShowGridLines(ws: Worksheet, show: boolean): void;\nexport declare function setShowRowColHeaders(ws: Worksheet, show: boolean): void;\nexport declare function setShowFormulas(ws: Worksheet, show: boolean): void;\nexport declare function setShowZeros(ws: Worksheet, show: boolean): void;\nexport declare function setRightToLeft(ws: Worksheet, rtl: boolean): void;\nexport declare function setSheetZoom(ws: Worksheet, scale: number): void;\nexport declare function setSheetViewMode(ws: Worksheet, mode: 'normal' | 'pageBreakPreview' | 'pageLayout'): void;\nexport declare function setActiveCell(ws: Worksheet, ref: string): void;\nexport declare function setSelectedRange(ws: Worksheet, sqref: string): void;\nexport declare function setRangeValues(ws: Worksheet, range: RangeRef, rows: ReadonlyArray>): void;\nexport declare function applyToRange(ws: Worksheet, range: RangeRef, visit: (cell: Cell, row: number, col: number) => void): void;\nexport declare function getRangeValues(ws: Worksheet, range: RangeRef): (CellValue | null)[][];\nexport declare function copyRange(ws: Worksheet, source: RangeRef, target: RangeRef, opts?: {\n targetWs?: Worksheet;\n}): number;\nexport declare function moveRange(ws: Worksheet, source: RangeRef, target: RangeRef, opts?: {\n targetWs?: Worksheet;\n}): number;\nexport declare function getColumnValues(ws: Worksheet, col: number, opts?: {\n minRow?: number;\n maxRow?: number;\n}): (CellValue | null)[];\nexport declare function getRowValues(ws: Worksheet, row: number, opts?: {\n minCol?: number;\n maxCol?: number;\n}): (CellValue | null)[];\nexport declare function getCellsInRow(ws: Worksheet, row: number): Cell[];\nexport declare function getCellsInColumn(ws: Worksheet, col: number): Cell[];\nexport declare function getColumnDimension(ws: Worksheet, col: number): ColumnDimension | undefined;\nexport declare const isUsableDimensionSize: (value: number) => boolean;\nexport declare function setColumnDimension(ws: Worksheet, col: number, opts: Partial>): ColumnDimension;\nexport declare function setColumnWidth(ws: Worksheet, col: number, width: number): ColumnDimension;\nexport declare function hideColumn(ws: Worksheet, col: number): ColumnDimension;\nexport declare function unhideColumn(ws: Worksheet, col: number): void;\nexport declare function hideColumns(ws: Worksheet, fromCol: number, toCol: number): void;\nexport declare function unhideColumns(ws: Worksheet, fromCol: number, toCol: number): void;\nexport declare function setDefaultColumnWidth(ws: Worksheet, width: number | undefined): void;\nexport declare function setDefaultRowHeight(ws: Worksheet, height: number | undefined): void;\nexport declare function groupRows(ws: Worksheet, fromRow: number, toRow: number, level?: number): void;\nexport declare function ungroupRows(ws: Worksheet, fromRow: number, toRow: number): void;\nexport declare function groupColumns(ws: Worksheet, fromCol: number, toCol: number, level?: number): void;\nexport declare function ungroupColumns(ws: Worksheet, fromCol: number, toCol: number): void;\nexport declare function collapseRowGroup(ws: Worksheet, fromRow: number, toRow: number): void;\nexport declare function expandRowGroup(ws: Worksheet, fromRow: number, toRow: number): void;\nexport declare function collapseColumnGroup(ws: Worksheet, fromCol: number, toCol: number): void;\nexport declare function expandColumnGroup(ws: Worksheet, fromCol: number, toCol: number): void;\nexport declare function autofitColumn(ws: Worksheet, col: number, opts?: {\n minRow?: number;\n maxRow?: number;\n padding?: number;\n min?: number;\n max?: number;\n workbook?: {\n styles: {\n cellXfs: ReadonlyArray<{\n fontId: number;\n }>;\n fonts: ReadonlyArray<{\n size?: number;\n }>;\n };\n };\n}): ColumnDimension | undefined;\nexport declare function autofitColumns(ws: Worksheet, opts?: {\n padding?: number;\n min?: number;\n max?: number;\n workbook?: {\n styles: {\n cellXfs: ReadonlyArray<{\n fontId: number;\n }>;\n fonts: ReadonlyArray<{\n size?: number;\n }>;\n };\n };\n}): void;\nexport declare function setColumnWidths(ws: Worksheet, widths: ReadonlyArray | Record, startCol?: number): void;\nexport declare function getRowDimension(ws: Worksheet, row: number): RowDimension | undefined;\nexport declare function setRowDimension(ws: Worksheet, row: number, opts: Partial): RowDimension;\nexport declare function setRowHeight(ws: Worksheet, row: number, height: number): RowDimension;\nexport declare function setRowHeights(ws: Worksheet, heights: ReadonlyArray | Record, startRow?: number): void;\nexport declare function hideRow(ws: Worksheet, row: number): RowDimension;\nexport declare function unhideRow(ws: Worksheet, row: number): void;\nexport declare function hideRows(ws: Worksheet, fromRow: number, toRow: number): void;\nexport declare function unhideRows(ws: Worksheet, fromRow: number, toRow: number): void;\nexport declare function setHyperlink(ws: Worksheet, ref: string, opts: {\n target?: string;\n location?: string;\n display?: string;\n tooltip?: string;\n}): Hyperlink;\nexport declare function setHyperlinks(ws: Worksheet, entries: ReadonlyArray<{\n ref: string;\n target?: string;\n location?: string;\n display?: string;\n tooltip?: string;\n}>): Hyperlink[];\nexport declare function removeHyperlink(ws: Worksheet, ref: string): boolean;\nexport declare function removeAllHyperlinks(ws: Worksheet): number;\nexport declare function getHyperlink(ws: Worksheet, ref: string): Hyperlink | undefined;\nexport declare function listHyperlinks(ws: Worksheet): ReadonlyArray;\nexport declare function getCellHyperlink(ws: Worksheet, c: Cell): Hyperlink | undefined;\nexport declare function getCellComment(ws: Worksheet, c: Cell): LegacyComment | undefined;\nexport declare function addDataValidation(ws: Worksheet, dv: DataValidation): DataValidation;\nexport declare function removeDataValidations(ws: Worksheet, predicate: (dv: DataValidation) => boolean): number;\nexport declare function listDataValidations(ws: Worksheet): ReadonlyArray;\nexport declare function removeAllDataValidations(ws: Worksheet): number;\nexport declare function setAutoFilter(ws: Worksheet, filter: AutoFilter | undefined): void;\nexport declare function getAutoFilter(ws: Worksheet): AutoFilter | undefined;\nexport declare function addTable(ws: Worksheet, table: TableDefinition): TableDefinition;\nexport declare function getTable(ws: Worksheet, displayName: string): TableDefinition | undefined;\nexport declare function listTables(ws: Worksheet): ReadonlyArray;\nexport declare function removeTable(ws: Worksheet, displayName: string): boolean;\nexport declare function removeAllTables(ws: Worksheet): number;\nexport declare function setComment(ws: Worksheet, opts: LegacyComment): LegacyComment;\nexport declare function setComments(ws: Worksheet, entries: ReadonlyArray): LegacyComment[];\nexport declare function getComment(ws: Worksheet, ref: string): LegacyComment | undefined;\nexport declare function removeComment(ws: Worksheet, ref: string): boolean;\nexport declare function listComments(ws: Worksheet): ReadonlyArray;\nexport declare function removeAllComments(ws: Worksheet): number;\nexport declare function editCommentText(ws: Worksheet, ref: string, newText: string): boolean;\nexport declare function editCommentAuthor(ws: Worksheet, ref: string, newAuthor: string): boolean;\nexport declare function renameCommentAuthor(ws: Worksheet, oldName: string, newName: string): number;\nexport declare function findCommentsByAuthor(ws: Worksheet, author: string): ReadonlyArray;\nexport declare function addConditionalFormatting(ws: Worksheet, cf: ConditionalFormatting): ConditionalFormatting;\nexport declare function getConditionalFormatting(ws: Worksheet): ReadonlyArray;\nexport declare function removeAllConditionalFormatting(ws: Worksheet): number;\nexport declare function addCellWatch(ws: Worksheet, watch: CellWatch): CellWatch;\nexport declare function removeCellWatches(ws: Worksheet, predicate: (w: CellWatch) => boolean): number;\nexport declare function addIgnoredError(ws: Worksheet, ie: IgnoredError): IgnoredError;\nexport declare function removeIgnoredErrors(ws: Worksheet, predicate: (ie: IgnoredError) => boolean): number;\n", "dist/xml/index.d.ts": "export type { SaxEvent, SaxInput } from './iterparse.js';\nexport { iterParse } from './iterparse.js';\nexport { ACTIVEX_TYPE, ARC_APP, ARC_CONTENT_TYPES, ARC_CORE, ARC_CUSTOM, ARC_CUSTOM_UI, ARC_ROOT_RELS, ARC_SHARED_STRINGS, ARC_STYLE, ARC_THEME, ARC_WORKBOOK, ARC_WORKBOOK_RELS, C14_NS, C15_NS, C16_NS, CHART_DRAWING_NS, CHART_NS, CHART_TYPE, CHARTSHAPE_TYPE, CHARTSHEET_TYPE, COMMENTS_NS, COMMENTS_TYPE, CONTYPES_NS, COREPROPS_NS, CPROPS_FMTID, CPROPS_TYPE, CTRLPROPS_TYPE, CUSTOMUI_NS, CUSTPROPS_NS, CX_NS, DCMITYPE_NS, DCORE_NS, DCTERMS_NS, DCTERMS_PREFIX, DEFAULT_PREFIXES, DRAWING_NS, DRAWING_TYPE, EXTERNAL_LINK_NS, EXTERNAL_LINK_TYPE, IMAGE_NS, MARKUP_COMPAT_NS, PACKAGE_CHARTS, PACKAGE_CHARTSHEETS, PACKAGE_CHARTSHEETS_RELS, PACKAGE_DRAWINGS, PACKAGE_IMAGES, PACKAGE_PIVOT_CACHE, PACKAGE_PIVOT_TABLE, PACKAGE_PROPS, PACKAGE_RELS, PACKAGE_THEME, PACKAGE_WORKSHEET_RELS, PACKAGE_WORKSHEETS, PACKAGE_XL, PICTURE_NS, PKG_REL_NS, parseQName, qname, REL_NS, SHARED_STRINGS_TYPE, SHEET_DRAWING_NS, SHEET_MAIN_NS, STYLES_TYPE, THEME_TYPE, THREADED_COMMENTS_NS, VBA_TYPE, VML_NS, VTYPES_NS, WORKSHEET_TYPE, X14_NS, X15_NS, X16_NS, XLSM_TYPE, XLSX_TYPE, XLTM_TYPE, XLTX_TYPE, XML_NS, XPROPS_NS, XSI_NS, } from './namespaces.js';\nexport { parseXml } from './parser.js';\nexport type { SerializeOptions } from './serializer.js';\nexport { serializeXml } from './serializer.js';\nexport type { XmlStreamWriter, XmlStreamWriterOptions } from './stream-writer.js';\nexport { createXmlStreamWriter } from './stream-writer.js';\nexport type { XmlNode } from './tree.js';\nexport { appendChild, el, elNs, findChild, findChildren } from './tree.js';\n", "dist/xml/iterparse.d.ts": "export type SaxEvent = {\n kind: 'start';\n name: string;\n attrs: Record;\n} | {\n kind: 'end';\n name: string;\n} | {\n kind: 'text';\n text: string;\n};\nexport type SaxInput = Uint8Array | string | ReadableStream;\nexport declare function iterParse(input: SaxInput): AsyncIterableIterator;\n", "dist/xml/namespaces.d.ts": "export declare const XML_NS = \"http://www.w3.org/XML/1998/namespace\";\nexport declare const XSI_NS = \"http://www.w3.org/2001/XMLSchema-instance\";\nexport declare const DCORE_NS = \"http://purl.org/dc/elements/1.1/\";\nexport declare const DCTERMS_NS = \"http://purl.org/dc/terms/\";\nexport declare const DCMITYPE_NS = \"http://purl.org/dc/dcmitype/\";\nexport declare const DCTERMS_PREFIX = \"dcterms\";\nexport declare const REL_NS = \"http://schemas.openxmlformats.org/officeDocument/2006/relationships\";\nexport declare const COMMENTS_NS = \"http://schemas.openxmlformats.org/officeDocument/2006/relationships/comments\";\nexport declare const IMAGE_NS = \"http://schemas.openxmlformats.org/officeDocument/2006/relationships/image\";\nexport declare const VML_NS = \"http://schemas.openxmlformats.org/officeDocument/2006/relationships/vmlDrawing\";\nexport declare const EXTERNAL_LINK_NS = \"http://schemas.openxmlformats.org/officeDocument/2006/relationships/externalLink\";\nexport declare const VTYPES_NS = \"http://schemas.openxmlformats.org/officeDocument/2006/docPropsVTypes\";\nexport declare const XPROPS_NS = \"http://schemas.openxmlformats.org/officeDocument/2006/extended-properties\";\nexport declare const CUSTPROPS_NS = \"http://schemas.openxmlformats.org/officeDocument/2006/custom-properties\";\nexport declare const CPROPS_FMTID = \"{D5CDD505-2E9C-101B-9397-08002B2CF9AE}\";\nexport declare const PKG_REL_NS = \"http://schemas.openxmlformats.org/package/2006/relationships\";\nexport declare const COREPROPS_NS = \"http://schemas.openxmlformats.org/package/2006/metadata/core-properties\";\nexport declare const CONTYPES_NS = \"http://schemas.openxmlformats.org/package/2006/content-types\";\nexport declare const SHEET_MAIN_NS = \"http://schemas.openxmlformats.org/spreadsheetml/2006/main\";\nexport declare const CHART_NS = \"http://schemas.openxmlformats.org/drawingml/2006/chart\";\nexport declare const DRAWING_NS = \"http://schemas.openxmlformats.org/drawingml/2006/main\";\nexport declare const SHEET_DRAWING_NS = \"http://schemas.openxmlformats.org/drawingml/2006/spreadsheetDrawing\";\nexport declare const CHART_DRAWING_NS = \"http://schemas.openxmlformats.org/drawingml/2006/chartDrawing\";\nexport declare const PICTURE_NS = \"http://schemas.openxmlformats.org/drawingml/2006/picture\";\nexport declare const STRICT_NS_ROOT = \"http://purl.oclc.org/ooxml/\";\nexport declare const CUSTOMUI_NS = \"http://schemas.microsoft.com/office/2006/relationships/ui/extensibility\";\nexport declare const MARKUP_COMPAT_NS = \"http://schemas.openxmlformats.org/markup-compatibility/2006\";\nexport declare const X14_NS = \"http://schemas.microsoft.com/office/spreadsheetml/2009/9/main\";\nexport declare const X15_NS = \"http://schemas.microsoft.com/office/spreadsheetml/2010/11/main\";\nexport declare const X16_NS = \"http://schemas.microsoft.com/office/spreadsheetml/2014/revision\";\nexport declare const C14_NS = \"http://schemas.microsoft.com/office/drawing/2010/chart\";\nexport declare const C15_NS = \"http://schemas.microsoft.com/office/drawing/2012/chart\";\nexport declare const C16_NS = \"http://schemas.microsoft.com/office/drawing/2017/03/chart\";\nexport declare const CX_NS = \"http://schemas.microsoft.com/office/drawing/2014/chartex\";\nexport declare const THREADED_COMMENTS_NS = \"http://schemas.microsoft.com/office/spreadsheetml/2018/threadedcomments\";\nexport declare const DEFAULT_PREFIXES: Readonly>;\nexport declare const PACKAGE_PROPS = \"docProps\";\nexport declare const PACKAGE_XL = \"xl\";\nexport declare const PACKAGE_RELS = \"_rels\";\nexport declare const PACKAGE_THEME = \"xl/theme\";\nexport declare const PACKAGE_WORKSHEETS = \"xl/worksheets\";\nexport declare const PACKAGE_CHARTSHEETS = \"xl/chartsheets\";\nexport declare const PACKAGE_DRAWINGS = \"xl/drawings\";\nexport declare const PACKAGE_CHARTS = \"xl/charts\";\nexport declare const PACKAGE_IMAGES = \"xl/media\";\nexport declare const PACKAGE_PIVOT_TABLE = \"xl/pivotTables\";\nexport declare const PACKAGE_PIVOT_CACHE = \"xl/pivotCache\";\nexport declare const PACKAGE_WORKSHEET_RELS = \"xl/worksheets/_rels\";\nexport declare const PACKAGE_CHARTSHEETS_RELS = \"xl/chartsheets/_rels\";\nexport declare const ARC_CONTENT_TYPES = \"[Content_Types].xml\";\nexport declare const ARC_ROOT_RELS = \"_rels/.rels\";\nexport declare const ARC_WORKBOOK_RELS = \"xl/_rels/workbook.xml.rels\";\nexport declare const ARC_CORE = \"docProps/core.xml\";\nexport declare const ARC_APP = \"docProps/app.xml\";\nexport declare const ARC_CUSTOM = \"docProps/custom.xml\";\nexport declare const ARC_WORKBOOK = \"xl/workbook.xml\";\nexport declare const ARC_STYLE = \"xl/styles.xml\";\nexport declare const ARC_THEME = \"xl/theme/theme1.xml\";\nexport declare const ARC_SHARED_STRINGS = \"xl/sharedStrings.xml\";\nexport declare const ARC_CUSTOM_UI = \"customUI/customUI.xml\";\nexport declare const XLSX_TYPE: string;\nexport declare const XLTX_TYPE: string;\nexport declare const XLSM_TYPE: string;\nexport declare const XLTM_TYPE: string;\nexport declare const SHARED_STRINGS_TYPE: string;\nexport declare const EXTERNAL_LINK_TYPE: string;\nexport declare const WORKSHEET_TYPE: string;\nexport declare const COMMENTS_TYPE: string;\nexport declare const STYLES_TYPE: string;\nexport declare const CHARTSHEET_TYPE: string;\nexport declare const DRAWING_TYPE = \"application/vnd.openxmlformats-officedocument.drawing+xml\";\nexport declare const CHART_TYPE = \"application/vnd.openxmlformats-officedocument.drawingml.chart+xml\";\nexport declare const CHARTEX_TYPE = \"application/vnd.ms-office.chartex+xml\";\nexport declare const CHARTSHAPE_TYPE = \"application/vnd.openxmlformats-officedocument.drawingml.chartshapes+xml\";\nexport declare const THEME_TYPE = \"application/vnd.openxmlformats-officedocument.theme+xml\";\nexport declare const CPROPS_TYPE = \"application/vnd.openxmlformats-officedocument.custom-properties+xml\";\nexport declare const VBA_TYPE = \"application/vnd.ms-office.vbaProject\";\nexport declare const ACTIVEX_TYPE = \"application/vnd.ms-office.activeX+xml\";\nexport declare const CTRLPROPS_TYPE = \"application/vnd.ms-excel.controlproperties+xml\";\nexport declare function qname(namespace: string | undefined, local: string): string;\nexport declare function parseQName(name: string): {\n ns: string;\n local: string;\n};\nexport declare function localNameOf(name: string): string;\n", "dist/xml/parser.d.ts": "import { type XmlNode } from './tree.js';\nexport declare const rejectDtdDeclarations: (text: string) => void;\nexport interface ParsedDocument {\n root: XmlNode;\n rootNamespaces: Array<{\n prefix: string;\n ns: string;\n }>;\n}\nexport declare function parseXml(input: Uint8Array | string): XmlNode;\nexport declare function parseXmlDocument(input: Uint8Array | string): ParsedDocument;\nexport declare const isWhitespaceOnly: (s: string) => boolean;\n", "dist/xml/serializer.d.ts": "import type { XmlNode } from './tree.js';\nexport interface SerializeOptions {\n xmlDeclaration?: boolean;\n standalone?: 'yes' | 'no' | 'omit';\n inScopePrefixes?: Readonly>;\n}\nexport declare function serializeXml(root: XmlNode, opts?: SerializeOptions): Uint8Array;\n", "dist/xml/stream-writer.d.ts": "import type { XmlNode } from './tree.js';\nexport interface XmlStreamWriterOptions {\n prefixMap?: Readonly>;\n xmlDeclaration?: boolean;\n standalone?: 'yes' | 'no' | 'omit';\n flushBytes?: number;\n}\nexport interface XmlStreamWriter {\n start(name: string, attrs?: Record): void;\n text(s: string): void;\n writeNode(n: XmlNode): void;\n writeRaw(s: string): void;\n end(): void;\n flush(): void;\n result(): Uint8Array;\n}\nexport declare function createXmlStreamWriter(opts?: XmlStreamWriterOptions): XmlStreamWriter;\n", "dist/xml/tree.d.ts": "export interface XmlNode {\n name: string;\n attrs: Record;\n text?: string;\n children: XmlNode[];\n}\nexport declare function el(name: string, attrs?: Readonly>, children?: ReadonlyArray, text?: string): XmlNode;\nexport declare function elNs(namespace: string | undefined, local: string, attrs?: Readonly>, children?: ReadonlyArray, text?: string): XmlNode;\nexport declare function findChild(node: XmlNode, name: string): XmlNode | undefined;\nexport declare function findChildren(node: XmlNode, name: string): XmlNode[];\nexport declare function appendChild(parent: XmlNode, child: XmlNode): XmlNode;\n", "dist/zip/decompression-guard.d.ts": "import { OpenXmlDecompressionBombError } from '../utils/exceptions.js';\nexport interface DecompressionLimits {\n maxEntryUncompressedBytes?: number;\n maxTotalUncompressedBytes?: number;\n maxCompressionRatio?: number;\n}\nexport interface ResolvedDecompressionLimits {\n readonly maxEntryUncompressedBytes: number;\n readonly maxTotalUncompressedBytes: number;\n readonly maxCompressionRatio: number;\n}\nexport declare const DEFAULT_DECOMPRESSION_LIMITS: ResolvedDecompressionLimits;\nexport type DecompressionLimitsInput = DecompressionLimits | false | undefined;\nexport declare function resolveDecompressionLimits(input: DecompressionLimitsInput): ResolvedDecompressionLimits | null;\nexport interface DecompressionBudget {\n readonly limits: ResolvedDecompressionLimits;\n totalInflated: number;\n readonly chargedByPath: Map;\n}\nexport declare function createBudget(limits: ResolvedDecompressionLimits): DecompressionBudget;\nexport declare function beginEntryInflate(budget: DecompressionBudget, path: string): (bytes: number) => void;\nexport declare function entryInflateCap(budget: DecompressionBudget, compressedSize: number): number;\nexport declare function checkDeclaredTotals(budget: DecompressionBudget, declaredEntries: ReadonlyArray<{\n path: string;\n compSize: number;\n uncompSize: number;\n}>): void;\nexport declare function entryOverflowError(path: string, cap: number): OpenXmlDecompressionBombError;\n", "dist/zip/index.d.ts": "export type { DecompressionLimits, ResolvedDecompressionLimits, } from './decompression-guard.js';\nexport { DEFAULT_DECOMPRESSION_LIMITS } from './decompression-guard.js';\nexport type { OpenZipOptions, ZipArchive } from './reader.js';\nexport { openZip } from './reader.js';\nexport type { CompressionLevel, StreamingEntryWriter, ZipWriter, ZipWriterOptions } from './writer.js';\nexport { createZipWriter } from './writer.js';\n", "dist/zip/reader.d.ts": "import type { XlsxSource } from '../io/source.js';\nimport type { DecompressionLimits } from './decompression-guard.js';\nexport interface ZipArchive {\n list(): string[];\n read(path: string): Uint8Array;\n readAsync(path: string): Promise;\n readStream(path: string): ReadableStream;\n has(path: string): boolean;\n close(): void;\n}\nexport interface OpenZipOptions {\n decompressionLimits?: DecompressionLimits | false;\n}\nexport declare function openZip(source: XlsxSource, opts?: OpenZipOptions): Promise;\n", "dist/zip/writer.d.ts": "import type { XlsxSink } from '../io/sink.js';\nexport type CompressionLevel = 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9;\nexport interface ZipWriterOptions {\n mtime?: Date;\n compressionLevel?: CompressionLevel;\n}\nexport interface ZipWriter {\n addEntry(path: string, bytes: Uint8Array | ReadableStream, opts?: {\n compress?: boolean;\n }): Promise;\n addStreamingEntry(path: string, opts?: {\n compress?: boolean;\n }): StreamingEntryWriter;\n finalize(): Promise;\n abort(cause?: unknown): void | Promise;\n}\nexport interface StreamingEntryWriter {\n write(chunk: Uint8Array): void;\n end(): Promise;\n}\nexport declare function createZipWriter(sink: XlsxSink, opts?: ZipWriterOptions): ZipWriter;\n" } }