@sheetxl/formulas 0.8.0-beta.10 → 0.8.0-beta.12

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (69) hide show
  1. package/{node/esm/DO9cbfqY2roOBQQi.mjs → browser/esm/3WuDomWmdEKeZbbG.mjs} +1 -1
  2. package/{node/esm/B9GCCzx3ZtHrtgsZ.mjs → browser/esm/BR0hfMJeizGLzQyZ.mjs} +1 -1
  3. package/browser/esm/{CXDwT-uLbi_ZUF6Q.mjs → BSbkSGYSUJNq_hqv.mjs} +1 -1
  4. package/browser/esm/{B3LvTqivuAJYZW9O.mjs → BTtjJHW0OffnZJzw.mjs} +1 -1
  5. package/{node/esm/DYoyWWN86dEdpzVg.mjs → browser/esm/BgSZby_sWDnOsdXg.mjs} +1 -1
  6. package/browser/esm/{C1TlAj8cFI90ziZT.mjs → BmaRiVdIUgF4vbLG.mjs} +13 -7
  7. package/browser/esm/{CrfZkfvKRkK2qzpP.mjs → BnFUk4nDKrwcn2lh.mjs} +1 -1
  8. package/{node/esm/0Q46gxHg8afOLJ7K.mjs → browser/esm/Bp5Bu5Mlbs1dO6WO.mjs} +1 -1
  9. package/browser/esm/{CXvEGkvOOLo4v17T.mjs → BvKsdIEViy4fMwhf.mjs} +1 -1
  10. package/browser/esm/{B52kG70ukWJKrVHl.mjs → C5TC2uUvcVuVyXHL.mjs} +1 -1
  11. package/browser/esm/{BTygNwyrCzzpikEl.mjs → CKI92sNkVKkaDqNh.mjs} +1 -1
  12. package/{node/esm/B-Ig6HWcV53g7Zy0.mjs → browser/esm/CNEodHdQn14H1-5Y.mjs} +1 -1
  13. package/browser/esm/{D_PYZQxUASNNORTU.mjs → CUusMzsATShxE804.mjs} +1 -1
  14. package/browser/esm/{CpGJ_hA0h7CW4Jwu.mjs → Cg0aJ8YiUob7UwB0.mjs} +1 -1
  15. package/browser/esm/D-wDBNKAgLWkLGin.mjs +5794 -0
  16. package/{node/esm/CYtUFqOZCtbGw6Sa.mjs → browser/esm/D1nqrNVXoLdxOcgY.mjs} +1 -1
  17. package/browser/esm/{KekfJtUQq6sPOmPq.mjs → D9fexU1-mdcSP2iQ.mjs} +1 -1
  18. package/{node/esm/DG5YNbA9Ya6Uu3DG.mjs → browser/esm/DNDB1mXiSsh0bafX.mjs} +1 -1
  19. package/browser/esm/DV-ZFUlItxUMktFi.mjs +30 -0
  20. package/{node/esm/C2nw0NszguSU0idO.mjs → browser/esm/DZpOzJdF5Aq0XKsk.mjs} +1 -1
  21. package/browser/esm/{-sN4SmS9cUOrcjVR.mjs → DjyHh018kLhr0Mei.mjs} +1 -1
  22. package/browser/esm/{PDRj7r-fmSBrQgPS.mjs → DoskhFg8-rD--hBe.mjs} +1 -1
  23. package/browser/esm/{BCRhRyTDe0QO3_TF.mjs → DuXvjmotXWlE-MjK.mjs} +1 -1
  24. package/browser/esm/{D-w_d2PrWN8kwM-Z.mjs → aC8_V2oEKhP24LGQ.mjs} +1 -1
  25. package/browser/esm/declarations.mjs +110 -0
  26. package/{node/esm/C2WtsJFzD2GtwSHc.mjs → browser/esm/fXwy-eKzVb7M6AyK.mjs} +1 -1
  27. package/browser/esm/index.mjs +3872 -9265
  28. package/node/esm/{CkO4Hx9aLq7m3emI.mjs → -G_Hzhf2rR28IBi2.mjs} +1 -1
  29. package/{browser/esm/DO9cbfqY2roOBQQi.mjs → node/esm/3WuDomWmdEKeZbbG.mjs} +1 -1
  30. package/node/esm/{Bp4XujtHH5z4dKlz.mjs → B3NIBuFdxhYgtm0v.mjs} +1 -1
  31. package/node/esm/{C1Qq-yVzO0uZUnVb.mjs → BFejh_-BKH7d4VU_.mjs} +1 -1
  32. package/{browser/esm/B9GCCzx3ZtHrtgsZ.mjs → node/esm/BR0hfMJeizGLzQyZ.mjs} +1 -1
  33. package/{browser/esm/DYoyWWN86dEdpzVg.mjs → node/esm/BgSZby_sWDnOsdXg.mjs} +1 -1
  34. package/node/esm/{CrfZkfvKRkK2qzpP.mjs → BnFUk4nDKrwcn2lh.mjs} +1 -1
  35. package/{browser/esm/0Q46gxHg8afOLJ7K.mjs → node/esm/Bp5Bu5Mlbs1dO6WO.mjs} +1 -1
  36. package/node/esm/{B52kG70ukWJKrVHl.mjs → C5TC2uUvcVuVyXHL.mjs} +1 -1
  37. package/node/esm/{C--VBbIp253pJfw9.mjs → CCK3HvWAkhoPqNVn.mjs} +13 -7
  38. package/node/esm/{C-jlV3objhN9hpyt.mjs → CE015xqWfBU0RDwN.mjs} +1 -1
  39. package/{browser/esm/B-Ig6HWcV53g7Zy0.mjs → node/esm/CNEodHdQn14H1-5Y.mjs} +1 -1
  40. package/{browser/esm/CYtUFqOZCtbGw6Sa.mjs → node/esm/D1nqrNVXoLdxOcgY.mjs} +1 -1
  41. package/node/esm/{KekfJtUQq6sPOmPq.mjs → D9fexU1-mdcSP2iQ.mjs} +1 -1
  42. package/{browser/esm/DG5YNbA9Ya6Uu3DG.mjs → node/esm/DNDB1mXiSsh0bafX.mjs} +1 -1
  43. package/node/esm/DV-ZFUlItxUMktFi.mjs +30 -0
  44. package/{browser/esm/C2nw0NszguSU0idO.mjs → node/esm/DZpOzJdF5Aq0XKsk.mjs} +1 -1
  45. package/node/esm/{-sN4SmS9cUOrcjVR.mjs → DjyHh018kLhr0Mei.mjs} +1 -1
  46. package/node/esm/{PDRj7r-fmSBrQgPS.mjs → DoskhFg8-rD--hBe.mjs} +1 -1
  47. package/node/esm/{BCRhRyTDe0QO3_TF.mjs → DuXvjmotXWlE-MjK.mjs} +1 -1
  48. package/node/esm/{Cf28UVIhJr5Y-_24.mjs → DzwnOmlnm63qulqP.mjs} +1 -1
  49. package/node/esm/{BN0QCtL-dZU8U-hd.mjs → FET0QZ4bmHRpACHN.mjs} +1 -1
  50. package/node/esm/Sa4BQzT3nmlBqF85.mjs +5794 -0
  51. package/node/esm/{D-w_d2PrWN8kwM-Z.mjs → aC8_V2oEKhP24LGQ.mjs} +1 -1
  52. package/node/esm/declarations.mjs +110 -0
  53. package/{browser/esm/C2WtsJFzD2GtwSHc.mjs → node/esm/fXwy-eKzVb7M6AyK.mjs} +1 -1
  54. package/node/esm/index.mjs +4559 -9947
  55. package/package.json +9 -3
  56. package/types/declarations.d.ts +4 -0
  57. package/types/src/.generated/decl/financial/MarketHistory.decl.d.ts +4 -0
  58. package/types/src/.generated/declarations.d.ts +7 -0
  59. package/types/src/.generated/desc/financial/MarketHistory.desc.d.ts +4 -0
  60. package/types/src/_utils/Arithmetic.d.ts +16 -0
  61. package/types/src/_utils/Distributions.d.ts +3 -4
  62. package/types/src/_utils/Matrix.d.ts +2 -2
  63. package/types/src/_utils/SpecialFunctions.d.ts +2 -2
  64. package/types/src/financial/MarketHistory.d.ts +40 -0
  65. package/types/src/lookupReference/Reference.d.ts +39 -10
  66. package/types/src/mathTrig/Math.d.ts +4 -4
  67. package/types/src/testing/Testing.d.ts +2 -2
  68. package/types/src/web/FilterXML.d.ts +1 -1
  69. package/types/src/web/Web.d.ts +1 -1
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@sheetxl/formulas",
3
3
  "description": "Formulas - TypeScript formulas compatible with Excel built-ins.",
4
- "version": "0.8.0-beta.10",
4
+ "version": "0.8.0-beta.12",
5
5
  "license": "SEE LICENSE IN <LICENSE>",
6
6
  "type": "module",
7
7
  "exports": {
@@ -10,6 +10,12 @@
10
10
  "browser": "./browser/esm/index.mjs",
11
11
  "node": "./node/esm/index.mjs",
12
12
  "default": "./browser/esm/index.mjs"
13
+ },
14
+ "./declarations": {
15
+ "types": "./types/declarations.d.ts",
16
+ "browser": "./browser/esm/declarations.mjs",
17
+ "node": "./node/esm/declarations.mjs",
18
+ "default": "./browser/esm/declarations.mjs"
13
19
  }
14
20
  },
15
21
  "types": "./types/index.d.ts",
@@ -36,8 +42,8 @@
36
42
  "formulas"
37
43
  ],
38
44
  "dependencies": {
39
- "@sheetxl/primitives": "^0.8.0-beta.10",
40
- "@sheetxl/scripting": "^0.8.0-beta.10",
45
+ "@sheetxl/primitives": "^0.8.0-beta.12",
46
+ "@sheetxl/scripting": "^0.8.0-beta.12",
41
47
  "bahttext": "^2.4.0",
42
48
  "bessel": "^1.0.2"
43
49
  }
@@ -0,0 +1,4 @@
1
+ export {}
2
+ import Formulas from './src/.generated/declarations'
3
+ export default Formulas
4
+ export {}
@@ -0,0 +1,4 @@
1
+ import { MinifiedDeclarations } from '@sheetxl/scripting';
2
+ declare const declarations: MinifiedDeclarations;
3
+ export default declarations;
4
+ //# sourceMappingURL=MarketHistory.decl.d.ts.map
@@ -0,0 +1,7 @@
1
+ import { FunctionDeclarationModule } from '@sheetxl/scripting';
2
+ /**
3
+ * This package's declarations, one entry per source module, in binding order.
4
+ */
5
+ declare const declarations: readonly FunctionDeclarationModule[];
6
+ export default declarations;
7
+ //# sourceMappingURL=declarations.d.ts.map
@@ -0,0 +1,4 @@
1
+ import { MinifiedDescriptors } from '@sheetxl/scripting';
2
+ declare const descriptors: MinifiedDescriptors;
3
+ export default descriptors;
4
+ //# sourceMappingURL=MarketHistory.desc.d.ts.map
@@ -12,6 +12,22 @@
12
12
  * the arctangent.
13
13
  */
14
14
  export declare const flushSubnormal: (value: number) => number;
15
+ /**
16
+ * The shift Excel adds to a count or position argument before truncating it.
17
+ *
18
+ * It is a small ABSOLUTE constant, so a value just under an integer counts as that integer at any
19
+ * magnitude: `LEFT("hello",0.9999999)` is "h" and `LEFT("hello",0.999999)` — one digit less — is
20
+ * the empty string.
21
+ *
22
+ * Which functions shift is a PER-FUNCTION fact, not an engine one, and the family is split down
23
+ * the middle: LEFT, RIGHT, FIND, SEARCH, REPLACE, SUBSTITUTE, CHAR, INDEX and ROUND shift, while
24
+ * MID, REPT and UNICHAR truncate the double as it stands (`MID("hello",0.9999999,1)` is #VALUE!
25
+ * and `UNICHAR(0.9999999)` is too). So this is applied per call site rather than in the
26
+ * declaration.
27
+ */
28
+ export declare const COUNT_EPSILON: number;
29
+ /** A count or position argument, shifted by {@link COUNT_EPSILON} and truncated. */
30
+ export declare const excelCount: (count: number) => number;
15
31
  /**
16
32
  * The inverse hyperbolic tangent, decomposed the way a C library does it — the log form above
17
33
  * half and `log1p` below — rather than through the platform's `Math.atanh`.
@@ -62,8 +62,8 @@ export declare const binomialPdf: (k: number, n: number, p: number) => number;
62
62
  * The CDF is the complement of a `1e-10` incomplete beta, ROUNDED to that same tolerance.
63
63
  *
64
64
  * The rounding is EXCEL'S, not a leftover: it is why a cumulative binomial in the bulk carries
65
- * ten decimal places and no more. Taking it out moves answers AWAY from Excel — it costs sixty
66
- * of BINOM.DIST's rows on its own — so it is not a cleanup to make.
65
+ * ten decimal places and no more. Taking it out moves answers AWAY from Excel, so it is not a
66
+ * cleanup to make.
67
67
  */
68
68
  export declare function binomialCdf(x: number, n: number, p: number): number;
69
69
  export declare function negbinPdf(k: number, r: number, p: number): number;
@@ -85,8 +85,7 @@ export declare const betaInv: (p: number, alpha: number, beta: number) => number
85
85
  * Half-width of the confidence interval around a mean, from the normal quantile.
86
86
  *
87
87
  * The `(1 + h) - 1` round trip is not redundant: it rounds the half-width against a unit
88
- * magnitude, which moves the answer on most shapes. Whether Excel rounds there too is not
89
- * established, so the round trip stays.
88
+ * magnitude, which moves the answer on most shapes.
90
89
  */
91
90
  export declare function normalConfidence(alpha: number, standardDev: number, size: number): number;
92
91
  /** The same half-width from Student's t on `size - 1` degrees of freedom. */
@@ -9,8 +9,8 @@
9
9
  * them, and one without pivoting produces a different residue again.
10
10
  *
11
11
  * The inverse is this same decomposition followed by a forward and back SUBSTITUTION per unit
12
- * column. Gauss-Jordan over `[A | I]` — the textbook alternative, and in five spellings — lands
13
- * further from Excel on the same matrices.
12
+ * column. Gauss-Jordan over `[A | I]` — the textbook alternative — gives different answers on
13
+ * the same matrices.
14
14
  */
15
15
  /**
16
16
  * The determinant, as the signed product of the pivots.
@@ -57,8 +57,8 @@ export declare const upRegGamma: (a: number, x: number) => number;
57
57
  * -a (u - ln(1+u)) - ln(1+u) - ln(a)/2 - ln(2 pi)/2 - stirlerr(a), u = x/a - 1
58
58
  * ```
59
59
  *
60
- * whose every term is the size of the answer. Excel's own `GAMMA.DIST(1E7,1E7,1,FALSE)` is bit
61
- * for bit the value this returns, so it is what Excel computes too.
60
+ * whose every term is the size of the answer. It is Excel's form: `GAMMA.DIST(1E7,1E7,1,FALSE)`
61
+ * is exactly the value this returns.
62
62
  */
63
63
  export declare function gammaLogPdf(a: number, x: number): number;
64
64
  /** The inverse of {@link lowRegGamma} in its second argument. */
@@ -0,0 +1,40 @@
1
+ import { Scalar, Flatten, Omittable } from '@sheetxl/primitives';
2
+ /**
3
+ * Returns an array of historical quote data for a symbol and date range you specify.
4
+ * @param stock the ticker symbol of the financial instrument (`"IBM"`).
5
+ * @param startDate the first date to return data from.
6
+ * @param endDate the last date to return data from. Default is the start date.
7
+ * @param interval the granularity of the data: `0` daily, `1` weekly, `2` monthly. Default is `0`.
8
+ * @param headers whether to add column headers: `0` none, `1` a header row, `2` the instrument identifier and a header row. Default is `1`.
9
+ * @param properties the columns to return, each a number: `0` Date, `1` Close, `2` Open, `3` High, `4` Low, `5` Volume. Default is Date and Close.
10
+ *
11
+ * @remarks
12
+ * * The cell shows `#BUSY!` until the quotes arrive, then spills one row per bar, ascending.
13
+ * * Quotes come from [Alpha Vantage](https://www.alphavantage.co), which needs an API key:
14
+ * `ALPHAVANTAGE_API_KEY` on the global object or in the environment. Without one the service's
15
+ * `demo` key is used, which answers for `IBM` only. A free key allows 25 requests a day.
16
+ * * An unknown symbol is `#N/A`. A spent request budget is `#VALUE!` carrying the service's notice.
17
+ * * A recalculation does not ask again; the quotes are kept with the cell. Reopening the file does.
18
+ * * Excel accepts a Stock data type for `stock`; here it is the ticker text.
19
+ */
20
+ export declare function STOCKHISTORY(stock: string, startDate: number, endDate?: Omittable<number>, interval?: Omittable<number>, headers?: Omittable<number>, properties?: Flatten<Scalar>): Scalar[][];
21
+ /**
22
+ * Returns the daily exchange rate of one currency in another over a period, from the European
23
+ * Central Bank's reference rates.
24
+ * @param from the currency to convert from, as an ISO code (`"USD"`).
25
+ * @param to the currency to convert to, as an ISO code (`"EUR"`).
26
+ * @param startDate the first date of the period.
27
+ * @param endDate the last date of the period. Default is the start date.
28
+ * @param headers whether to add column headers: `0` none, `1` a header row, `2` the pair and a header row. Default is `1`.
29
+ *
30
+ * @remarks
31
+ * * Spills one row per business day in the period, with the date and the rate. The cell shows
32
+ * `#BUSY!` until the rates arrive.
33
+ * * Rates are the ECB's daily reference rates (about 16:00 CET), published on TARGET business
34
+ * days; weekends and holidays have no row.
35
+ * * Both currencies must be among the roughly thirty the ECB publishes; another is `#N/A`.
36
+ * * A recalculation does not ask again; the rates are kept with the cell. Reopening the file does.
37
+ * * Data by [Frankfurter](https://frankfurter.dev), a free service with no key. Please do not abuse it.
38
+ */
39
+ export declare function FXHISTORY(from: string, to: string, startDate: number, endDate?: Omittable<number>, headers?: Omittable<number>): Scalar[][];
40
+ //# sourceMappingURL=MarketHistory.d.ts.map
@@ -70,11 +70,10 @@ export declare function DROP(array: IRange, row: number, columns?: Omittable<num
70
70
  export declare function EXPAND(array: IRange | Scalar, row: Omittable<number>, columns?: Omittable<number>, padWith?: NoLift<Omittable<AcceptError<Scalar>>>): IRange;
71
71
  /**
72
72
  * Extracts a value from a field of a given record.
73
- * @hidden Unimplemented RichData
74
73
  * @param value The record from which you want to extract the field.
75
74
  * @param fieldName The names of the field or fields that you want to extract.
76
75
  */
77
- export declare function FIELDVALUE(value: IRichData, fieldName: string): Scalar[][];
76
+ export declare function FIELDVALUE(value: AcceptError<IRichData>, fieldName: string): Scalar | IRange;
78
77
  /**
79
78
  * Filter a range or array.
80
79
  * @param array the range or array to filter.
@@ -112,21 +111,51 @@ export declare function HLOOKUP(lookupValue: Scalar, tableArray: Flatten<IRange>
112
111
  export declare function HSTACK(array: Repeating<IRange, 254>): IRange;
113
112
  /**
114
113
  * Creates a shortcut or jump that opens a document stored on your hard drive, a network server, or on the Internet.
115
- * @hidden Unimplemented RichData
116
114
  * @param linkLocation is the text giving the path and file name to the document to be opened, a hard drive location, UNC address, or URL path.
117
115
  * @param friendlyName is text or a number that is displayed in the cell. If omitted, the cell displays the linkLocation text.
116
+ * @returns A link that reads as its friendly name; a reference to it is a link too.
118
117
  */
119
- export declare function HYPERLINK(linkLocation: string, friendlyName?: string): Scalar;
118
+ export declare function HYPERLINK(linkLocation: string, friendlyName?: Scalar): IRichData;
119
+ /**
120
+ * How IMAGE sizes the picture in its cell.
121
+ *
122
+ * @remarks
123
+ * Declared `ReportType`: the body truncates the argument and refuses one outside 0-3.
124
+ */
125
+ declare enum ImageSizing {
126
+ /**
127
+ * Fits the picture in the cell, keeping its aspect ratio.
128
+ * @name Fit to cell
129
+ */
130
+ Fit = 0,
131
+ /**
132
+ * Fills the cell, ignoring the picture's aspect ratio.
133
+ * @name Fill cell
134
+ */
135
+ Fill = 1,
136
+ /**
137
+ * Keeps the picture's own size, which may overflow the cell.
138
+ * @name Original size
139
+ */
140
+ Original = 2,
141
+ /**
142
+ * Uses the height and width given.
143
+ * @name Custom size
144
+ */
145
+ Custom = 3
146
+ }
120
147
  /**
121
148
  * Returns an image from a given source.
122
- * @hidden Unimplemented RichData
123
149
  * @param source The path of the source that points to the image.
124
150
  * @param alternateText The alternative text that describes the image for accessibility.
125
151
  * @param sizing The setting that determines the dimensions in which the image will be rendered in the cell.
126
152
  * @param height The custom height of the image in pixels.
127
153
  * @param width The custom width of the image in pixels.
154
+ * @returns The image, once it has loaded; `#BUSY!` until then, or the image it showed when a
155
+ * recalculation loads it again. A source that cannot be loaded is
156
+ * `#VALUE!`, or `#CONNECT!` when the server answers with an error.
128
157
  */
129
- export declare function IMAGE(source: string, alternateText?: string, sizing?: number, height?: number, width?: number): IRichData;
158
+ export declare function IMAGE(source: string, alternateText?: Omittable<string>, sizing?: Omittable<ReportType<ImageSizing>>, height?: Omittable<number>, width?: Omittable<number>): IRichData;
130
159
  /**
131
160
  * Returns a value or reference of the cell at the intersection of a particular row and column, in a given range.
132
161
  * @param array is a range of cells or an array constant.
@@ -156,7 +185,7 @@ export declare function LOOKUP(lookupValue: Scalar, lookupVector: Flatten<IRange
156
185
  *
157
186
  * @remarks
158
187
  * Declared `ReportType`, as every numeric built-in enum is: the body keeps the verdict. It reads the
159
- * argument by its SIGN; what Excel does with a value outside the set is not measured.
188
+ * argument by its SIGN.
160
189
  */
161
190
  declare enum MatchType {
162
191
  /**
@@ -258,7 +287,7 @@ export declare function TAKE(array: IRange, rows: Omittable<number>, columns?: O
258
287
  *
259
288
  * @remarks
260
289
  * Declared `ReportType`: Excel TRUNCATES this argument on the way in (`TOCOL(a,1.9)` reads 1 and
261
- * `3.9` reads 3, measured), which an enum's gate does not, so the body keeps the verdict.
290
+ * `3.9` reads 3), which an enum's gate does not, so the body keeps the verdict.
262
291
  */
263
292
  declare enum IgnoreValues {
264
293
  /**
@@ -347,7 +376,7 @@ export declare function WRAPROWS(vector: IRange | Scalar, wrapCount: number, pad
347
376
  *
348
377
  * @remarks
349
378
  * Declared `ReportType`, as every numeric built-in enum is: the body keeps the verdict (anything
350
- * else is #VALUE!). Excel's out-of-set behavior is not measured.
379
+ * else is #VALUE!).
351
380
  */
352
381
  declare enum MatchMode {
353
382
  /**
@@ -376,7 +405,7 @@ declare enum MatchMode {
376
405
  *
377
406
  * @remarks
378
407
  * Declared `ReportType`, as every numeric built-in enum is: the body keeps the verdict (anything
379
- * else is #VALUE!). Excel's out-of-set behavior is not measured.
408
+ * else is #VALUE!).
380
409
  */
381
410
  declare enum SearchMode {
382
411
  /**
@@ -9,8 +9,8 @@ export declare function ABS(number: number): number;
9
9
  *
10
10
  * @remarks
11
11
  * Declared `ReportType`, as every numeric built-in enum is: Excel TRUNCATES this argument (`9.9`
12
- * is SUM, measured), which an enum's gate does not, so the body keeps the verdict. Also the
13
- * overload discriminant of DESIGN-REPEATING §6: 14-19 take a trailing `k`.
12
+ * is SUM), which an enum's gate does not, so the body keeps the verdict. Also the
13
+ * overload discriminant: 14-19 take a trailing `k`.
14
14
  */
15
15
  declare enum AggregateFunction {
16
16
  /**
@@ -114,7 +114,7 @@ declare enum AggregateFunction {
114
114
  *
115
115
  * @remarks
116
116
  * Declared `ReportType`, as every numeric built-in enum is: Excel TRUNCATES this argument (`6.9`
117
- * is 6, measured), which an enum's gate does not, so the body keeps the verdict.
117
+ * is 6), which an enum's gate does not, so the body keeps the verdict.
118
118
  */
119
119
  declare enum AggregateOptions {
120
120
  /**
@@ -597,7 +597,7 @@ export declare function SQRTPI(number: NoLift<Omittable<AcceptError<Scalar>>>):
597
597
  *
598
598
  * @remarks
599
599
  * Declared `ReportType`, as every numeric built-in enum is: Excel TRUNCATES this argument (`9.9`
600
- * is SUM, measured), which an enum's gate does not, so the body keeps the verdict. Excel labels
600
+ * is SUM), which an enum's gate does not, so the body keeps the verdict. Excel labels
601
601
  * 101-111 with the bare function name, as 1-11; a member name keys the descriptor and the
602
602
  * language packs, so each must be unique.
603
603
  */
@@ -7,7 +7,7 @@ import { Scalar, IRange } from '@sheetxl/primitives';
7
7
  * @param label optional label for the delay function.
8
8
  * @category SheetXL
9
9
  */
10
- export declare function DELAY(time: number, input: Scalar, label?: string): Promise<Scalar>;
10
+ export declare function DELAY(time: number, input: Scalar, label?: string): Scalar;
11
11
  declare global {
12
12
  var debugEventTarget: EventTarget | undefined;
13
13
  }
@@ -24,5 +24,5 @@ declare global {
24
24
  * (e.g. globalThis.debugEventTarget.dispatchEvent(new CustomEvent('test', { detail: "ping" }));
25
25
  * @category SheetXL
26
26
  */
27
- export declare function WAIT(type: string, input?: IRange): Promise<string>;
27
+ export declare function WAIT(type: string, input?: IRange): string;
28
28
  //# sourceMappingURL=Testing.d.ts.map
@@ -4,5 +4,5 @@ import { Scalar } from '@sheetxl/primitives';
4
4
  * @param xml is a string in valid XML format.
5
5
  * @param xpath is a string in standard XPath format.
6
6
  */
7
- export declare function FILTERXML(xml: string, xpath: string): Promise<Scalar[][]>;
7
+ export declare function FILTERXML(xml: string, xpath: string): Scalar[][];
8
8
  //# sourceMappingURL=FilterXML.d.ts.map
@@ -7,5 +7,5 @@ export declare function ENCODEURL(text: string): string;
7
7
  * Retrieves data from a web service.
8
8
  * @param url is the URL of the web service.
9
9
  */
10
- export declare function WEBSERVICE(url: string): Promise<string>;
10
+ export declare function WEBSERVICE(url: string): string;
11
11
  //# sourceMappingURL=Web.d.ts.map