@fileverse-dev/formulajs 4.4.53 → 4.4.55

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.
@@ -1,65 +1,3 @@
1
- export = multibase;
2
- /** @typedef {import('./base')} Base */
3
- /** @typedef {import("./types").BaseNameOrCode} BaseNameOrCode */
4
- /** @typedef {import("./types").BaseCode} BaseCode */
5
- /** @typedef {import("./types").BaseName} BaseName */
6
- /**
7
- * Create a new Uint8Array with the multibase varint+code.
8
- *
9
- * @param {BaseNameOrCode} nameOrCode - The multibase name or code number.
10
- * @param {Uint8Array} buf - The data to be prefixed with multibase.
11
- * @returns {Uint8Array}
12
- * @throws {Error} Will throw if the encoding is not supported
13
- */
14
- declare function multibase(nameOrCode: any, buf: Uint8Array): Uint8Array;
15
- declare namespace multibase {
16
- export { encode, decode, isEncoded, encoding, encodingFromData, names, codes, AAVE, ABS, ACCRINT, ACOS, ACOSH, ACOT, ACOTH, AGGREGATE, AND, ARABIC, ASIN, ASINH, ATAN, ATAN2, ATANH, AVEDEV, AVERAGE, AVERAGEA, AVERAGEIF, AVERAGEIFS, BASE, BESSELI, BESSELJ, BESSELK, BESSELY, BETA, BETADIST, BETAINV, BIN2DEC, BIN2HEX, BIN2OCT, BINOM, BINOMDIST, BITAND, BITLSHIFT, BITOR, BITRSHIFT, BITXOR, BLOCKSCOUT, CEILING, CEILINGMATH, CEILINGPRECISE, CHAR, CHIDIST, CHIDISTRT, CHIINV, CHIINVRT, CHISQ, CHITEST, CHOOSE, CIRCLES, CLEAN, CODE, COINGECKO, COLUMN, COLUMNS, COMBIN, COMBINA, COMPLEX, CONCAT, CONCATENATE, CONFIDENCE, CONVERT, CORREL, COS, COSH, COT, COTH, COUNT, COUNTA, COUNTBLANK, COUNTIF, COUNTIFS, COUPDAYS, COVAR, COVARIANCE, COVARIANCEP, COVARIANCES, CRITBINOM, CSC, CSCH, CUMIPMT, CUMPRINC, DATE, DATEDIF, DATEVALUE, DAVERAGE, DAY, DAYS, DAYS360, DB, DCOUNT, DCOUNTA, DDB, DEC2BIN, DEC2HEX, DEC2OCT, DECIMAL, DEFILLAMA, DEGREES, DELTA, DEVSQ, DGET, DISC, DMAX, DMIN, DOLLAR, DOLLARDE, DOLLARFR, DPRODUCT, DSTDEV, DSTDEVP, DSUM, DUNE, DVAR, DVARP, EDATE, EFFECT, EOA, EOMONTH, EPOCHTODATE, ERF, ERFC, ERFCPRECISE, ERFPRECISE, ERROR, ETHERSCAN, EVEN, EXACT, EXP, EXPON, EXPONDIST, F, FACT, FACTDOUBLE, FALSE, FDIST, FDISTRT, FIND, FINV, FINVRT, FIREFLY, FISHER, FISHERINV, FIXED, FLOOR, FLOORMATH, FLOORPRECISE, FLVURL, FORECAST, FREQUENCY, FTEST, FV, FVSCHEDULE, GAMMA, GAMMADIST, GAMMAINV, GAMMALN, GAMMALNPRECISE, GAUSS, GCD, GEOMEAN, GESTEP, GNOSIS, GROWTH, HARMEAN, HEX2BIN, HEX2DEC, HEX2OCT, HLOOKUP, HOUR, HYPGEOM, HYPGEOMDIST, IF, IFERROR, IFNA, IFS, IMABS, IMAGINARY, IMARGUMENT, IMCONJUGATE, IMCOS, IMCOSH, IMCOT, IMCSC, IMCSCH, IMDIV, IMEXP, IMLN, IMLOG10, IMLOG2, IMPOWER, IMPRODUCT, IMREAL, IMSEC, IMSECH, IMSIN, IMSINH, IMSQRT, IMSUB, IMSUM, IMTAN, INDEX, INT, INTERCEPT, IPMT, IRR, ISBLANK, ISDATE, ISERR, ISERROR, ISEVEN, ISLOGICAL, ISNA, ISNONTEXT, ISNUMBER, ISO, ISODD, ISOWEEKNUM, ISPMT, ISTEXT, KURT, LARGE, LCM, LEFT, LEN, LINEST, LN, LOG, LOG10, LOGEST, LOGINV, LOGNORM, LOGNORMDIST, LOGNORMINV, LOOKUP, LOWER, MATCH, MAX, MAXA, MAXIFS, MEDIAN, MID, MIN, MINA, MINIFS, MINUS$1 as MINUS, MINUTE, MIRR, MMULT, MOD, MODE, MODEMULT, MODESNGL, MONTH, MROUND, MULTINOMIAL, MULTIPLY$1 as MULTIPLY, MUNIT, N, NA, NEGBINOM, NEGBINOMDIST, NETWORKDAYS, NETWORKDAYSINTL, NETWORKDAYS_INTL, NOMINAL, NORM, NORMDIST, NORMINV, NORMSDIST, NORMSINV, NOT, NOW, NPER, NPV, NUMBERVALUE, OCT2BIN, OCT2DEC, OCT2HEX, ODD, OR, PDURATION, PEARSON, PERCENTILE, PERCENTILEEXC, PERCENTILEINC, PERCENTRANK, PERCENTRANKEXC, PERCENTRANKINC, PERMUT, PERMUTATIONA, PHI, PI, PMT, PNL, POISSON, POISSONDIST, POWER, PPMT, PRICE, PRICEDISC, PROB, PRODUCT, PROPER, PV, QUARTILE, QUARTILEEXC, QUARTILEINC, QUOTIENT, RADIANS, RAND, RANDBETWEEN, RANK, RANKAVG, RANKEQ, RATE, REPLACE, REPT, RIGHT, ROMAN, ROUND, ROUNDDOWN, ROUNDUP, ROW, ROWS, RRI, RSQ, SAFE, SEARCH, SEC, SECH, SECOND, SEQUENCE, SERIESSUM, SIGN, SIN, SINH, SKEW, SKEWP, SLN, SLOPE, SMALL, SMARTCONTRACT, SORT, SQRT, SQRTPI, STANDARDIZE, STDEV, STDEVA, STDEVP, STDEVPA, STDEVS, STEYX, SUBSTITUTE, SUBTOTAL, SUM, SUMIF, SUMIFS, SUMPRODUCT, SUMSQ, SUMX2MY2, SUMX2PY2, SUMXMY2, SWITCH, SYD, T, TALLY, TAN, TANH, TBILLEQ, TBILLPRICE, TBILLYIELD, TDIST, TDISTRT, TEXT, TEXTJOIN, TIME, TIMEVALUE, TINV, TODAY, TRANSPOSE, TREND, TRIM, TRIMMEAN, TRUE, TRUNC, TTEST, TYPE, UNICHAR, UNICODE, UNIQUE, UNISWAP, UPPER, VALUE, VAR, VARA, VARP, VARPA, VARS, VLOOKUP, WALLET, WEEKDAY, WEEKNUM, WEIBULL, WEIBULLDIST, WORKDAY, WORKDAYINTL, WORKDAY_INTL, XIRR, XLOOKUP, XNPV, XOR, YEAR, YEARFRAC, YIELD, Z, ZTEST, utils };
17
- }
18
- /**
19
- * Encode data with the specified base and add the multibase prefix.
20
- *
21
- * @param {BaseNameOrCode} nameOrCode - The multibase name or code number.
22
- * @param {Uint8Array} buf - The data to be encoded.
23
- * @returns {Uint8Array}
24
- * @throws {Error} Will throw if the encoding is not supported
25
- *
26
- */
27
- declare function encode(nameOrCode: any, buf: Uint8Array): Uint8Array;
28
- /**
29
- * Takes a Uint8Array or string encoded with multibase header, decodes it and
30
- * returns the decoded buffer
31
- *
32
- * @param {Uint8Array|string} data
33
- * @returns {Uint8Array}
34
- * @throws {Error} Will throw if the encoding is not supported
35
- *
36
- */
37
- declare function decode(data: Uint8Array | string): Uint8Array;
38
- /**
39
- * Is the given data multibase encoded?
40
- *
41
- * @param {Uint8Array|string} data
42
- */
43
- declare function isEncoded(data: Uint8Array | string): any;
44
- /**
45
- * Get the encoding by name or code
46
- *
47
- * @param {BaseNameOrCode} nameOrCode
48
- * @returns {Base}
49
- * @throws {Error} Will throw if the encoding is not supported
50
- */
51
- declare function encoding(nameOrCode: any): any;
52
- /**
53
- * Get encoding from data
54
- *
55
- * @param {string|Uint8Array} data
56
- * @returns {Base}
57
- * @throws {Error} Will throw if the encoding is not supported
58
- */
59
- declare function encodingFromData(data: string | Uint8Array): any;
60
- declare const names: any;
61
- declare const codes: any;
62
- declare function AAVE(...args: any[]): Promise<any>;
63
1
  /**
64
2
  * Returns the absolute value of a number.
65
3
  *
@@ -68,7 +6,7 @@ declare function AAVE(...args: any[]): Promise<any>;
68
6
  * @param {*} number The real number of which you want the absolute value.
69
7
  * @returns
70
8
  */
71
- declare function ABS(number: any): number | Error;
9
+ export function ABS(number: any): number | Error;
72
10
  /**
73
11
  * Returns the accrued interest for a security that pays periodic interest.
74
12
  *
@@ -84,7 +22,7 @@ declare function ABS(number: any): number | Error;
84
22
  * @param {*} calc_method Optional. Not implemented in formulajs. A logical value that specifies the way to calculate the total accrued interest when the date of settlement is later than the date of first_interest. A value of TRUE (1) returns the total accrued interest from issue to settlement. A value of FALSE (0) returns the accrued interest from first_interest to settlement. If you do not enter the argument, it defaults to TRUE.
85
23
  * @returns
86
24
  */
87
- declare function ACCRINT(issue: any, first_interest: any, settlement: any, rate: any, par: any, frequency: any, basis: any): number | Error;
25
+ export function ACCRINT(issue: any, first_interest: any, settlement: any, rate: any, par: any, frequency: any, basis: any): number | Error;
88
26
  /**
89
27
  * Returns the arccosine of a number.
90
28
  *
@@ -93,7 +31,7 @@ declare function ACCRINT(issue: any, first_interest: any, settlement: any, rate:
93
31
  * @param {*} number The cosine of the angle you want and must be from -1 to 1.
94
32
  * @returns
95
33
  */
96
- declare function ACOS(number: any): number | Error;
34
+ export function ACOS(number: any): number | Error;
97
35
  /**
98
36
  * Returns the inverse hyperbolic cosine of a number.
99
37
  *
@@ -102,7 +40,7 @@ declare function ACOS(number: any): number | Error;
102
40
  * @param {*} number Any real number equal to or greater than 1.
103
41
  * @returns
104
42
  */
105
- declare function ACOSH(number: any): number | Error;
43
+ export function ACOSH(number: any): number | Error;
106
44
  /**
107
45
  * Returns the arccotangent of a number.
108
46
  *
@@ -111,7 +49,7 @@ declare function ACOSH(number: any): number | Error;
111
49
  * @param {*} number Number is the cotangent of the angle you want. This must be a real number.
112
50
  * @returns
113
51
  */
114
- declare function ACOT(number: any): number | Error;
52
+ export function ACOT(number: any): number | Error;
115
53
  /**
116
54
  * Returns the hyperbolic arccotangent of a number.
117
55
  *
@@ -120,7 +58,7 @@ declare function ACOT(number: any): number | Error;
120
58
  * @param {*} number The absolute value of Number must be greater than 1.
121
59
  * @returns
122
60
  */
123
- declare function ACOTH(number: any): number | Error;
61
+ export function ACOTH(number: any): number | Error;
124
62
  /**
125
63
  * Returns an aggregate in a list or database.
126
64
  *
@@ -132,7 +70,7 @@ declare function ACOTH(number: any): number | Error;
132
70
  * @param {*} ref2 Optional. Numeric arguments 2 to 253 for which you want the aggregate value. For functions that take an array, ref1 is an array, an array formula, or a reference to a range of values for which you want the aggregate value. Ref2 is a second argument that is required for certain functions.
133
71
  * @returns
134
72
  */
135
- declare function AGGREGATE(function_num: any, options: any, ref1: any, ref2: any): any;
73
+ export function AGGREGATE(function_num: any, options: any, ref1: any, ref2: any): any;
136
74
  /**
137
75
  * Returns TRUE if all of its arguments are TRUE.
138
76
  *
@@ -140,7 +78,7 @@ declare function AGGREGATE(function_num: any, options: any, ref1: any, ref2: any
140
78
  *
141
79
  * @returns
142
80
  */
143
- declare function AND(...args: any[]): any;
81
+ export function AND(...args: any[]): any;
144
82
  /**
145
83
  * Converts a Roman number to Arabic, as a number.
146
84
  *
@@ -149,7 +87,7 @@ declare function AND(...args: any[]): any;
149
87
  * @param {*} text A string enclosed in quotation marks, an empty string (""), or a reference to a value containing text.
150
88
  * @returns
151
89
  */
152
- declare function ARABIC(text: any): number | Error;
90
+ export function ARABIC(text: any): number | Error;
153
91
  /**
154
92
  * Returns the arcsine of a number.
155
93
  *
@@ -158,7 +96,7 @@ declare function ARABIC(text: any): number | Error;
158
96
  * @param {*} number The sine of the angle you want and must be from -1 to 1.
159
97
  * @returns
160
98
  */
161
- declare function ASIN(number: any): number | Error;
99
+ export function ASIN(number: any): number | Error;
162
100
  /**
163
101
  * Returns the inverse hyperbolic sine of a number.
164
102
  *
@@ -167,7 +105,7 @@ declare function ASIN(number: any): number | Error;
167
105
  * @param {*} number Any real number.
168
106
  * @returns
169
107
  */
170
- declare function ASINH(number: any): number | Error;
108
+ export function ASINH(number: any): number | Error;
171
109
  /**
172
110
  * Returns the arctangent of a number.
173
111
  *
@@ -176,7 +114,7 @@ declare function ASINH(number: any): number | Error;
176
114
  * @param {*} number The tangent of the angle you want.
177
115
  * @returns
178
116
  */
179
- declare function ATAN(number: any): number | Error;
117
+ export function ATAN(number: any): number | Error;
180
118
  /**
181
119
  * Returns the arctangent from x- and y-coordinates.
182
120
  *
@@ -186,7 +124,7 @@ declare function ATAN(number: any): number | Error;
186
124
  * @param {*} y_num The y-coordinate of the point.
187
125
  * @returns
188
126
  */
189
- declare function ATAN2(x_num: any, y_num: any): any;
127
+ export function ATAN2(x_num: any, y_num: any): any;
190
128
  /**
191
129
  * Returns the inverse hyperbolic tangent of a number.
192
130
  *
@@ -195,7 +133,7 @@ declare function ATAN2(x_num: any, y_num: any): any;
195
133
  * @param {*} number Any real number between 1 and -1.
196
134
  * @returns
197
135
  */
198
- declare function ATANH(number: any): number | Error;
136
+ export function ATANH(number: any): number | Error;
199
137
  /**
200
138
  * Returns the average of the absolute deviations of data points from their mean.
201
139
  *
@@ -204,7 +142,7 @@ declare function ATANH(number: any): number | Error;
204
142
  * @param {*} args number1, number2, ... Number1 is required, subsequent numbers are optional. 1 to 255 arguments for which you want the average of the absolute deviations. You can also use a single array or a reference to an array instead of arguments separated by commas.
205
143
  * @returns
206
144
  */
207
- declare function AVEDEV(...args: any[]): number | Error;
145
+ export function AVEDEV(...args: any[]): number | Error;
208
146
  /**
209
147
  * Returns the average of its arguments.
210
148
  *
@@ -213,7 +151,7 @@ declare function AVEDEV(...args: any[]): number | Error;
213
151
  * @param {*} args number1, number2, ...Numbers, value references or ranges for which you want the average.
214
152
  * @returns
215
153
  */
216
- declare function AVERAGE(...args: any[]): any;
154
+ export function AVERAGE(...args: any[]): any;
217
155
  /**
218
156
  * Returns the average of its arguments, including numbers, text, and logical values.
219
157
  *
@@ -222,7 +160,7 @@ declare function AVERAGE(...args: any[]): any;
222
160
  * @param {*} args value1, value2, ... Value1 is required, subsequent values are optional. 1 to 255 values, ranges of values, or values for which you want the average.
223
161
  * @returns
224
162
  */
225
- declare function AVERAGEA(...args: any[]): any;
163
+ export function AVERAGEA(...args: any[]): any;
226
164
  /**
227
165
  * Returns the average (arithmetic mean) of all the values in a range that meet a given criteria.
228
166
  *
@@ -233,7 +171,7 @@ declare function AVERAGEA(...args: any[]): any;
233
171
  * @param {*} average_range Optional. The actual set of values to average. If omitted, range is used.
234
172
  * @returns
235
173
  */
236
- declare function AVERAGEIF(range: any, criteria: any, average_range: any, ...args: any[]): number | Error;
174
+ export function AVERAGEIF(range: any, criteria: any, average_range: any, ...args: any[]): number | Error;
237
175
  /**
238
176
  * Returns the average (arithmetic mean) of all values that meet multiple criteria.
239
177
  *
@@ -242,8 +180,7 @@ declare function AVERAGEIF(range: any, criteria: any, average_range: any, ...arg
242
180
  * @param {*} args One or more values to average, including numbers or names, arrays, or references that contain numbers.
243
181
  * @returns
244
182
  */
245
- declare function AVERAGEIFS(...args: any[]): number;
246
- declare function BASE(...args: any[]): Promise<any>;
183
+ export function AVERAGEIFS(...args: any[]): number;
247
184
  /**
248
185
  * Returns the modified Bessel function In(x).
249
186
  *
@@ -253,7 +190,7 @@ declare function BASE(...args: any[]): Promise<any>;
253
190
  * @param {*} n The order of the Bessel function. If n is not an integer, it is truncated.
254
191
  * @returns
255
192
  */
256
- declare function BESSELI(x: any, n: any): any;
193
+ export function BESSELI(x: any, n: any): any;
257
194
  /**
258
195
  * Returns the Bessel function Jn(x).
259
196
  *
@@ -263,7 +200,7 @@ declare function BESSELI(x: any, n: any): any;
263
200
  * @param {*} n The order of the Bessel function. If n is not an integer, it is truncated.
264
201
  * @returns
265
202
  */
266
- declare function BESSELJ(x: any, n: any): any;
203
+ export function BESSELJ(x: any, n: any): any;
267
204
  /**
268
205
  * Returns the modified Bessel function Kn(x).
269
206
  *
@@ -273,7 +210,7 @@ declare function BESSELJ(x: any, n: any): any;
273
210
  * @param {*} n The order of the function. If n is not an integer, it is truncated.
274
211
  * @returns
275
212
  */
276
- declare function BESSELK(x: any, n: any): any;
213
+ export function BESSELK(x: any, n: any): any;
277
214
  /**
278
215
  * Returns the Bessel function Yn(x).
279
216
  *
@@ -283,8 +220,8 @@ declare function BESSELK(x: any, n: any): any;
283
220
  * @param {*} n The order of the function. If n is not an integer, it is truncated.
284
221
  * @returns
285
222
  */
286
- declare function BESSELY(x: any, n: any): any;
287
- declare namespace BETA {
223
+ export function BESSELY(x: any, n: any): any;
224
+ export namespace BETA {
288
225
  /**
289
226
  * Returns the beta cumulative distribution function.
290
227
  *
@@ -326,7 +263,7 @@ declare namespace BETA {
326
263
  * @param {*} b Optional. An upper bound to the interval of x.
327
264
  * @returns
328
265
  */
329
- declare function BETADIST(x: any, alpha: any, beta: any, cumulative: any, a: any, b: any, ...args: any[]): any;
266
+ export function BETADIST(x: any, alpha: any, beta: any, cumulative: any, a: any, b: any, ...args: any[]): any;
330
267
  /**
331
268
  * Returns the inverse of the cumulative distribution function for a specified beta distribution.
332
269
  *
@@ -339,7 +276,7 @@ declare function BETADIST(x: any, alpha: any, beta: any, cumulative: any, a: any
339
276
  * @param {*} b Optional. An upper bound to the interval of x.
340
277
  * @returns
341
278
  */
342
- declare function BETAINV(probability: any, alpha: any, beta: any, a: any, b: any): any;
279
+ export function BETAINV(probability: any, alpha: any, beta: any, a: any, b: any): any;
343
280
  /**
344
281
  * Converts a binary number to decimal.
345
282
  *
@@ -348,7 +285,7 @@ declare function BETAINV(probability: any, alpha: any, beta: any, a: any, b: any
348
285
  * @param {*} number The binary number you want to convert. Number cannot contain more than 10 characters (10 bits). The most significant bit of number is the sign bit. The remaining 9 bits are magnitude bits. Negative numbers are represented using two's-complement notation.
349
286
  * @returns
350
287
  */
351
- declare function BIN2DEC(number: any): number | Error;
288
+ export function BIN2DEC(number: any): number | Error;
352
289
  /**
353
290
  * Converts a binary number to hexadecimal.
354
291
  *
@@ -358,7 +295,7 @@ declare function BIN2DEC(number: any): number | Error;
358
295
  * @param {*} places Optional. The number of characters to use. If places is omitted, BIN2HEX uses the minimum number of characters necessary. Places is useful for padding the return value with leading 0s (zeros).
359
296
  * @returns
360
297
  */
361
- declare function BIN2HEX(number: any, places: any): string | Error;
298
+ export function BIN2HEX(number: any, places: any): string | Error;
362
299
  /**
363
300
  * Converts a binary number to octal.
364
301
  *
@@ -368,8 +305,8 @@ declare function BIN2HEX(number: any, places: any): string | Error;
368
305
  * @param {*} places Optional. The number of characters to use. If places is omitted, BIN2OCT uses the minimum number of characters necessary. Places is useful for padding the return value with leading 0s (zeros).
369
306
  * @returns
370
307
  */
371
- declare function BIN2OCT(number: any, places: any): string | Error;
372
- declare namespace BINOM {
308
+ export function BIN2OCT(number: any, places: any): string | Error;
309
+ export namespace BINOM {
373
310
  /**
374
311
  * Returns the individual term binomial distribution probability.
375
312
  *
@@ -419,8 +356,8 @@ declare namespace BINOM {
419
356
  * @param {*} cumulative A logical value that determines the form of the function. If cumulative is TRUE, then BINOM.DIST returns the cumulative distribution function, which is the probability that there are at most number_s successes; if FALSE, it returns the probability mass function, which is the probability that there are number_s successes.
420
357
  * @returns
421
358
  */
422
- declare function BINOMDIST(number_s: any, trials: any, probability_s: any, cumulative: any): any;
423
- declare namespace BINOMDIST { }
359
+ export function BINOMDIST(number_s: any, trials: any, probability_s: any, cumulative: any): any;
360
+ export namespace BINOMDIST { }
424
361
  /**
425
362
  * Returns a 'Bitwise And' of two numbers.
426
363
  *
@@ -430,7 +367,7 @@ declare namespace BINOMDIST { }
430
367
  * @param {*} number2 Must be in decimal form and greater than or equal to 0.
431
368
  * @returns
432
369
  */
433
- declare function BITAND(number1: any, number2: any): number | Error;
370
+ export function BITAND(number1: any, number2: any): number | Error;
434
371
  /**
435
372
  * Returns a value number shifted left by shift_amount bits.
436
373
  *
@@ -440,7 +377,7 @@ declare function BITAND(number1: any, number2: any): number | Error;
440
377
  * @param {*} shift_amount Shift_amount must be an integer.
441
378
  * @returns
442
379
  */
443
- declare function BITLSHIFT(number: any, shift_amount: any): number | Error;
380
+ export function BITLSHIFT(number: any, shift_amount: any): number | Error;
444
381
  /**
445
382
  * Returns a bitwise OR of 2 numbers.
446
383
  *
@@ -450,7 +387,7 @@ declare function BITLSHIFT(number: any, shift_amount: any): number | Error;
450
387
  * @param {*} number2 Must be in decimal form and greater than or equal to 0.
451
388
  * @returns
452
389
  */
453
- declare function BITOR(number1: any, number2: any): number | Error;
390
+ export function BITOR(number1: any, number2: any): number | Error;
454
391
  /**
455
392
  * Returns a value number shifted right by shift_amount bits.
456
393
  *
@@ -460,7 +397,7 @@ declare function BITOR(number1: any, number2: any): number | Error;
460
397
  * @param {*} shift_amount Must be an integer.
461
398
  * @returns
462
399
  */
463
- declare function BITRSHIFT(number: any, shift_amount: any): number | Error;
400
+ export function BITRSHIFT(number: any, shift_amount: any): number | Error;
464
401
  /**
465
402
  * Returns a bitwise 'Exclusive Or' of two numbers.
466
403
  *
@@ -470,8 +407,7 @@ declare function BITRSHIFT(number: any, shift_amount: any): number | Error;
470
407
  * @param {*} number2 Must be greater than or equal to 0.
471
408
  * @returns
472
409
  */
473
- declare function BITXOR(number1: any, number2: any): number | Error;
474
- declare function BLOCKSCOUT(...args: any[]): Promise<any>;
410
+ export function BITXOR(number1: any, number2: any): number | Error;
475
411
  /**
476
412
  * Converts a number into a text representation with the given radix (base).
477
413
  *
@@ -492,8 +428,8 @@ declare function BLOCKSCOUT(...args: any[]): Promise<any>;
492
428
  * @param {*} mode Optional. For negative numbers, controls whether Number is rounded toward or away from zero.
493
429
  * @returns
494
430
  */
495
- declare function CEILING(number: any, significance: any): any;
496
- declare namespace CEILING {
431
+ export function CEILING(number: any, significance: any): any;
432
+ export namespace CEILING {
497
433
  /**
498
434
  * Rounds a number up, to the nearest integer or to the nearest multiple of significance.
499
435
  *
@@ -526,7 +462,7 @@ declare namespace CEILING {
526
462
  * @param {*} mode Optional. For negative numbers, controls whether Number is rounded toward or away from zero.
527
463
  * @returns
528
464
  */
529
- declare function CEILINGMATH(number: any, significance: any, mode?: any): any;
465
+ export function CEILINGMATH(number: any, significance: any, mode?: any): any;
530
466
  /**
531
467
  * Rounds a number up, to the nearest integer or to the nearest multiple of significance.
532
468
  *
@@ -536,7 +472,7 @@ declare function CEILINGMATH(number: any, significance: any, mode?: any): any;
536
472
  * @param {*} significance Optional. This is the number of significant digits after the decimal point to which number is to be rounded.
537
473
  * @returns
538
474
  */
539
- declare function CEILINGPRECISE(number: any, significance: any): any;
475
+ export function CEILINGPRECISE(number: any, significance: any): any;
540
476
  /**
541
477
  * Returns the character specified by the code number.
542
478
  *
@@ -545,7 +481,7 @@ declare function CEILINGPRECISE(number: any, significance: any): any;
545
481
  * @param {*} number A number between 1 and 255 specifying which character you want. The character is from the character set used by your computer. Note: Excel for the web supports only CHAR(9), CHAR(10), CHAR(13), and CHAR(32) and above.
546
482
  * @returns
547
483
  */
548
- declare function CHAR(number: any): string | Error;
484
+ export function CHAR(number: any): string | Error;
549
485
  /**
550
486
  * Returns the cumulative beta probability density function.
551
487
  *
@@ -556,8 +492,8 @@ declare function CHAR(number: any): string | Error;
556
492
  * @param {*} cumulative A logical value that determines the form of the function. If cumulative is TRUE, CHISQ.DIST returns the cumulative distribution function; if FALSE, it returns the probability density function.
557
493
  * @returns
558
494
  */
559
- declare function CHIDIST(x: any, deg_freedom: any, cumulative: any): any;
560
- declare namespace CHIDIST {
495
+ export function CHIDIST(x: any, deg_freedom: any, cumulative: any): any;
496
+ export namespace CHIDIST {
561
497
  /**
562
498
  * Returns the one-tailed probability of the chi-squared distribution.
563
499
  *
@@ -578,7 +514,7 @@ declare namespace CHIDIST {
578
514
  * @param {*} deg_freedom The number of degrees of freedom.
579
515
  * @returns
580
516
  */
581
- declare function CHIDISTRT(x: any, deg_freedom: any): number | Error;
517
+ export function CHIDISTRT(x: any, deg_freedom: any): number | Error;
582
518
  /**
583
519
  * Returns the cumulative beta probability density function.
584
520
  *
@@ -588,8 +524,8 @@ declare function CHIDISTRT(x: any, deg_freedom: any): number | Error;
588
524
  * @param {*} deg_freedom The number of degrees of freedom.
589
525
  * @returns
590
526
  */
591
- declare function CHIINV(probability: any, deg_freedom: any): any;
592
- declare namespace CHIINV {
527
+ export function CHIINV(probability: any, deg_freedom: any): any;
528
+ export namespace CHIINV {
593
529
  /**
594
530
  * Returns the inverse of the one-tailed probability of the chi-squared distribution.
595
531
  *
@@ -610,8 +546,8 @@ declare namespace CHIINV {
610
546
  * @param {*} deg_freedom The number of degrees of freedom.
611
547
  * @returns
612
548
  */
613
- declare function CHIINVRT(probability: any, deg_freedom: any): any;
614
- declare namespace CHISQ {
549
+ export function CHIINVRT(probability: any, deg_freedom: any): any;
550
+ export namespace CHISQ {
615
551
  /**
616
552
  * Returns the cumulative beta probability density function.
617
553
  *
@@ -655,7 +591,7 @@ declare namespace CHISQ {
655
591
  * @param {*} expected_range The range of data that contains the ratio of the product of row totals and column totals to the grand total.
656
592
  * @returns
657
593
  */
658
- declare function CHITEST(actual_range: any, expected_range: any, ...args: any[]): number | Error;
594
+ export function CHITEST(actual_range: any, expected_range: any, ...args: any[]): number | Error;
659
595
  /**
660
596
  * Chooses a value from a list of values.
661
597
  *
@@ -668,8 +604,7 @@ declare function CHITEST(actual_range: any, expected_range: any, ...args: any[])
668
604
  * @param {*} args value1, value2, ... Value 1 is required, subsequent values are optional. 1 to 254 value arguments from which CHOOSE selects a value or an action to perform based on index_num. The arguments can be numbers, value references, defined names, formulas, functions, or text.
669
605
  * @returns
670
606
  */
671
- declare function CHOOSE(...args: any[]): any;
672
- declare function CIRCLES(...args: any[]): Promise<any>;
607
+ export function CHOOSE(...args: any[]): any;
673
608
  /**
674
609
  * Removes all nonprintable characters from text.
675
610
  *
@@ -678,7 +613,7 @@ declare function CIRCLES(...args: any[]): Promise<any>;
678
613
  * @param {*} text Any worksheet information from which you want to remove nonprintable characters.
679
614
  * @returns
680
615
  */
681
- declare function CLEAN(text: any): any;
616
+ export function CLEAN(text: any): any;
682
617
  /**
683
618
  * Returns a numeric code for the first character in a text string.
684
619
  *
@@ -687,26 +622,7 @@ declare function CLEAN(text: any): any;
687
622
  * @param {*} text The text for which you want the code of the first character.
688
623
  * @returns
689
624
  */
690
- declare function CODE(text: any): any;
691
- declare function COINGECKO(...args: any[]): Promise<{
692
- message: string;
693
- functionName: any;
694
- type: string;
695
- apiKeyName?: undefined;
696
- reason?: undefined;
697
- } | {
698
- message: string;
699
- functionName: any;
700
- type: string;
701
- apiKeyName: any;
702
- reason?: undefined;
703
- } | {
704
- message: string;
705
- functionName: any;
706
- type: string;
707
- reason: any;
708
- apiKeyName?: undefined;
709
- } | {}[]>;
625
+ export function CODE(text: any): any;
710
626
  /**
711
627
  * Returns the column number of a reference.
712
628
  *
@@ -716,7 +632,7 @@ declare function COINGECKO(...args: any[]): Promise<{
716
632
  * @param {*} index
717
633
  * @returns
718
634
  */
719
- declare function COLUMN(reference: any, index: any, ...args: any[]): any;
635
+ export function COLUMN(reference: any, index: any, ...args: any[]): any;
720
636
  /**
721
637
  * Returns the number of columns in a reference.
722
638
  *
@@ -725,7 +641,7 @@ declare function COLUMN(reference: any, index: any, ...args: any[]): any;
725
641
  * @param {*} array An array or array formula, or a reference to a range of values for which you want the number of columns.
726
642
  * @returns
727
643
  */
728
- declare function COLUMNS(array: any, ...args: any[]): any;
644
+ export function COLUMNS(array: any, ...args: any[]): any;
729
645
  /**
730
646
  * Returns the number of combinations for a given number of objects.
731
647
  *
@@ -735,7 +651,7 @@ declare function COLUMNS(array: any, ...args: any[]): any;
735
651
  * @param {*} number_chosen The number of items in each combination.
736
652
  * @returns
737
653
  */
738
- declare function COMBIN(number: any, number_chosen: any): any;
654
+ export function COMBIN(number: any, number_chosen: any): any;
739
655
  /**
740
656
  * Returns the number of combinations with repetitions for a given number of items.
741
657
  *
@@ -745,7 +661,7 @@ declare function COMBIN(number: any, number_chosen: any): any;
745
661
  * @param {*} number_chosen Must be greater than or equal to 0. Non-integer values are truncated.
746
662
  * @returns
747
663
  */
748
- declare function COMBINA(number: any, number_chosen: any): any;
664
+ export function COMBINA(number: any, number_chosen: any): any;
749
665
  /**
750
666
  * Converts real and imaginary coefficients into a complex number.
751
667
  *
@@ -756,7 +672,7 @@ declare function COMBINA(number: any, number_chosen: any): any;
756
672
  * @param {*} suffix Optional. The suffix for the imaginary component of the complex number. If omitted, suffix is assumed to be "i".
757
673
  * @returns
758
674
  */
759
- declare function COMPLEX(real_num: any, i_num: any, suffix: any): any;
675
+ export function COMPLEX(real_num: any, i_num: any, suffix: any): any;
760
676
  /**
761
677
  * Joins several text items into one text item.
762
678
  *
@@ -764,7 +680,7 @@ declare function COMPLEX(real_num: any, i_num: any, suffix: any): any;
764
680
  *
765
681
  * @returns
766
682
  */
767
- declare function CONCAT(...args: any[]): any;
683
+ export function CONCAT(...args: any[]): any;
768
684
  /**
769
685
  * Joins several text items into one text item.
770
686
  *
@@ -772,8 +688,8 @@ declare function CONCAT(...args: any[]): any;
772
688
  *
773
689
  * @returns
774
690
  */
775
- declare function CONCATENATE(...args: any[]): any;
776
- declare namespace CONFIDENCE {
691
+ export function CONCATENATE(...args: any[]): any;
692
+ export namespace CONFIDENCE {
777
693
  /**
778
694
  * Returns the confidence interval for a population mean.
779
695
  *
@@ -807,7 +723,7 @@ declare namespace CONFIDENCE {
807
723
  * @param {*} to_unit is the units for the result. CONVERT accepts the following text values (in quotation marks) for from_unit and to_unit.
808
724
  * @returns
809
725
  */
810
- declare function CONVERT(number: any, from_unit: any, to_unit: any): number | Error;
726
+ export function CONVERT(number: any, from_unit: any, to_unit: any): number | Error;
811
727
  /**
812
728
  * Returns the correlation coefficient between two data sets.
813
729
  *
@@ -817,7 +733,7 @@ declare function CONVERT(number: any, from_unit: any, to_unit: any): number | Er
817
733
  * @param {*} array2 A second range of value values.
818
734
  * @returns
819
735
  */
820
- declare function CORREL(array1: any, array2: any): any;
736
+ export function CORREL(array1: any, array2: any): any;
821
737
  /**
822
738
  * Returns the cosine of a number.
823
739
  *
@@ -826,7 +742,7 @@ declare function CORREL(array1: any, array2: any): any;
826
742
  * @param {*} number The angle in radians for which you want the cosine.
827
743
  * @returns
828
744
  */
829
- declare function COS(number: any): number | Error;
745
+ export function COS(number: any): number | Error;
830
746
  /**
831
747
  * Returns the hyperbolic cosine of a number.
832
748
  *
@@ -835,7 +751,7 @@ declare function COS(number: any): number | Error;
835
751
  * @param {*} number Any real number for which you want to find the hyperbolic cosine.
836
752
  * @returns
837
753
  */
838
- declare function COSH(number: any): number | Error;
754
+ export function COSH(number: any): number | Error;
839
755
  /**
840
756
  * Returns the hyperbolic cosine of a number.
841
757
  *
@@ -844,7 +760,7 @@ declare function COSH(number: any): number | Error;
844
760
  * @param {*} number The angle in radians for which you want the cotangent.
845
761
  * @returns
846
762
  */
847
- declare function COT(number: any): number | Error;
763
+ export function COT(number: any): number | Error;
848
764
  /**
849
765
  * Returns the cotangent of an angle.
850
766
  *
@@ -853,7 +769,7 @@ declare function COT(number: any): number | Error;
853
769
  * @param {*} number
854
770
  * @returns
855
771
  */
856
- declare function COTH(number: any): number | Error;
772
+ export function COTH(number: any): number | Error;
857
773
  /**
858
774
  * Counts how many numbers are in the list of arguments.
859
775
  *
@@ -862,7 +778,7 @@ declare function COTH(number: any): number | Error;
862
778
  * @param {*} args Cell reference, or range within which you want to count numbers.count numbers.
863
779
  * @returns
864
780
  */
865
- declare function COUNT(...args: any[]): any;
781
+ export function COUNT(...args: any[]): any;
866
782
  /**
867
783
  * Counts how many values are in the list of arguments.
868
784
  *
@@ -871,7 +787,7 @@ declare function COUNT(...args: any[]): any;
871
787
  * @param {*} args Arguments representing the values that you want to count.
872
788
  * @returns
873
789
  */
874
- declare function COUNTA(...args: any[]): number;
790
+ export function COUNTA(...args: any[]): number;
875
791
  /**
876
792
  * Counts the number of blank values within a range.
877
793
  *
@@ -880,7 +796,7 @@ declare function COUNTA(...args: any[]): number;
880
796
  * @param {*} args The range from which you want to count the blank values.
881
797
  * @returns
882
798
  */
883
- declare function COUNTBLANK(...args: any[]): number;
799
+ export function COUNTBLANK(...args: any[]): number;
884
800
  /**
885
801
  * Counts the number of values within a range that meet the given criteria.
886
802
  *
@@ -888,7 +804,7 @@ declare function COUNTBLANK(...args: any[]): number;
888
804
  *
889
805
  * @returns
890
806
  */
891
- declare function COUNTIF(range: any, criteria: any): any;
807
+ export function COUNTIF(range: any, criteria: any): any;
892
808
  /**
893
809
  * Counts the number of values within a range that meet multiple criteria.
894
810
  *
@@ -897,7 +813,7 @@ declare function COUNTIF(range: any, criteria: any): any;
897
813
  * @param {*} args Range in which to evaluate the associated criteria.
898
814
  * @returns
899
815
  */
900
- declare function COUNTIFS(...args: any[]): number;
816
+ export function COUNTIFS(...args: any[]): number;
901
817
  /**
902
818
  *
903
819
  * Returns the number of days in the coupon period that contains the settlement date.
@@ -910,7 +826,7 @@ declare function COUNTIFS(...args: any[]): number;
910
826
  * @param {*} basis Optional. The type of day count basis to use.
911
827
  * @returns
912
828
  */
913
- declare function COUPDAYS(settlement: any, maturity: any, frequency: any, basis: any): number | Error;
829
+ export function COUPDAYS(settlement: any, maturity: any, frequency: any, basis: any): number | Error;
914
830
  /**
915
831
  * Returns covariance, the average of the products of paired deviations.
916
832
  *
@@ -920,8 +836,8 @@ declare function COUPDAYS(settlement: any, maturity: any, frequency: any, basis:
920
836
  * @param {*} array2 The second value range of integers.
921
837
  * @returns
922
838
  */
923
- declare function COVAR(array1: any, array2: any): number | Error;
924
- declare namespace COVARIANCE {
839
+ export function COVAR(array1: any, array2: any): number | Error;
840
+ export namespace COVARIANCE {
925
841
  /**
926
842
  * Returns covariance, the average of the products of paired deviations.
927
843
  *
@@ -952,7 +868,7 @@ declare namespace COVARIANCE {
952
868
  * @param {*} array2 The second value range of integers.
953
869
  * @returns
954
870
  */
955
- declare function COVARIANCEP(array1: any, array2: any): number | Error;
871
+ export function COVARIANCEP(array1: any, array2: any): number | Error;
956
872
  /**
957
873
  * Returns the sample covariance, the average of the products deviations for each data point pair in two data sets.
958
874
  *
@@ -962,7 +878,7 @@ declare function COVARIANCEP(array1: any, array2: any): number | Error;
962
878
  * @param {*} array2 The second value range of integers.
963
879
  * @returns
964
880
  */
965
- declare function COVARIANCES(array1: any, array2: any): any;
881
+ export function COVARIANCES(array1: any, array2: any): any;
966
882
  /**
967
883
  * Returns the smallest value for which the cumulative binomial distribution is less than or equal to a criterion value.
968
884
  *
@@ -973,7 +889,7 @@ declare function COVARIANCES(array1: any, array2: any): any;
973
889
  * @param {*} alpha The criterion value.
974
890
  * @returns
975
891
  */
976
- declare function CRITBINOM(trials: any, probability_s: any, alpha: any): number | Error;
892
+ export function CRITBINOM(trials: any, probability_s: any, alpha: any): number | Error;
977
893
  /**
978
894
  * Returns the cosecant of an angle.
979
895
  *
@@ -982,7 +898,7 @@ declare function CRITBINOM(trials: any, probability_s: any, alpha: any): number
982
898
  * @param {*} number
983
899
  * @returns
984
900
  */
985
- declare function CSC(number: any): number | Error;
901
+ export function CSC(number: any): number | Error;
986
902
  /**
987
903
  * Returns the hyperbolic cosecant of an angle.
988
904
  *
@@ -991,7 +907,7 @@ declare function CSC(number: any): number | Error;
991
907
  * @param {*} number
992
908
  * @returns
993
909
  */
994
- declare function CSCH(number: any): number | Error;
910
+ export function CSCH(number: any): number | Error;
995
911
  /**
996
912
  * Returns the cumulative interest paid between two periods.
997
913
  *
@@ -1005,7 +921,7 @@ declare function CSCH(number: any): number | Error;
1005
921
  * @param {*} type The timing of the payment.
1006
922
  * @returns
1007
923
  */
1008
- declare function CUMIPMT(rate: any, nper: any, pv: any, start_period: any, end_period: any, type: any): number | Error;
924
+ export function CUMIPMT(rate: any, nper: any, pv: any, start_period: any, end_period: any, type: any): number | Error;
1009
925
  /**
1010
926
  * Returns the cumulative principal paid on a loan between two periods.
1011
927
  *
@@ -1019,7 +935,7 @@ declare function CUMIPMT(rate: any, nper: any, pv: any, start_period: any, end_p
1019
935
  * @param {*} type The timing of the payment.
1020
936
  * @returns
1021
937
  */
1022
- declare function CUMPRINC(rate: any, nper: any, pv: any, start_period: any, end: any, type: any): number | Error;
938
+ export function CUMPRINC(rate: any, nper: any, pv: any, start_period: any, end: any, type: any): number | Error;
1023
939
  /**
1024
940
  * Returns the serial number of a particular date.
1025
941
  *
@@ -1030,7 +946,7 @@ declare function CUMPRINC(rate: any, nper: any, pv: any, start_period: any, end:
1030
946
  * @param {*} day Day
1031
947
  * @returns
1032
948
  */
1033
- declare function DATE(year: any, month: any, day: any): string | number | Error;
949
+ export function DATE(year: any, month: any, day: any): string | number | Error;
1034
950
  /**
1035
951
  * Calculates the number of days, months, or years between two dates. This function is useful in formulas where you need to calculate an age.
1036
952
  *
@@ -1047,7 +963,7 @@ declare function DATE(year: any, month: any, day: any): string | number | Error;
1047
963
  - "YD": The difference between the days of start_date and end_date. The years of the dates are ignored.
1048
964
  * @returns
1049
965
  */
1050
- declare function DATEDIF(start_date: any, end_date: any, unit: any): number | Error;
966
+ export function DATEDIF(start_date: any, end_date: any, unit: any): number | Error;
1051
967
  /**
1052
968
  * Converts a date in the form of text to a serial number.
1053
969
  *
@@ -1056,7 +972,7 @@ declare function DATEDIF(start_date: any, end_date: any, unit: any): number | Er
1056
972
  * @param {*} date_text Text that represents a date in an Excel date format, or a reference to a value that contains text that represents a date in an Excel date format.
1057
973
  * @returns
1058
974
  */
1059
- declare function DATEVALUE(date_text: any): number | Error;
975
+ export function DATEVALUE(date_text: any): number | Error;
1060
976
  /**
1061
977
  * Returns the average of selected database entries.
1062
978
  *
@@ -1067,7 +983,7 @@ declare function DATEVALUE(date_text: any): number | Error;
1067
983
  * @param {*} criteria Range of values that contains the conditions you specify. You can use any range for the criteria argument, as long as it includes at least one column label and at least one value below the column label in which you specify a condition for the column.
1068
984
  * @returns
1069
985
  */
1070
- declare function DAVERAGE(database: any, field: any, criteria: any): number | Error;
986
+ export function DAVERAGE(database: any, field: any, criteria: any): number | Error;
1071
987
  /**
1072
988
  * Converts a serial number to a day of the month.
1073
989
  *
@@ -1076,7 +992,7 @@ declare function DAVERAGE(database: any, field: any, criteria: any): number | Er
1076
992
  * @param {*} serial_number The date of the day you are trying to find.
1077
993
  * @returns
1078
994
  */
1079
- declare function DAY(serial_number: any): number | Error;
995
+ export function DAY(serial_number: any): number | Error;
1080
996
  /**
1081
997
  * Returns the number of days between two dates.
1082
998
  *
@@ -1086,7 +1002,7 @@ declare function DAY(serial_number: any): number | Error;
1086
1002
  * @param {*} start_date Start_date and End_date are the two dates between which you want to know the number of days.
1087
1003
  * @returns
1088
1004
  */
1089
- declare function DAYS(end_date: any, start_date: any): number | Error;
1005
+ export function DAYS(end_date: any, start_date: any): number | Error;
1090
1006
  /**
1091
1007
  * Calculates the number of days between two dates based on a 360-day year.
1092
1008
  *
@@ -1097,7 +1013,7 @@ declare function DAYS(end_date: any, start_date: any): number | Error;
1097
1013
  * @param {*} method Optional. A logical value that specifies whether to use the U.S. or European method in the calculation.
1098
1014
  * @returns
1099
1015
  */
1100
- declare function DAYS360(start_date: any, end_date: any, method: any): number | Error;
1016
+ export function DAYS360(start_date: any, end_date: any, method: any): number | Error;
1101
1017
  /**
1102
1018
  * Returns the depreciation of an asset for a specified period by using the fixed-declining balance method.
1103
1019
  *
@@ -1110,7 +1026,7 @@ declare function DAYS360(start_date: any, end_date: any, method: any): number |
1110
1026
  * @param {*} month Optional. The number of months in the first year. If month is omitted, it is assumed to be 12.
1111
1027
  * @returns
1112
1028
  */
1113
- declare function DB(cost: any, salvage: any, life: any, period: any, month: any): number | Error;
1029
+ export function DB(cost: any, salvage: any, life: any, period: any, month: any): number | Error;
1114
1030
  /**
1115
1031
  * Counts the values that contain numbers in a database.
1116
1032
  *
@@ -1121,7 +1037,7 @@ declare function DB(cost: any, salvage: any, life: any, period: any, month: any)
1121
1037
  * @param {*} criteria The range of values that contains the conditions that you specify. You can use any range for the criteria argument, as long as the argument includes at least one column label and at least one value below the column label in which you specify a condition for the column.
1122
1038
  * @returns
1123
1039
  */
1124
- declare function DCOUNT(database: any, field: any, criteria: any): any;
1040
+ export function DCOUNT(database: any, field: any, criteria: any): any;
1125
1041
  /**
1126
1042
  * Counts nonblank values in a database.
1127
1043
  *
@@ -1132,7 +1048,7 @@ declare function DCOUNT(database: any, field: any, criteria: any): any;
1132
1048
  * @param {*} criteria The range of values that contains the conditions that you specify. You can use any range for the criteria argument, as long as it includes at least one column label and at least one value below the column label in which you specify a condition for the column.
1133
1049
  * @returns
1134
1050
  */
1135
- declare function DCOUNTA(database: any, field: any, criteria: any): number | Error;
1051
+ export function DCOUNTA(database: any, field: any, criteria: any): number | Error;
1136
1052
  /**
1137
1053
  * Returns the depreciation of an asset for a specified period by using the double-declining balance method or some other method that you specify.
1138
1054
  *
@@ -1145,7 +1061,7 @@ declare function DCOUNTA(database: any, field: any, criteria: any): number | Err
1145
1061
  * @param {*} factor Optional. The rate at which the balance declines. If factor is omitted, it is assumed to be 2 (the double-declining balance method).
1146
1062
  * @returns
1147
1063
  */
1148
- declare function DDB(cost: any, salvage: any, life: any, period: any, factor: any): number | Error;
1064
+ export function DDB(cost: any, salvage: any, life: any, period: any, factor: any): number | Error;
1149
1065
  /**
1150
1066
  * Converts a decimal number to binary.
1151
1067
  *
@@ -1155,7 +1071,7 @@ declare function DDB(cost: any, salvage: any, life: any, period: any, factor: an
1155
1071
  * @param {*} places Optional. The number of characters to use. If places is omitted, DEC2BIN uses the minimum number of characters necessary. Places is useful for padding the return value with leading 0s (zeros).
1156
1072
  * @returns
1157
1073
  */
1158
- declare function DEC2BIN(number: any, places: any): string | Error;
1074
+ export function DEC2BIN(number: any, places: any): string | Error;
1159
1075
  /**
1160
1076
  * Converts a decimal number to hexadecimal.
1161
1077
  *
@@ -1165,7 +1081,7 @@ declare function DEC2BIN(number: any, places: any): string | Error;
1165
1081
  * @param {*} places Optional. The number of characters to use. If places is omitted, DEC2HEX uses the minimum number of characters necessary. Places is useful for padding the return value with leading 0s (zeros).
1166
1082
  * @returns
1167
1083
  */
1168
- declare function DEC2HEX(number: any, places: any): any;
1084
+ export function DEC2HEX(number: any, places: any): any;
1169
1085
  /**
1170
1086
  * Converts a decimal number to octal.
1171
1087
  *
@@ -1175,7 +1091,7 @@ declare function DEC2HEX(number: any, places: any): any;
1175
1091
  * @param {*} places Optional. The number of characters to use. If places is omitted, DEC2OCT uses the minimum number of characters necessary. Places is useful for padding the return value with leading 0s (zeros).
1176
1092
  * @returns
1177
1093
  */
1178
- declare function DEC2OCT(number: any, places: any): any;
1094
+ export function DEC2OCT(number: any, places: any): any;
1179
1095
  /**
1180
1096
  * Converts a text representation of a number in a given base into a decimal number.
1181
1097
  *
@@ -1185,26 +1101,7 @@ declare function DEC2OCT(number: any, places: any): any;
1185
1101
  * @param {*} radix Radix must be an integer.
1186
1102
  * @returns
1187
1103
  */
1188
- declare function DECIMAL(text: any, radix: any, ...args: any[]): any;
1189
- declare function DEFILLAMA(...args: any[]): Promise<any[] | {
1190
- message: string;
1191
- functionName: any;
1192
- type: string;
1193
- apiKeyName?: undefined;
1194
- reason?: undefined;
1195
- } | {
1196
- message: string;
1197
- functionName: any;
1198
- type: string;
1199
- apiKeyName: any;
1200
- reason?: undefined;
1201
- } | {
1202
- message: string;
1203
- functionName: any;
1204
- type: string;
1205
- reason: any;
1206
- apiKeyName?: undefined;
1207
- }>;
1104
+ export function DECIMAL(text: any, radix: any, ...args: any[]): any;
1208
1105
  /**
1209
1106
  * Converts radians to degrees.
1210
1107
  *
@@ -1213,7 +1110,7 @@ declare function DEFILLAMA(...args: any[]): Promise<any[] | {
1213
1110
  * @param {*} angle The angle in radians that you want to convert.
1214
1111
  * @returns
1215
1112
  */
1216
- declare function DEGREES(angle: any): number | Error;
1113
+ export function DEGREES(angle: any): number | Error;
1217
1114
  /**
1218
1115
  * Tests whether two values are equal.
1219
1116
  *
@@ -1223,7 +1120,7 @@ declare function DEGREES(angle: any): number | Error;
1223
1120
  * @param {*} number2 Optional. The second number. If omitted, number2 is assumed to be zero.
1224
1121
  * @returns
1225
1122
  */
1226
- declare function DELTA(number1: any, number2: any): Error | 0 | 1;
1123
+ export function DELTA(number1: any, number2: any): Error | 0 | 1;
1227
1124
  /**
1228
1125
  * Returns the sum of squares of deviations.
1229
1126
  *
@@ -1232,7 +1129,7 @@ declare function DELTA(number1: any, number2: any): Error | 0 | 1;
1232
1129
  * @param {*} args number1, number2, ... Number1 is required, subsequent numbers are optional. 1 to 255 arguments for which you want to calculate the sum of squared deviations. You can also use a single array or a reference to an array instead of arguments separated by commas.
1233
1130
  * @returns
1234
1131
  */
1235
- declare function DEVSQ(...args: any[]): number | Error;
1132
+ export function DEVSQ(...args: any[]): number | Error;
1236
1133
  /**
1237
1134
  * Extracts from a database a single record that matches the specified criteria.
1238
1135
  *
@@ -1243,7 +1140,7 @@ declare function DEVSQ(...args: any[]): number | Error;
1243
1140
  * @param {*} criteria The range of values that contains the conditions that you specify. You can use any range for the criteria argument, as long as it includes at least one column label and at least one value below the column label in which you specify a condition for the column.
1244
1141
  * @returns
1245
1142
  */
1246
- declare function DGET(database: any, field: any, criteria: any): any;
1143
+ export function DGET(database: any, field: any, criteria: any): any;
1247
1144
  /**
1248
1145
  * Returns the discount rate for a security.
1249
1146
  *
@@ -1256,7 +1153,7 @@ declare function DGET(database: any, field: any, criteria: any): any;
1256
1153
  * @param {*} basis Optional. The type of day count basis to use.
1257
1154
  * @returns
1258
1155
  */
1259
- declare function DISC(settlement: any, maturity: any, pr: any, redemption: any, basis: any): number | Error;
1156
+ export function DISC(settlement: any, maturity: any, pr: any, redemption: any, basis: any): number | Error;
1260
1157
  /**
1261
1158
  * Returns the maximum value from selected database entries.
1262
1159
  *
@@ -1267,7 +1164,7 @@ declare function DISC(settlement: any, maturity: any, pr: any, redemption: any,
1267
1164
  * @param {*} criteria The range of values that contains the conditions that you specify. You can use any range for the criteria argument, as long as it includes at least one column label and at least one value below the column label in which you specify a condition for the column.
1268
1165
  * @returns
1269
1166
  */
1270
- declare function DMAX(database: any, field: any, criteria: any): any;
1167
+ export function DMAX(database: any, field: any, criteria: any): any;
1271
1168
  /**
1272
1169
  * Returns the minimum value from selected database entries.
1273
1170
  *
@@ -1278,7 +1175,7 @@ declare function DMAX(database: any, field: any, criteria: any): any;
1278
1175
  * @param {*} criteria The range of values that contains the conditions that you specify. You can use any range for the criteria argument, as long as it includes at least one column label and at least one value below the column label in which you specify a condition for the column.
1279
1176
  * @returns
1280
1177
  */
1281
- declare function DMIN(database: any, field: any, criteria: any): any;
1178
+ export function DMIN(database: any, field: any, criteria: any): any;
1282
1179
  /**
1283
1180
  * Converts a number to text, using the $ (dollar) currency format.
1284
1181
  *
@@ -1288,7 +1185,7 @@ declare function DMIN(database: any, field: any, criteria: any): any;
1288
1185
  * @param {*} decimals Optional. The number of digits to the right of the decimal point. If this is negative, the number is rounded to the left of the decimal point. If you omit decimals, it is assumed to be 2.
1289
1186
  * @returns
1290
1187
  */
1291
- declare function DOLLAR(number: any, decimals?: any): any;
1188
+ export function DOLLAR(number: any, decimals?: any): any;
1292
1189
  /**
1293
1190
  * Converts a dollar price, expressed as a fraction, into a dollar price, expressed as a decimal number.
1294
1191
  *
@@ -1298,7 +1195,7 @@ declare function DOLLAR(number: any, decimals?: any): any;
1298
1195
  * @param {*} fraction The integer to use in the denominator of the fraction.
1299
1196
  * @returns
1300
1197
  */
1301
- declare function DOLLARDE(fractional_dollar: any, fraction: any): number | Error;
1198
+ export function DOLLARDE(fractional_dollar: any, fraction: any): number | Error;
1302
1199
  /**
1303
1200
  * Converts a dollar price, expressed as a decimal number, into a dollar price, expressed as a fraction.
1304
1201
  *
@@ -1308,7 +1205,7 @@ declare function DOLLARDE(fractional_dollar: any, fraction: any): number | Error
1308
1205
  * @param {*} fraction The integer to use in the denominator of a fraction.
1309
1206
  * @returns
1310
1207
  */
1311
- declare function DOLLARFR(decimal_dollar: any, fraction: any): number | Error;
1208
+ export function DOLLARFR(decimal_dollar: any, fraction: any): number | Error;
1312
1209
  /**
1313
1210
  * Multiplies the values in a particular field of records that match the criteria in a database.
1314
1211
  *
@@ -1319,7 +1216,7 @@ declare function DOLLARFR(decimal_dollar: any, fraction: any): number | Error;
1319
1216
  * @param {*} criteria The range of values that contains the conditions that you specify. You can use any range for the criteria argument, as long as it includes at least one column label and at least one value below the column label in which you specify a condition for the column.
1320
1217
  * @returns
1321
1218
  */
1322
- declare function DPRODUCT(database: any, field: any, criteria: any): number | Error;
1219
+ export function DPRODUCT(database: any, field: any, criteria: any): number | Error;
1323
1220
  /**
1324
1221
  * Estimates the standard deviation based on a sample of selected database entries.
1325
1222
  *
@@ -1330,7 +1227,7 @@ declare function DPRODUCT(database: any, field: any, criteria: any): number | Er
1330
1227
  * @param {*} criteria The range of values that contains the conditions that you specify. You can use any range for the criteria argument, as long as it includes at least one column label and at least one value below the column label in which you specify a condition for the column.
1331
1228
  * @returns
1332
1229
  */
1333
- declare function DSTDEV(database: any, field: any, criteria: any): number | Error;
1230
+ export function DSTDEV(database: any, field: any, criteria: any): number | Error;
1334
1231
  /**
1335
1232
  * Calculates the standard deviation based on the entire population of selected database entries.
1336
1233
  *
@@ -1341,7 +1238,7 @@ declare function DSTDEV(database: any, field: any, criteria: any): number | Erro
1341
1238
  * @param {*} criteria The range of values that contains the conditions that you specify. You can use any range for the criteria argument, as long as it includes at least one column label and at least one value below the column label in which you specify a condition for the column.
1342
1239
  * @returns
1343
1240
  */
1344
- declare function DSTDEVP(database: any, field: any, criteria: any): number | Error;
1241
+ export function DSTDEVP(database: any, field: any, criteria: any): number | Error;
1345
1242
  /**
1346
1243
  * Adds the numbers in the field column of records in the database that match the criteria.
1347
1244
  *
@@ -1352,26 +1249,7 @@ declare function DSTDEVP(database: any, field: any, criteria: any): number | Err
1352
1249
  * @param {*} criteria Is the range of values that contains the conditions that you specify. You can use any range for the criteria argument, as long as it includes at least one column label and at least one value below the column label in which you specify a condition for the column.
1353
1250
  * @returns
1354
1251
  */
1355
- declare function DSUM(database: any, field: any, criteria: any): number | Error;
1356
- declare function DUNE(...args: any[]): Promise<{
1357
- message: string;
1358
- functionName: any;
1359
- type: string;
1360
- apiKeyName?: undefined;
1361
- reason?: undefined;
1362
- } | {
1363
- message: string;
1364
- functionName: any;
1365
- type: string;
1366
- apiKeyName: any;
1367
- reason?: undefined;
1368
- } | {
1369
- message: string;
1370
- functionName: any;
1371
- type: string;
1372
- reason: any;
1373
- apiKeyName?: undefined;
1374
- } | {}[]>;
1252
+ export function DSUM(database: any, field: any, criteria: any): number | Error;
1375
1253
  /**
1376
1254
  * Estimates variance based on a sample from selected database entries.
1377
1255
  *
@@ -1382,7 +1260,7 @@ declare function DUNE(...args: any[]): Promise<{
1382
1260
  * @param {*} criteria The range of values that contains the conditions that you specify. You can use any range for the criteria argument, as long as it includes at least one column label and at least one value below the column label in which you specify a condition for the column.
1383
1261
  * @returns
1384
1262
  */
1385
- declare function DVAR(database: any, field: any, criteria: any): number | Error;
1263
+ export function DVAR(database: any, field: any, criteria: any): number | Error;
1386
1264
  /**
1387
1265
  * Calculates variance based on the entire population of selected database entries.
1388
1266
  *
@@ -1393,7 +1271,7 @@ declare function DVAR(database: any, field: any, criteria: any): number | Error;
1393
1271
  * @param {*} criteria The range of values that contains the conditions that you specify. You can use any range for the criteria argument, as long as it includes at least one column label and at least one value below the column label in which you specify a condition for the column.
1394
1272
  * @returns
1395
1273
  */
1396
- declare function DVARP(database: any, field: any, criteria: any): number | Error;
1274
+ export function DVARP(database: any, field: any, criteria: any): number | Error;
1397
1275
  /**
1398
1276
  * Returns the serial number of the date that is the indicated number of months before or after the start date.
1399
1277
  *
@@ -1403,7 +1281,7 @@ declare function DVARP(database: any, field: any, criteria: any): number | Error
1403
1281
  * @param {*} months The number of months before or after start_date. A positive value for months yields a future date; a negative value yields a past date.
1404
1282
  * @returns
1405
1283
  */
1406
- declare function EDATE(start_date: any, months: any): any;
1284
+ export function EDATE(start_date: any, months: any): any;
1407
1285
  /**
1408
1286
  * Returns the effective annual interest rate.
1409
1287
  *
@@ -1413,8 +1291,8 @@ declare function EDATE(start_date: any, months: any): any;
1413
1291
  * @param {*} npery The number of compounding periods per year.
1414
1292
  * @returns
1415
1293
  */
1416
- declare function EFFECT(nominal_rate: any, npery: any): number | Error;
1417
- declare function EOA(...args: any[]): Promise<any>;
1294
+ export function EFFECT(nominal_rate: any, npery: any): number | Error;
1295
+ export function EOA(...args: any[]): Promise<any>;
1418
1296
  /**
1419
1297
  * Returns the serial number of the last day of the month before or after a specified number of months.
1420
1298
  *
@@ -1424,8 +1302,8 @@ declare function EOA(...args: any[]): Promise<any>;
1424
1302
  * @param {*} months The number of months before or after start_date. A positive value for months yields a future date; a negative value yields a past date.
1425
1303
  * @returns
1426
1304
  */
1427
- declare function EOMONTH(start_date: any, months: any): number | Error | Date;
1428
- declare function EPOCHTODATE(timestamp: any, timeUnit?: number): string | Error;
1305
+ export function EOMONTH(start_date: any, months: any): number | Error | Date;
1306
+ export function EPOCHTODATE(timestamp: any, timeUnit?: number): string | Error;
1429
1307
  /**
1430
1308
  * Returns the error function.
1431
1309
  *
@@ -1435,7 +1313,7 @@ declare function EPOCHTODATE(timestamp: any, timeUnit?: number): string | Error;
1435
1313
  * @param {*} upper_limit Optional. The upper bound for integrating ERF. If omitted, ERF integrates between zero and lower_limit.
1436
1314
  * @returns
1437
1315
  */
1438
- declare function ERF(lower_limit: any, upper_limit: any): any;
1316
+ export function ERF(lower_limit: any, upper_limit: any): any;
1439
1317
  /**
1440
1318
  * Returns the complementary error function.
1441
1319
  *
@@ -1444,13 +1322,13 @@ declare function ERF(lower_limit: any, upper_limit: any): any;
1444
1322
  * @param {*} x The lower bound for integrating ERFC.
1445
1323
  * @returns
1446
1324
  */
1447
- declare function ERFC(x: any): any;
1448
- declare const ERFCPRECISE: any;
1449
- declare const ERFPRECISE: any;
1450
- declare namespace ERROR {
1325
+ export function ERFC(x: any): any;
1326
+ export const ERFCPRECISE: any;
1327
+ export const ERFPRECISE: any;
1328
+ export namespace ERROR {
1451
1329
  function TYPE(error_val: any): Error | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8;
1452
1330
  }
1453
- declare function ETHERSCAN(...args: any[]): Promise<any>;
1331
+ export function ETHERSCAN(...args: any[]): Promise<any>;
1454
1332
  /**
1455
1333
  * Rounds a number up to the nearest even integer.
1456
1334
  *
@@ -1459,7 +1337,7 @@ declare function ETHERSCAN(...args: any[]): Promise<any>;
1459
1337
  * @param {*} number The value to round.
1460
1338
  * @returns
1461
1339
  */
1462
- declare function EVEN(number: any): any;
1340
+ export function EVEN(number: any): any;
1463
1341
  /**
1464
1342
  * Checks to see if two text values are identical.
1465
1343
  *
@@ -1469,7 +1347,7 @@ declare function EVEN(number: any): any;
1469
1347
  * @param {*} text2 The second text string.
1470
1348
  * @returns
1471
1349
  */
1472
- declare function EXACT(text1: any, text2: any, ...args: any[]): any;
1350
+ export function EXACT(text1: any, text2: any, ...args: any[]): any;
1473
1351
  /**
1474
1352
  * Returns e raised to the power of a given number.
1475
1353
  *
@@ -1478,8 +1356,8 @@ declare function EXACT(text1: any, text2: any, ...args: any[]): any;
1478
1356
  * @param {*} number The exponent applied to the base e.
1479
1357
  * @returns
1480
1358
  */
1481
- declare function EXP(number: any, ...args: any[]): any;
1482
- declare namespace EXPON {
1359
+ export function EXP(number: any, ...args: any[]): any;
1360
+ export namespace EXPON {
1483
1361
  /**
1484
1362
  * Returns the exponential distribution.
1485
1363
  *
@@ -1502,8 +1380,8 @@ declare namespace EXPON {
1502
1380
  * @param {*} cumulative A logical value that indicates which form of the exponential function to provide. If cumulative is TRUE, EXPON.DIST returns the cumulative distribution function; if FALSE, it returns the probability density function.
1503
1381
  * @returns
1504
1382
  */
1505
- declare function EXPONDIST(x: any, lambda: any, cumulative: any): any;
1506
- declare namespace F {
1383
+ export function EXPONDIST(x: any, lambda: any, cumulative: any): any;
1384
+ export namespace F {
1507
1385
  /**
1508
1386
  * Returns the F probability distribution.
1509
1387
  *
@@ -1572,7 +1450,7 @@ declare namespace F {
1572
1450
  * @param {*} number The nonnegative number for which you want the factorial. If number is not an integer, it is truncated.
1573
1451
  * @returns
1574
1452
  */
1575
- declare function FACT(number: any): any;
1453
+ export function FACT(number: any): any;
1576
1454
  /**
1577
1455
  * Returns the double factorial of a number.
1578
1456
  *
@@ -1581,7 +1459,7 @@ declare function FACT(number: any): any;
1581
1459
  * @param {*} number The value for which to return the double factorial. If number is not an integer, it is truncated.
1582
1460
  * @returns
1583
1461
  */
1584
- declare function FACTDOUBLE(number: any): any;
1462
+ export function FACTDOUBLE(number: any): any;
1585
1463
  /**
1586
1464
  * Returns the logical value FALSE.
1587
1465
  *
@@ -1589,7 +1467,7 @@ declare function FACTDOUBLE(number: any): any;
1589
1467
  *
1590
1468
  * @returns
1591
1469
  */
1592
- declare function FALSE(): boolean;
1470
+ export function FALSE(): boolean;
1593
1471
  /**
1594
1472
  * Returns the F probability distribution.
1595
1473
  *
@@ -1601,8 +1479,8 @@ declare function FALSE(): boolean;
1601
1479
  * @param {*} cumulative A logical value that determines the form of the function. If cumulative is TRUE, F.DIST returns the cumulative distribution function; if FALSE, it returns the probability density function.
1602
1480
  * @returns
1603
1481
  */
1604
- declare function FDIST(x: any, deg_freedom1: any, deg_freedom2: any, cumulative: any): any;
1605
- declare namespace FDIST { }
1482
+ export function FDIST(x: any, deg_freedom1: any, deg_freedom2: any, cumulative: any): any;
1483
+ export namespace FDIST { }
1606
1484
  /**
1607
1485
  * Returns the F probability distribution.
1608
1486
  *
@@ -1613,7 +1491,7 @@ declare namespace FDIST { }
1613
1491
  * @param {*} deg_freedom2 The denominator degrees of freedom.
1614
1492
  * @returns
1615
1493
  */
1616
- declare function FDISTRT(x: any, deg_freedom1: any, deg_freedom2: any, ...args: any[]): number | Error;
1494
+ export function FDISTRT(x: any, deg_freedom1: any, deg_freedom2: any, ...args: any[]): number | Error;
1617
1495
  /**
1618
1496
  * Locate one text string within a second text string, and return the number of the starting position of the first text string from the first character of the second text string.
1619
1497
  *
@@ -1624,7 +1502,7 @@ declare function FDISTRT(x: any, deg_freedom1: any, deg_freedom2: any, ...args:
1624
1502
  * @param {*} start_num Optional. Specifies the character at which to start the search. The first character in within_text is character number 1. If you omit start_num, it is assumed to be 1.
1625
1503
  * @returns
1626
1504
  */
1627
- declare function FIND(find_text: any, within_text: any, start_num: any, ...args: any[]): any;
1505
+ export function FIND(find_text: any, within_text: any, start_num: any, ...args: any[]): any;
1628
1506
  /**
1629
1507
  * Returns the inverse of the F probability distribution.
1630
1508
  *
@@ -1635,8 +1513,8 @@ declare function FIND(find_text: any, within_text: any, start_num: any, ...args:
1635
1513
  * @param {*} deg_freedom2 The denominator degrees of freedom.
1636
1514
  * @returns
1637
1515
  */
1638
- declare function FINV(probability: any, deg_freedom1: any, deg_freedom2: any): any;
1639
- declare namespace FINV { }
1516
+ export function FINV(probability: any, deg_freedom1: any, deg_freedom2: any): any;
1517
+ export namespace FINV { }
1640
1518
  /**
1641
1519
  * Returns the inverse of the F probability distribution.
1642
1520
  *
@@ -1647,28 +1525,7 @@ declare namespace FINV { }
1647
1525
  * @param {*} deg_freedom2 The denominator degrees of freedom.
1648
1526
  * @returns
1649
1527
  */
1650
- declare function FINVRT(probability: any, deg_freedom1: any, deg_freedom2: any, ...args: any[]): any;
1651
- declare function FIREFLY(...args: any[]): Promise<{
1652
- message: string;
1653
- functionName: any;
1654
- type: string;
1655
- apiKeyName?: undefined;
1656
- reason?: undefined;
1657
- } | {
1658
- message: string;
1659
- functionName: any;
1660
- type: string;
1661
- apiKeyName: any;
1662
- reason?: undefined;
1663
- } | {
1664
- message: string;
1665
- functionName: any;
1666
- type: string;
1667
- reason: any;
1668
- apiKeyName?: undefined;
1669
- } | {
1670
- platform: any;
1671
- }[]>;
1528
+ export function FINVRT(probability: any, deg_freedom1: any, deg_freedom2: any, ...args: any[]): any;
1672
1529
  /**
1673
1530
  * Returns the Fisher transformation.
1674
1531
  *
@@ -1677,7 +1534,7 @@ declare function FIREFLY(...args: any[]): Promise<{
1677
1534
  * @param {*} x A numeric value for which you want the transformation.
1678
1535
  * @returns
1679
1536
  */
1680
- declare function FISHER(x: any): number | Error;
1537
+ export function FISHER(x: any): number | Error;
1681
1538
  /**
1682
1539
  * Returns the inverse of the Fisher transformation.
1683
1540
  *
@@ -1686,7 +1543,7 @@ declare function FISHER(x: any): number | Error;
1686
1543
  * @param {*} y The value for which you want to perform the inverse of the transformation.
1687
1544
  * @returns
1688
1545
  */
1689
- declare function FISHERINV(y: any): number | Error;
1546
+ export function FISHERINV(y: any): number | Error;
1690
1547
  /**
1691
1548
  * Formats a number as text with a fixed number of decimals.
1692
1549
  *
@@ -1697,7 +1554,7 @@ declare function FISHERINV(y: any): number | Error;
1697
1554
  * @param {*} no_commas Optional. A logical value that, if TRUE, prevents FIXED from including commas in the returned text.
1698
1555
  * @returns
1699
1556
  */
1700
- declare function FIXED(number: any, decimals?: any, no_commas?: any): any;
1557
+ export function FIXED(number: any, decimals?: any, no_commas?: any): any;
1701
1558
  /**
1702
1559
  * Rounds a number down, toward zero.
1703
1560
  *
@@ -1707,8 +1564,8 @@ declare function FIXED(number: any, decimals?: any, no_commas?: any): any;
1707
1564
  * @param {*} significance The multiple to which you want to round.
1708
1565
  * @returns
1709
1566
  */
1710
- declare function FLOOR(number: any, significance: any): any;
1711
- declare namespace FLOOR {
1567
+ export function FLOOR(number: any, significance: any): any;
1568
+ export namespace FLOOR {
1712
1569
  /**
1713
1570
  * Rounds a number down, to the nearest integer or to the nearest multiple of significance.
1714
1571
  *
@@ -1741,7 +1598,7 @@ declare namespace FLOOR {
1741
1598
  * @param {*} mode Optional. The direction (toward or away from 0) to round negative numbers.
1742
1599
  * @returns
1743
1600
  */
1744
- declare function FLOORMATH(number: any, significance?: any, mode?: any): any;
1601
+ export function FLOORMATH(number: any, significance?: any, mode?: any): any;
1745
1602
  /**
1746
1603
  * Rounds a number the nearest integer or to the nearest multiple of significance. Regardless of the sign of the number, the number is rounded up.
1747
1604
  *
@@ -1751,8 +1608,8 @@ declare function FLOORMATH(number: any, significance?: any, mode?: any): any;
1751
1608
  * @param {*} significance Optional. The multiple to which number is to be rounded. If significance is omitted, its default value is 1.
1752
1609
  * @returns
1753
1610
  */
1754
- declare function FLOORPRECISE(number: any, significance: any): any;
1755
- declare function FLVURL(): Promise<any>;
1611
+ export function FLOORPRECISE(number: any, significance: any): any;
1612
+ export function FLVURL(): Promise<any>;
1756
1613
  /**
1757
1614
  * Returns a value along a linear trend.
1758
1615
  *
@@ -1763,7 +1620,7 @@ declare function FLVURL(): Promise<any>;
1763
1620
  * @param {*} known_xs The independent array or range of data.
1764
1621
  * @returns
1765
1622
  */
1766
- declare function FORECAST(x: any, known_ys: any, known_xs: any): number | Error;
1623
+ export function FORECAST(x: any, known_ys: any, known_xs: any): number | Error;
1767
1624
  /**
1768
1625
  * Returns a frequency distribution as a vertical array.
1769
1626
  *
@@ -1773,7 +1630,7 @@ declare function FORECAST(x: any, known_ys: any, known_xs: any): number | Error;
1773
1630
  * @param {*} bins_array An array of or reference to intervals into which you want to group the values in data_array. If bins_array contains no values, FREQUENCY returns the number of elements in data_array.
1774
1631
  * @returns
1775
1632
  */
1776
- declare function FREQUENCY(data_array: any, bins_array: any): Error | number[];
1633
+ export function FREQUENCY(data_array: any, bins_array: any): Error | number[];
1777
1634
  /**
1778
1635
  * Returns the result of an F-test.
1779
1636
  *
@@ -1783,7 +1640,7 @@ declare function FREQUENCY(data_array: any, bins_array: any): Error | number[];
1783
1640
  * @param {*} array2 The second array or range of data.
1784
1641
  * @returns
1785
1642
  */
1786
- declare function FTEST(array1: any, array2: any): number | Error;
1643
+ export function FTEST(array1: any, array2: any): number | Error;
1787
1644
  /**
1788
1645
  * Returns the future value of an investment.
1789
1646
  *
@@ -1796,7 +1653,7 @@ declare function FTEST(array1: any, array2: any): number | Error;
1796
1653
  * @param {*} type Optional. The number 0 or 1 and indicates when payments are due. If type is omitted, it is assumed to be 0.
1797
1654
  * @returns
1798
1655
  */
1799
- declare function FV(rate: any, nper: any, payment: any, value$1: any, type: any): number | Error;
1656
+ export function FV(rate: any, nper: any, payment: any, value$1: any, type: any): number | Error;
1800
1657
  /**
1801
1658
  * Returns the future value of an initial principal after applying a series of compound interest rates.
1802
1659
  *
@@ -1806,7 +1663,7 @@ declare function FV(rate: any, nper: any, payment: any, value$1: any, type: any)
1806
1663
  * @param {*} schedule An array of interest rates to apply.
1807
1664
  * @returns
1808
1665
  */
1809
- declare function FVSCHEDULE(principal: any, schedule: any): any;
1666
+ export function FVSCHEDULE(principal: any, schedule: any): any;
1810
1667
  /**
1811
1668
  * Returns the Gamma function value.
1812
1669
  *
@@ -1815,8 +1672,8 @@ declare function FVSCHEDULE(principal: any, schedule: any): any;
1815
1672
  * @param {*} number Returns a number.
1816
1673
  * @returns
1817
1674
  */
1818
- declare function GAMMA(number: any): any;
1819
- declare namespace GAMMA {
1675
+ export function GAMMA(number: any): any;
1676
+ export namespace GAMMA {
1820
1677
  /**
1821
1678
  * Returns the gamma distribution.
1822
1679
  *
@@ -1852,7 +1709,7 @@ declare namespace GAMMA {
1852
1709
  * @param {*} cumulative A logical value that determines the form of the function. If cumulative is TRUE, GAMMA.DIST returns the cumulative distribution function; if FALSE, it returns the probability density function.
1853
1710
  * @returns
1854
1711
  */
1855
- declare function GAMMADIST(value$1: any, alpha: any, beta: any, cumulative: any, ...args: any[]): any;
1712
+ export function GAMMADIST(value$1: any, alpha: any, beta: any, cumulative: any, ...args: any[]): any;
1856
1713
  /**
1857
1714
  * Returns the inverse of the gamma cumulative distribution.
1858
1715
  *
@@ -1863,7 +1720,7 @@ declare function GAMMADIST(value$1: any, alpha: any, beta: any, cumulative: any,
1863
1720
  * @param {*} beta A parameter to the distribution. If beta = 1, GAMMA.INV returns the standard gamma distribution.
1864
1721
  * @returns
1865
1722
  */
1866
- declare function GAMMAINV(probability: any, alpha: any, beta: any, ...args: any[]): any;
1723
+ export function GAMMAINV(probability: any, alpha: any, beta: any, ...args: any[]): any;
1867
1724
  /**
1868
1725
  * Returns the natural logarithm of the gamma function, Γ(x).
1869
1726
  *
@@ -1872,8 +1729,8 @@ declare function GAMMAINV(probability: any, alpha: any, beta: any, ...args: any[
1872
1729
  * @param {*} x The value for which you want to calculate GAMMALN.
1873
1730
  * @returns
1874
1731
  */
1875
- declare function GAMMALN(x: any): any;
1876
- declare namespace GAMMALN {
1732
+ export function GAMMALN(x: any): any;
1733
+ export namespace GAMMALN {
1877
1734
  /**
1878
1735
  * Returns the natural logarithm of the gamma function, Γ(x).
1879
1736
  *
@@ -1892,7 +1749,7 @@ declare namespace GAMMALN {
1892
1749
  * @param {*} x The value for which you want to calculate GAMMALN.PRECISE.
1893
1750
  * @returns
1894
1751
  */
1895
- declare function GAMMALNPRECISE(x: any, ...args: any[]): any;
1752
+ export function GAMMALNPRECISE(x: any, ...args: any[]): any;
1896
1753
  /**
1897
1754
  * Returns 0.5 less than the standard normal cumulative distribution.
1898
1755
  *
@@ -1901,7 +1758,7 @@ declare function GAMMALNPRECISE(x: any, ...args: any[]): any;
1901
1758
  * @param {*} z Returns a number.
1902
1759
  * @returns
1903
1760
  */
1904
- declare function GAUSS(z: any): number | Error;
1761
+ export function GAUSS(z: any): number | Error;
1905
1762
  /**
1906
1763
  * Returns the greatest common divisor.
1907
1764
  *
@@ -1910,7 +1767,7 @@ declare function GAUSS(z: any): number | Error;
1910
1767
  * @param {*} args number1, number2, ... Number1 is required, subsequent numbers are optional. 1 to 255 values. If any value is not an integer, it is truncated.
1911
1768
  * @returns
1912
1769
  */
1913
- declare function GCD(...args: any[]): any;
1770
+ export function GCD(...args: any[]): any;
1914
1771
  /**
1915
1772
  * Returns the geometric mean.
1916
1773
  *
@@ -1919,7 +1776,7 @@ declare function GCD(...args: any[]): any;
1919
1776
  * @param {*} args number1, number2, ... Number1 is required, subsequent numbers are optional. 1 to 255 arguments for which you want to calculate the mean. You can also use a single array or a reference to an array instead of arguments separated by commas.
1920
1777
  * @returns
1921
1778
  */
1922
- declare function GEOMEAN(...args: any[]): any;
1779
+ export function GEOMEAN(...args: any[]): any;
1923
1780
  /**
1924
1781
  * Tests whether a number is greater than a threshold value.
1925
1782
  *
@@ -1929,8 +1786,7 @@ declare function GEOMEAN(...args: any[]): any;
1929
1786
  * @param {*} step Optional. The threshold value. If you omit a value for step, GESTEP uses zero.
1930
1787
  * @returns
1931
1788
  */
1932
- declare function GESTEP(number: any, step: any): any;
1933
- declare function GNOSIS(...args: any[]): Promise<any>;
1789
+ export function GESTEP(number: any, step: any): any;
1934
1790
  /**
1935
1791
  * Returns values along an exponential trend.
1936
1792
  *
@@ -1952,7 +1808,7 @@ declare function GNOSIS(...args: any[]): Promise<any>;
1952
1808
  - If const is FALSE, b is set equal to 1 and the m-values are adjusted so that y = m^x.
1953
1809
  * @returns
1954
1810
  */
1955
- declare function GROWTH(known_y: any, known_x: any, new_x: any, use_const: any): Error | number[];
1811
+ export function GROWTH(known_y: any, known_x: any, new_x: any, use_const: any): Error | number[];
1956
1812
  /**
1957
1813
  * Returns the harmonic mean.
1958
1814
  *
@@ -1961,7 +1817,7 @@ declare function GROWTH(known_y: any, known_x: any, new_x: any, use_const: any):
1961
1817
  * @param {*} args number1, number2, ... Number1 is required, subsequent numbers are optional. 1 to 255 arguments for which you want to calculate the mean. You can also use a single array or a reference to an array instead of arguments separated by commas.
1962
1818
  * @returns
1963
1819
  */
1964
- declare function HARMEAN(...args: any[]): number | Error;
1820
+ export function HARMEAN(...args: any[]): number | Error;
1965
1821
  /**
1966
1822
  * Converts a hexadecimal number to binary.
1967
1823
  *
@@ -1971,7 +1827,7 @@ declare function HARMEAN(...args: any[]): number | Error;
1971
1827
  * @param {*} places Optional. The number of characters to use. If places is omitted, HEX2BIN uses the minimum number of characters necessary. Places is useful for padding the return value with leading 0s (zeros).
1972
1828
  * @returns
1973
1829
  */
1974
- declare function HEX2BIN(number: any, places: any): string | Error;
1830
+ export function HEX2BIN(number: any, places: any): string | Error;
1975
1831
  /**
1976
1832
  * Converts a hexadecimal number to decimal.
1977
1833
  *
@@ -1980,7 +1836,7 @@ declare function HEX2BIN(number: any, places: any): string | Error;
1980
1836
  * @param {*} number The hexadecimal number you want to convert. Number cannot contain more than 10 characters (40 bits). The most significant bit of number is the sign bit. The remaining 39 bits are magnitude bits. Negative numbers are represented using two's-complement notation.
1981
1837
  * @returns
1982
1838
  */
1983
- declare function HEX2DEC(number: any): number | Error;
1839
+ export function HEX2DEC(number: any): number | Error;
1984
1840
  /**
1985
1841
  * Converts a hexadecimal number to octal.
1986
1842
  *
@@ -1990,7 +1846,7 @@ declare function HEX2DEC(number: any): number | Error;
1990
1846
  * @param {*} places Optional. The number of characters to use. If places is omitted, HEX2OCT uses the minimum number of characters necessary. Places is useful for padding the return value with leading 0s (zeros).
1991
1847
  * @returns
1992
1848
  */
1993
- declare function HEX2OCT(number: any, places: any): string | Error;
1849
+ export function HEX2OCT(number: any, places: any): string | Error;
1994
1850
  /**
1995
1851
  * Looks in the top row of an array and returns the value of the indicated value.
1996
1852
  *
@@ -2002,7 +1858,7 @@ declare function HEX2OCT(number: any, places: any): string | Error;
2002
1858
  * @param {*} range_lookup Optional. A logical value that specifies whether you want HLOOKUP to find an exact match or an approximate match. If TRUE or omitted, an approximate match is returned. In other words, if an exact match is not found, the next largest value that is less than lookup_value is returned. If FALSE, HLOOKUP will find an exact match. If one is not found, the error value #N/A is returned.
2003
1859
  * @returns
2004
1860
  */
2005
- declare function HLOOKUP(lookup_value: any, table_array: any, row_index_num: any, range_lookup: any): Error;
1861
+ export function HLOOKUP(lookup_value: any, table_array: any, row_index_num: any, range_lookup: any): Error;
2006
1862
  /**
2007
1863
  * Converts a serial number to an hour.
2008
1864
  *
@@ -2011,8 +1867,8 @@ declare function HLOOKUP(lookup_value: any, table_array: any, row_index_num: any
2011
1867
  * @param {*} serial_number The time that contains the hour you want to find. Times may be entered as text strings within quotation marks (for example, "6:45 PM"), as decimal numbers (for example, 0.78125, which represents 6:45 PM), or as results of other formulas or functions (for example, TIMEVALUE("6:45 PM")).
2012
1868
  * @returns
2013
1869
  */
2014
- declare function HOUR(serial_number: any): any;
2015
- declare namespace HYPGEOM {
1870
+ export function HOUR(serial_number: any): any;
1871
+ export namespace HYPGEOM {
2016
1872
  /**
2017
1873
  * Returns the hypergeometric distribution.
2018
1874
  *
@@ -2039,7 +1895,7 @@ declare namespace HYPGEOM {
2039
1895
  * @param {*} cumulative A logical value that determines the form of the function. If cumulative is TRUE, then HYPGEOM.DIST returns the cumulative distribution function; if FALSE, it returns the probability mass function.
2040
1896
  * @returns
2041
1897
  */
2042
- declare function HYPGEOMDIST(sample_s: any, number_sample: any, population_s: any, number_pop: any, cumulative: any): number | Error;
1898
+ export function HYPGEOMDIST(sample_s: any, number_sample: any, population_s: any, number_pop: any, cumulative: any): number | Error;
2043
1899
  /**
2044
1900
  * Specifies a logical test to perform.
2045
1901
  *
@@ -2051,7 +1907,7 @@ declare function HYPGEOMDIST(sample_s: any, number_sample: any, population_s: an
2051
1907
  *
2052
1908
  * @returns
2053
1909
  */
2054
- declare function IF(logical_test: any, value_if_true: any, value_if_false: any, ...args: any[]): any;
1910
+ export function IF(logical_test: any, value_if_true: any, value_if_false: any, ...args: any[]): any;
2055
1911
  /**
2056
1912
  * Returns a value you specify if a formula evaluates to an error; otherwise, returns the result of the formula.
2057
1913
  *
@@ -2061,7 +1917,7 @@ declare function IF(logical_test: any, value_if_true: any, value_if_false: any,
2061
1917
  * @param {*} value_if_error The value to return if the formula evaluates to an error. The following error types are evaluated: #N/A, #VALUE!, #REF!, #DIV/0!, #NUM!, #NAME?, or #NULL!.
2062
1918
  * @returns
2063
1919
  */
2064
- declare function IFERROR(value: any, value_if_error: any): any;
1920
+ export function IFERROR(value: any, value_if_error: any): any;
2065
1921
  /**
2066
1922
  * Returns the value you specify if the expression resolves to #N/A, otherwise returns the result of the expression.
2067
1923
  *
@@ -2069,7 +1925,7 @@ declare function IFERROR(value: any, value_if_error: any): any;
2069
1925
  *
2070
1926
  * @returns
2071
1927
  */
2072
- declare function IFNA(value: any, value_if_na: any): any;
1928
+ export function IFNA(value: any, value_if_na: any): any;
2073
1929
  /**
2074
1930
  * Checks whether one or more conditions are met and returns a value that corresponds to the first TRUE condition.
2075
1931
  *
@@ -2077,7 +1933,7 @@ declare function IFNA(value: any, value_if_na: any): any;
2077
1933
  *
2078
1934
  * @returns
2079
1935
  */
2080
- declare function IFS(...args: any[]): any;
1936
+ export function IFS(...args: any[]): any;
2081
1937
  /**
2082
1938
  * Returns the absolute value (modulus) of a complex number.
2083
1939
  *
@@ -2086,7 +1942,7 @@ declare function IFS(...args: any[]): any;
2086
1942
  * @param {*} inumber A complex number for which you want the absolute value.
2087
1943
  * @returns
2088
1944
  */
2089
- declare function IMABS(inumber: any): number | Error;
1945
+ export function IMABS(inumber: any): number | Error;
2090
1946
  /**
2091
1947
  * Returns the imaginary coefficient of a complex number.
2092
1948
  *
@@ -2095,7 +1951,7 @@ declare function IMABS(inumber: any): number | Error;
2095
1951
  * @param {*} inumber A complex number for which you want the imaginary coefficient.
2096
1952
  * @returns
2097
1953
  */
2098
- declare function IMAGINARY(inumber: any): any;
1954
+ export function IMAGINARY(inumber: any): any;
2099
1955
  /**
2100
1956
  * Returns the argument theta, an angle expressed in radians.
2101
1957
  *
@@ -2104,7 +1960,7 @@ declare function IMAGINARY(inumber: any): any;
2104
1960
  * @param {*} inumber A complex number for which you want the argument .
2105
1961
  * @returns
2106
1962
  */
2107
- declare function IMARGUMENT(inumber: any): number | Error;
1963
+ export function IMARGUMENT(inumber: any): number | Error;
2108
1964
  /**
2109
1965
  * Returns the complex conjugate of a complex number.
2110
1966
  *
@@ -2113,7 +1969,7 @@ declare function IMARGUMENT(inumber: any): number | Error;
2113
1969
  * @param {*} inumber A complex number for which you want the conjugate.
2114
1970
  * @returns
2115
1971
  */
2116
- declare function IMCONJUGATE(inumber: any): any;
1972
+ export function IMCONJUGATE(inumber: any): any;
2117
1973
  /**
2118
1974
  * Returns the cosine of a complex number.
2119
1975
  *
@@ -2122,7 +1978,7 @@ declare function IMCONJUGATE(inumber: any): any;
2122
1978
  * @param {*} inumber A complex number for which you want the cosine.
2123
1979
  * @returns
2124
1980
  */
2125
- declare function IMCOS(inumber: any): any;
1981
+ export function IMCOS(inumber: any): any;
2126
1982
  /**
2127
1983
  * Returns the hyperbolic cosine of a complex number.
2128
1984
  *
@@ -2131,7 +1987,7 @@ declare function IMCOS(inumber: any): any;
2131
1987
  * @param {*} inumber A complex number for which you want the hyperbolic cosine.
2132
1988
  * @returns
2133
1989
  */
2134
- declare function IMCOSH(inumber: any): any;
1990
+ export function IMCOSH(inumber: any): any;
2135
1991
  /**
2136
1992
  * Returns the cotangent of a complex number.
2137
1993
  *
@@ -2140,7 +1996,7 @@ declare function IMCOSH(inumber: any): any;
2140
1996
  * @param {*} inumber A complex number for which you want the cotangent.
2141
1997
  * @returns
2142
1998
  */
2143
- declare function IMCOT(inumber: any): any;
1999
+ export function IMCOT(inumber: any): any;
2144
2000
  /**
2145
2001
  * Returns the cosecant of a complex number.
2146
2002
  *
@@ -2149,7 +2005,7 @@ declare function IMCOT(inumber: any): any;
2149
2005
  * @param {*} inumber A complex number for which you want the cosecant.
2150
2006
  * @returns
2151
2007
  */
2152
- declare function IMCSC(inumber: any): any;
2008
+ export function IMCSC(inumber: any): any;
2153
2009
  /**
2154
2010
  * Returns the hyperbolic cosecant of a complex number.
2155
2011
  *
@@ -2158,7 +2014,7 @@ declare function IMCSC(inumber: any): any;
2158
2014
  * @param {*} inumber A complex number for which you want the hyperbolic cosecant.
2159
2015
  * @returns
2160
2016
  */
2161
- declare function IMCSCH(inumber: any): any;
2017
+ export function IMCSCH(inumber: any): any;
2162
2018
  /**
2163
2019
  * Returns the quotient of two complex numbers.
2164
2020
  *
@@ -2168,7 +2024,7 @@ declare function IMCSCH(inumber: any): any;
2168
2024
  * @param {*} inumber2 The complex denominator or divisor.
2169
2025
  * @returns
2170
2026
  */
2171
- declare function IMDIV(inumber1: any, inumber2: any): any;
2027
+ export function IMDIV(inumber1: any, inumber2: any): any;
2172
2028
  /**
2173
2029
  * Returns the exponential of a complex number.
2174
2030
  *
@@ -2177,7 +2033,7 @@ declare function IMDIV(inumber1: any, inumber2: any): any;
2177
2033
  * @param {*} inumber A complex number for which you want the exponential.
2178
2034
  * @returns
2179
2035
  */
2180
- declare function IMEXP(inumber: any): any;
2036
+ export function IMEXP(inumber: any): any;
2181
2037
  /**
2182
2038
  * Returns the natural logarithm of a complex number.
2183
2039
  *
@@ -2186,7 +2042,7 @@ declare function IMEXP(inumber: any): any;
2186
2042
  * @param {*} inumber A complex number for which you want the natural logarithm.
2187
2043
  * @returns
2188
2044
  */
2189
- declare function IMLN(inumber: any): any;
2045
+ export function IMLN(inumber: any): any;
2190
2046
  /**
2191
2047
  * Returns the base-10 logarithm of a complex number.
2192
2048
  *
@@ -2195,7 +2051,7 @@ declare function IMLN(inumber: any): any;
2195
2051
  * @param {*} inumber A complex number for which you want the common logarithm.
2196
2052
  * @returns
2197
2053
  */
2198
- declare function IMLOG10(inumber: any): any;
2054
+ export function IMLOG10(inumber: any): any;
2199
2055
  /**
2200
2056
  * Returns the base-2 logarithm of a complex number.
2201
2057
  *
@@ -2204,7 +2060,7 @@ declare function IMLOG10(inumber: any): any;
2204
2060
  * @param {*} inumber A complex number for which you want the base-2 logarithm.
2205
2061
  * @returns
2206
2062
  */
2207
- declare function IMLOG2(inumber: any): any;
2063
+ export function IMLOG2(inumber: any): any;
2208
2064
  /**
2209
2065
  * Returns a complex number raised to an integer power.
2210
2066
  *
@@ -2214,7 +2070,7 @@ declare function IMLOG2(inumber: any): any;
2214
2070
  * @param {*} number The power to which you want to raise the complex number.
2215
2071
  * @returns
2216
2072
  */
2217
- declare function IMPOWER(inumber: any, number: any): any;
2073
+ export function IMPOWER(inumber: any, number: any): any;
2218
2074
  /**
2219
2075
  * Returns the product of complex numbers.
2220
2076
  *
@@ -2223,7 +2079,7 @@ declare function IMPOWER(inumber: any, number: any): any;
2223
2079
  * @param {*} args inumber1, [inumber2], … Inumber1 is required, subsequent inumbers are not. 1 to 255 complex numbers to multiply.
2224
2080
  * @returns
2225
2081
  */
2226
- declare function IMPRODUCT(...args: any[]): any;
2082
+ export function IMPRODUCT(...args: any[]): any;
2227
2083
  /**
2228
2084
  * Returns the real coefficient of a complex number.
2229
2085
  *
@@ -2232,7 +2088,7 @@ declare function IMPRODUCT(...args: any[]): any;
2232
2088
  * @param {*} inumber A complex number for which you want the real coefficient.
2233
2089
  * @returns
2234
2090
  */
2235
- declare function IMREAL(inumber: any): any;
2091
+ export function IMREAL(inumber: any): any;
2236
2092
  /**
2237
2093
  * Returns the secant of a complex number.
2238
2094
  *
@@ -2241,7 +2097,7 @@ declare function IMREAL(inumber: any): any;
2241
2097
  * @param {*} inumber A complex number for which you want the secant.
2242
2098
  * @returns
2243
2099
  */
2244
- declare function IMSEC(inumber: any): any;
2100
+ export function IMSEC(inumber: any): any;
2245
2101
  /**
2246
2102
  * Returns the hyperbolic secant of a complex number.
2247
2103
  *
@@ -2250,7 +2106,7 @@ declare function IMSEC(inumber: any): any;
2250
2106
  * @param {*} inumber A complex number for which you want the hyperbolic secant.
2251
2107
  * @returns
2252
2108
  */
2253
- declare function IMSECH(inumber: any): any;
2109
+ export function IMSECH(inumber: any): any;
2254
2110
  /**
2255
2111
  * Returns the sine of a complex number.
2256
2112
  *
@@ -2259,7 +2115,7 @@ declare function IMSECH(inumber: any): any;
2259
2115
  * @param {*} inumber A complex number for which you want the sine.
2260
2116
  * @returns
2261
2117
  */
2262
- declare function IMSIN(inumber: any): any;
2118
+ export function IMSIN(inumber: any): any;
2263
2119
  /**
2264
2120
  * Returns the hyperbolic sine of a complex number.
2265
2121
  *
@@ -2268,7 +2124,7 @@ declare function IMSIN(inumber: any): any;
2268
2124
  * @param {*} inumber A complex number for which you want the hyperbolic sine.
2269
2125
  * @returns
2270
2126
  */
2271
- declare function IMSINH(inumber: any): any;
2127
+ export function IMSINH(inumber: any): any;
2272
2128
  /**
2273
2129
  * Returns the square root of a complex number.
2274
2130
  *
@@ -2277,7 +2133,7 @@ declare function IMSINH(inumber: any): any;
2277
2133
  * @param {*} inumber A complex number for which you want the square root.
2278
2134
  * @returns
2279
2135
  */
2280
- declare function IMSQRT(inumber: any): any;
2136
+ export function IMSQRT(inumber: any): any;
2281
2137
  /**
2282
2138
  * Returns the difference between two complex numbers.
2283
2139
  *
@@ -2287,7 +2143,7 @@ declare function IMSQRT(inumber: any): any;
2287
2143
  * @param {*} inumber2 The complex number to subtract from inumber1.
2288
2144
  * @returns
2289
2145
  */
2290
- declare function IMSUB(inumber1: any, inumber2: any): any;
2146
+ export function IMSUB(inumber1: any, inumber2: any): any;
2291
2147
  /**
2292
2148
  * Returns the sum of complex numbers.
2293
2149
  *
@@ -2296,7 +2152,7 @@ declare function IMSUB(inumber1: any, inumber2: any): any;
2296
2152
  * @param {*} args inumber1, [inumber2], ... Inumber1 is required, subsequent numbers are not. 1 to 255 complex numbers to add.
2297
2153
  * @returns
2298
2154
  */
2299
- declare function IMSUM(...args: any[]): any;
2155
+ export function IMSUM(...args: any[]): any;
2300
2156
  /**
2301
2157
  * Returns the tangent of a complex number.
2302
2158
  *
@@ -2305,7 +2161,7 @@ declare function IMSUM(...args: any[]): any;
2305
2161
  * @param {*} inumber A complex number for which you want the tangent.
2306
2162
  * @returns
2307
2163
  */
2308
- declare function IMTAN(inumber: any): any;
2164
+ export function IMTAN(inumber: any): any;
2309
2165
  /**
2310
2166
  * Uses an index to choose a value from a reference or array.
2311
2167
  *
@@ -2318,7 +2174,7 @@ declare function IMTAN(inumber: any): any;
2318
2174
  * @param {*} column_num Optional. Selects the column in array from which to return a value. If column_num is omitted, row_num is required.
2319
2175
  * @returns
2320
2176
  */
2321
- declare function INDEX(array: any, row_num: any, column_num: any): any;
2177
+ export function INDEX(array: any, row_num: any, column_num: any): any;
2322
2178
  /**
2323
2179
  * Rounds a number down to the nearest integer.
2324
2180
  *
@@ -2327,7 +2183,7 @@ declare function INDEX(array: any, row_num: any, column_num: any): any;
2327
2183
  * @param {*} number The real number you want to round down to an integer.
2328
2184
  * @returns
2329
2185
  */
2330
- declare function INT(number: any): number | Error;
2186
+ export function INT(number: any): number | Error;
2331
2187
  /**
2332
2188
  * Returns the intercept of the linear regression line.
2333
2189
  *
@@ -2337,7 +2193,7 @@ declare function INT(number: any): number | Error;
2337
2193
  * @param {*} known_x The independent set of observations or data.
2338
2194
  * @returns
2339
2195
  */
2340
- declare function INTERCEPT(known_y: any, known_x: any): number | Error;
2196
+ export function INTERCEPT(known_y: any, known_x: any): number | Error;
2341
2197
  /**
2342
2198
  * Returns the interest payment for an investment for a given period.
2343
2199
  *
@@ -2351,7 +2207,7 @@ declare function INTERCEPT(known_y: any, known_x: any): number | Error;
2351
2207
  * @param {*} type Optional. The number 0 or 1 and indicates when payments are due. If type is omitted, it is assumed to be 0.
2352
2208
  * @returns
2353
2209
  */
2354
- declare function IPMT(rate: any, per: any, nper: any, pv: any, fv: any, type: any): number | Error;
2210
+ export function IPMT(rate: any, per: any, nper: any, pv: any, fv: any, type: any): number | Error;
2355
2211
  /**
2356
2212
  * Returns the internal rate of return for a series of cash flows.
2357
2213
  *
@@ -2367,7 +2223,7 @@ declare function IPMT(rate: any, per: any, nper: any, pv: any, fv: any, type: an
2367
2223
  - If IRR gives the #NUM! error value, or if the result is not close to what you expected, try again with a different value for guess.
2368
2224
  * @returns
2369
2225
  */
2370
- declare function IRR(values: any, guess: any): any;
2226
+ export function IRR(values: any, guess: any): any;
2371
2227
  /**
2372
2228
  * Returns TRUE if the value is blank.
2373
2229
  *
@@ -2376,8 +2232,8 @@ declare function IRR(values: any, guess: any): any;
2376
2232
  * @param {*} value The value that you want tested. The value argument can be a blank (empty value), error, logical value, text, number, or reference value, or a name referring to any of these.
2377
2233
  * @returns
2378
2234
  */
2379
- declare function ISBLANK(value: any): boolean;
2380
- declare function ISDATE(value: any): boolean;
2235
+ export function ISBLANK(value: any): boolean;
2236
+ export function ISDATE(value: any): boolean;
2381
2237
  /**
2382
2238
  * Returns TRUE if the value is any error value except #N/A.
2383
2239
  *
@@ -2386,7 +2242,7 @@ declare function ISDATE(value: any): boolean;
2386
2242
  * @param {*} value The value that you want tested. The value argument can be a blank (empty value), error, logical value, text, number, or reference value, or a name referring to any of these.
2387
2243
  * @returns
2388
2244
  */
2389
- declare function ISERR(value$1: any): boolean;
2245
+ export function ISERR(value$1: any): boolean;
2390
2246
  /**
2391
2247
  * Returns TRUE if the value is any error value.
2392
2248
  *
@@ -2395,7 +2251,7 @@ declare function ISERR(value$1: any): boolean;
2395
2251
  * @param {*} value The value that you want tested. The value argument can be a blank (empty value), error, logical value, text, number, or reference value, or a name referring to any of these.
2396
2252
  * @returns
2397
2253
  */
2398
- declare function ISERROR(value: any): boolean;
2254
+ export function ISERROR(value: any): boolean;
2399
2255
  /**
2400
2256
  * Returns TRUE if the number is even.
2401
2257
  *
@@ -2404,7 +2260,7 @@ declare function ISERROR(value: any): boolean;
2404
2260
  * @param {*} number The value to test. If number is not an integer, it is truncated.
2405
2261
  * @returns
2406
2262
  */
2407
- declare function ISEVEN(number: any): boolean;
2263
+ export function ISEVEN(number: any): boolean;
2408
2264
  /**
2409
2265
  * Returns TRUE if the value is a logical value.
2410
2266
  *
@@ -2413,7 +2269,7 @@ declare function ISEVEN(number: any): boolean;
2413
2269
  * @param {*} value The value that you want tested. The value argument can be a blank (empty value), error, logical value, text, number, or reference value, or a name referring to any of these.
2414
2270
  * @returns
2415
2271
  */
2416
- declare function ISLOGICAL(value: any): boolean;
2272
+ export function ISLOGICAL(value: any): boolean;
2417
2273
  /**
2418
2274
  * Returns TRUE if the value is the #N/A error value.
2419
2275
  *
@@ -2422,7 +2278,7 @@ declare function ISLOGICAL(value: any): boolean;
2422
2278
  * @param {*} value The value that you want tested. The value argument can be a blank (empty value), error, logical value, text, number, or reference value, or a name referring to any of these.
2423
2279
  * @returns
2424
2280
  */
2425
- declare function ISNA(value: any): boolean;
2281
+ export function ISNA(value: any): boolean;
2426
2282
  /**
2427
2283
  * Returns TRUE if the value is not text.
2428
2284
  *
@@ -2431,7 +2287,7 @@ declare function ISNA(value: any): boolean;
2431
2287
  * @param {*} value The value that you want tested. The value argument can be a blank (empty value), error, logical value, text, number, or reference value, or a name referring to any of these.
2432
2288
  * @returns
2433
2289
  */
2434
- declare function ISNONTEXT(value: any): boolean;
2290
+ export function ISNONTEXT(value: any): boolean;
2435
2291
  /**
2436
2292
  * Returns TRUE if the value is a number.
2437
2293
  *
@@ -2440,8 +2296,8 @@ declare function ISNONTEXT(value: any): boolean;
2440
2296
  * @param {*} value The value that you want tested. The value argument can be a blank (empty value), error, logical value, text, number, or reference value, or a name referring to any of these.
2441
2297
  * @returns
2442
2298
  */
2443
- declare function ISNUMBER(value: any): boolean;
2444
- declare namespace ISO {
2299
+ export function ISNUMBER(value: any): boolean;
2300
+ export namespace ISO {
2445
2301
  export { CEILING };
2446
2302
  }
2447
2303
  /**
@@ -2452,7 +2308,7 @@ declare namespace ISO {
2452
2308
  * @param {*} value The value that you want tested. The value argument can be a blank (empty value), error, logical value, text, number, or reference value, or a name referring to any of these.
2453
2309
  * @returns
2454
2310
  */
2455
- declare function ISODD(value: any): boolean;
2311
+ export function ISODD(value: any): boolean;
2456
2312
  /**
2457
2313
  * Returns the number of the ISO week number of the year for a given date.
2458
2314
  *
@@ -2461,7 +2317,7 @@ declare function ISODD(value: any): boolean;
2461
2317
  * @param {*} date Date is the date-time code used by Excel for date and time calculation.
2462
2318
  * @returns
2463
2319
  */
2464
- declare function ISOWEEKNUM(date: any): number | Error;
2320
+ export function ISOWEEKNUM(date: any): number | Error;
2465
2321
  /**
2466
2322
  * Calculates the interest paid during a specific period of an investment.
2467
2323
  *
@@ -2474,7 +2330,7 @@ declare function ISOWEEKNUM(date: any): number | Error;
2474
2330
  *
2475
2331
  * @returns
2476
2332
  */
2477
- declare function ISPMT(rate: any, per: any, nper: any, pv: any): number | Error;
2333
+ export function ISPMT(rate: any, per: any, nper: any, pv: any): number | Error;
2478
2334
  /**
2479
2335
  * Returns TRUE if the value is text.
2480
2336
  *
@@ -2483,7 +2339,7 @@ declare function ISPMT(rate: any, per: any, nper: any, pv: any): number | Error;
2483
2339
  * @param {*} value The value that you want tested. The value argument can be a blank (empty value), error, logical value, text, number, or reference value, or a name referring to any of these.
2484
2340
  * @returns
2485
2341
  */
2486
- declare function ISTEXT(value: any): value is string;
2342
+ export function ISTEXT(value: any): value is string;
2487
2343
  /**
2488
2344
  * Returns the kurtosis of a data set.
2489
2345
  *
@@ -2492,7 +2348,7 @@ declare function ISTEXT(value: any): value is string;
2492
2348
  * @param {*} args number1, number2, ... Number1 is required, subsequent numbers are optional. 1 to 255 arguments for which you want to calculate kurtosis. You can also use a single array or a reference to an array instead of arguments separated by commas.
2493
2349
  * @returns
2494
2350
  */
2495
- declare function KURT(...args: any[]): number | Error;
2351
+ export function KURT(...args: any[]): number | Error;
2496
2352
  /**
2497
2353
  * Returns the k-th largest value in a data set.
2498
2354
  *
@@ -2502,7 +2358,7 @@ declare function KURT(...args: any[]): number | Error;
2502
2358
  * @param {*} k The position (from the largest) in the array or value range of data to return.
2503
2359
  * @returns
2504
2360
  */
2505
- declare function LARGE(array: any, k: any): any;
2361
+ export function LARGE(array: any, k: any): any;
2506
2362
  /**
2507
2363
  * Returns the least common multiple.
2508
2364
  *
@@ -2511,7 +2367,7 @@ declare function LARGE(array: any, k: any): any;
2511
2367
  * @param {*} args number1, number2,... Number1 is required, subsequent numbers are optional. 1 to 255 values for which you want the least common multiple. If value is not an integer, it is truncated.
2512
2368
  * @returns
2513
2369
  */
2514
- declare function LCM(...args: any[]): number | Error;
2370
+ export function LCM(...args: any[]): number | Error;
2515
2371
  /**
2516
2372
  * Returns the leftmost characters from a text value.
2517
2373
  *
@@ -2521,7 +2377,7 @@ declare function LCM(...args: any[]): number | Error;
2521
2377
  * @param {*} num_chars Optional. Specifies the number of characters you want LEFT to extract.
2522
2378
  * @returns
2523
2379
  */
2524
- declare function LEFT(text: any, num_chars: any): any;
2380
+ export function LEFT(text: any, num_chars: any): any;
2525
2381
  /**
2526
2382
  * Returns the number of characters in a text string
2527
2383
  *
@@ -2530,7 +2386,7 @@ declare function LEFT(text: any, num_chars: any): any;
2530
2386
  * @param {*} text The text whose length you want to find. Spaces count as characters.
2531
2387
  * @returns
2532
2388
  */
2533
- declare function LEN(text: any, ...args: any[]): any;
2389
+ export function LEN(text: any, ...args: any[]): any;
2534
2390
  /**
2535
2391
  * Returns the parameters of a linear trend.
2536
2392
  *
@@ -2544,7 +2400,7 @@ declare function LEN(text: any, ...args: any[]): any;
2544
2400
  - If known_x's is omitted, it is assumed to be the array {1,2,3,...} that is the same size as known_y's.
2545
2401
  * @returns
2546
2402
  */
2547
- declare function LINEST(known_y: any, known_x: any): Error | number[];
2403
+ export function LINEST(known_y: any, known_x: any): Error | number[];
2548
2404
  /**
2549
2405
  * Returns the natural logarithm of a number.
2550
2406
  *
@@ -2553,7 +2409,7 @@ declare function LINEST(known_y: any, known_x: any): Error | number[];
2553
2409
  * @param {*} number The positive real number for which you want the natural logarithm.
2554
2410
  * @returns
2555
2411
  */
2556
- declare function LN(number: any): number | Error;
2412
+ export function LN(number: any): number | Error;
2557
2413
  /**
2558
2414
  * Returns the logarithm of a number to a specified base.
2559
2415
  *
@@ -2563,7 +2419,7 @@ declare function LN(number: any): number | Error;
2563
2419
  * @param {*} base Optional. The base of the logarithm. If base is omitted, it is assumed to be 10.
2564
2420
  * @returns
2565
2421
  */
2566
- declare function LOG(number: any, base: any): any;
2422
+ export function LOG(number: any, base: any): any;
2567
2423
  /**
2568
2424
  * Returns the base-10 logarithm of a number.
2569
2425
  *
@@ -2572,7 +2428,7 @@ declare function LOG(number: any, base: any): any;
2572
2428
  * @param {*} number The positive real number for which you want the base-10 logarithm.
2573
2429
  * @returns
2574
2430
  */
2575
- declare function LOG10(number: any): number | Error;
2431
+ export function LOG10(number: any): number | Error;
2576
2432
  /**
2577
2433
  * Returns the parameters of an exponential trend.
2578
2434
  *
@@ -2586,7 +2442,7 @@ declare function LOG10(number: any): number | Error;
2586
2442
  - If known_x's is omitted, it is assumed to be the array {1,2,3,...} that is the same size as known_y's.
2587
2443
  * @returns
2588
2444
  */
2589
- declare function LOGEST(known_y: any, known_x: any): Error | number[];
2445
+ export function LOGEST(known_y: any, known_x: any): Error | number[];
2590
2446
  /**
2591
2447
  * Returns the inverse of the lognormal cumulative distribution.
2592
2448
  *
@@ -2597,8 +2453,8 @@ declare function LOGEST(known_y: any, known_x: any): Error | number[];
2597
2453
  * @param {*} standard_dev The standard deviation of ln(x).
2598
2454
  * @returns
2599
2455
  */
2600
- declare function LOGINV(probability: any, mean: any, standard_dev: any): any;
2601
- declare namespace LOGNORM {
2456
+ export function LOGINV(probability: any, mean: any, standard_dev: any): any;
2457
+ export namespace LOGNORM {
2602
2458
  /**
2603
2459
  * Returns the cumulative lognormal distribution.
2604
2460
  *
@@ -2634,7 +2490,7 @@ declare namespace LOGNORM {
2634
2490
  * @param {*} cumulative A logical value that determines the form of the function. If cumulative is TRUE, LOGNORM.DIST returns the cumulative distribution function; if FALSE, it returns the probability density function.
2635
2491
  * @returns
2636
2492
  */
2637
- declare function LOGNORMDIST(x: any, mean: any, standard_dev: any, cumulative: any): any;
2493
+ export function LOGNORMDIST(x: any, mean: any, standard_dev: any, cumulative: any): any;
2638
2494
  /**
2639
2495
  * Returns the inverse of the lognormal cumulative distribution.
2640
2496
  *
@@ -2645,7 +2501,7 @@ declare function LOGNORMDIST(x: any, mean: any, standard_dev: any, cumulative: a
2645
2501
  * @param {*} standard_dev The standard deviation of ln(x).
2646
2502
  * @returns
2647
2503
  */
2648
- declare function LOGNORMINV(probability: any, mean: any, standard_dev: any): any;
2504
+ export function LOGNORMINV(probability: any, mean: any, standard_dev: any): any;
2649
2505
  /**
2650
2506
  * Looks up values in a vector or array.
2651
2507
  *
@@ -2658,7 +2514,7 @@ declare function LOGNORMINV(probability: any, mean: any, standard_dev: any): any
2658
2514
  * @param {*} result_array Optional. A range that contains only one row or column. The result_array argument must be the same size as lookup_value. It has to be the same size.
2659
2515
  * @returns
2660
2516
  */
2661
- declare function LOOKUP(lookup_value: any, array: any, result_array: any): any;
2517
+ export function LOOKUP(lookup_value: any, array: any, result_array: any): any;
2662
2518
  /**
2663
2519
  * Converts text to lowercase.
2664
2520
  *
@@ -2667,7 +2523,7 @@ declare function LOOKUP(lookup_value: any, array: any, result_array: any): any;
2667
2523
  * @param {*} text The text you want to convert to lowercase. LOWER does not change characters in text that are not letters.
2668
2524
  * @returns
2669
2525
  */
2670
- declare function LOWER(text: any, ...args: any[]): any;
2526
+ export function LOWER(text: any, ...args: any[]): any;
2671
2527
  /**
2672
2528
  * Looks up values in a reference or array.
2673
2529
  *
@@ -2678,7 +2534,7 @@ declare function LOWER(text: any, ...args: any[]): any;
2678
2534
  * @param {*} match_type Optional. The number -1, 0, or 1. The match_type argument specifies how Excel matches lookup_value with values in lookup_array. The default value for this argument is 1.
2679
2535
  * @returns
2680
2536
  */
2681
- declare function MATCH(lookup_value: any, lookup_array: any, match_type: any, ...args: any[]): number | Error;
2537
+ export function MATCH(lookup_value: any, lookup_array: any, match_type: any, ...args: any[]): number | Error;
2682
2538
  /**
2683
2539
  * Returns the maximum value in a list of arguments.
2684
2540
  *
@@ -2687,7 +2543,7 @@ declare function MATCH(lookup_value: any, lookup_array: any, match_type: any, ..
2687
2543
  * @param {*} args number1, number2, ... Number1 is required, subsequent numbers are optional. 1 to 255 numbers for which you want to find the maximum value.
2688
2544
  * @returns
2689
2545
  */
2690
- declare function MAX(...args: any[]): any;
2546
+ export function MAX(...args: any[]): any;
2691
2547
  /**
2692
2548
  * Returns the maximum value in a list of arguments, including numbers, text, and logical values.
2693
2549
  *
@@ -2696,7 +2552,7 @@ declare function MAX(...args: any[]): any;
2696
2552
  * @param {*} args value1, value2,... Number arguments 2 to 255 for which you want to find the largest value.
2697
2553
  * @returns
2698
2554
  */
2699
- declare function MAXA(...args: any[]): any;
2555
+ export function MAXA(...args: any[]): any;
2700
2556
  /**
2701
2557
  * Returns the maximum of all values in a range that meet multiple criteria.
2702
2558
  *
@@ -2704,7 +2560,7 @@ declare function MAXA(...args: any[]): any;
2704
2560
  *
2705
2561
  * @returns
2706
2562
  */
2707
- declare function MAXIFS(...args: any[]): any;
2563
+ export function MAXIFS(...args: any[]): any;
2708
2564
  /**
2709
2565
  * Returns the median of the given numbers.
2710
2566
  *
@@ -2713,7 +2569,7 @@ declare function MAXIFS(...args: any[]): any;
2713
2569
  * @param {*} args number1, number2, ... Number1 is required, subsequent numbers are optional. 1 to 255 numbers for which you want the median.
2714
2570
  * @returns
2715
2571
  */
2716
- declare function MEDIAN(...args: any[]): any;
2572
+ export function MEDIAN(...args: any[]): any;
2717
2573
  /**
2718
2574
  * Returns a specific number of characters from a text string starting at the position you specify
2719
2575
  *
@@ -2724,7 +2580,7 @@ declare function MEDIAN(...args: any[]): any;
2724
2580
  * @param {*} num_chars Specifies the number of characters you want MID to return from text.
2725
2581
  * @returns
2726
2582
  */
2727
- declare function MID(text: any, start_num: any, num_chars: any): any;
2583
+ export function MID(text: any, start_num: any, num_chars: any): any;
2728
2584
  /**
2729
2585
  * Returns the minimum value in a list of arguments.
2730
2586
  *
@@ -2733,7 +2589,7 @@ declare function MID(text: any, start_num: any, num_chars: any): any;
2733
2589
  * @param {*} args number1, number2, ... Number1 is optional, subsequent numbers are optional. 1 to 255 numbers for which you want to find the minimum value.
2734
2590
  * @returns
2735
2591
  */
2736
- declare function MIN(...args: any[]): any;
2592
+ export function MIN(...args: any[]): any;
2737
2593
  /**
2738
2594
  * Returns the smallest value in a list of arguments, including numbers, text, and logical values.
2739
2595
  *
@@ -2742,7 +2598,7 @@ declare function MIN(...args: any[]): any;
2742
2598
  * @param {*} args value1, value2, ... Value1 is required, subsequent values are optional. 1 to 255 values for which you want to find the smallest value.
2743
2599
  * @returns
2744
2600
  */
2745
- declare function MINA(...args: any[]): any;
2601
+ export function MINA(...args: any[]): any;
2746
2602
  /**
2747
2603
  * Returns the minimum of all values in a range that meet multiple criteria.
2748
2604
  *
@@ -2750,7 +2606,7 @@ declare function MINA(...args: any[]): any;
2750
2606
  *
2751
2607
  * @returns
2752
2608
  */
2753
- declare function MINIFS(...args: any[]): any;
2609
+ export function MINIFS(...args: any[]): any;
2754
2610
  declare function MINUS$1(...args: any[]): any;
2755
2611
  /**
2756
2612
  * Converts a serial number to a minute.
@@ -2760,7 +2616,7 @@ declare function MINUS$1(...args: any[]): any;
2760
2616
  * @param {*} serial_number The time that contains the minute you want to find. Times may be entered as text strings within quotation marks (for example, "6:45 PM"), as decimal numbers (for example, 0.78125, which represents 6:45 PM), or as results of other formulas or functions (for example, TIMEVALUE("6:45 PM")).
2761
2617
  * @returns
2762
2618
  */
2763
- declare function MINUTE(serial_number: any): any;
2619
+ export function MINUTE(serial_number: any): any;
2764
2620
  /**
2765
2621
  * Returns the internal rate of return where positive and negative cash flows are financed at different rates.
2766
2622
  *
@@ -2773,7 +2629,7 @@ declare function MINUTE(serial_number: any): any;
2773
2629
  * @param {*} reinvest_rate The interest rate you receive on the cash flows as you reinvest them.
2774
2630
  * @returns
2775
2631
  */
2776
- declare function MIRR(values: any, finance_rate: any, reinvest_rate: any): number | Error;
2632
+ export function MIRR(values: any, finance_rate: any, reinvest_rate: any): number | Error;
2777
2633
  /**
2778
2634
  * Returns the matrix product of two arrays. The result is an array with the same number of rows as array1 and the same number of columns as array2.
2779
2635
  *
@@ -2783,7 +2639,7 @@ declare function MIRR(values: any, finance_rate: any, reinvest_rate: any): numbe
2783
2639
  * @param {*} array2 Required. 2nd array you want to multiply.
2784
2640
  * @returns
2785
2641
  */
2786
- declare function MMULT(array1: any, array2: any): Error | any[][];
2642
+ export function MMULT(array1: any, array2: any): Error | any[][];
2787
2643
  /**
2788
2644
  * Returns the remainder from division.
2789
2645
  *
@@ -2793,8 +2649,8 @@ declare function MMULT(array1: any, array2: any): Error | any[][];
2793
2649
  * @param {*} divisor The number by which you want to divide number.
2794
2650
  * @returns
2795
2651
  */
2796
- declare function MOD(number: any, divisor: any): any;
2797
- declare namespace MODE {
2652
+ export function MOD(number: any, divisor: any): any;
2653
+ export namespace MODE {
2798
2654
  /**
2799
2655
  * Returns a vertical array of the most frequently occurring, or repetitive values in an array or range of data.
2800
2656
  *
@@ -2822,7 +2678,7 @@ declare namespace MODE {
2822
2678
  * @param {*} args number1, number2, ... Number arguments 2 to 254 for which you want to calculate the mode. You can also use a single array or a reference to an array instead of arguments separated by commas.
2823
2679
  * @returns
2824
2680
  */
2825
- declare function MODEMULT(...args: any[]): any[] | Error;
2681
+ export function MODEMULT(...args: any[]): any[] | Error;
2826
2682
  /**
2827
2683
  * Returns the most common value in a data set.
2828
2684
  *
@@ -2831,7 +2687,7 @@ declare function MODEMULT(...args: any[]): any[] | Error;
2831
2687
  * @param {*} args number1, number2, ... Arguments 2 to 254 for which you want to calculate the mode. You can also use a single array or a reference to an array instead of arguments separated by commas.
2832
2688
  * @returns
2833
2689
  */
2834
- declare function MODESNGL(...args: any[]): any;
2690
+ export function MODESNGL(...args: any[]): any;
2835
2691
  /**
2836
2692
  * Converts a serial number to a month.
2837
2693
  *
@@ -2840,7 +2696,7 @@ declare function MODESNGL(...args: any[]): any;
2840
2696
  * @param {*} serial_number The date of the month you are trying to find.
2841
2697
  * @returns
2842
2698
  */
2843
- declare function MONTH(serial_number: any): any;
2699
+ export function MONTH(serial_number: any): any;
2844
2700
  /**
2845
2701
  * Returns a number rounded to the desired multiple.
2846
2702
  *
@@ -2850,7 +2706,7 @@ declare function MONTH(serial_number: any): any;
2850
2706
  * @param {*} multiple The multiple to which you want to round number.
2851
2707
  * @returns
2852
2708
  */
2853
- declare function MROUND(number: any, multiple: any): any;
2709
+ export function MROUND(number: any, multiple: any): any;
2854
2710
  /**
2855
2711
  * Returns the multinomial of a set of numbers.
2856
2712
  *
@@ -2859,7 +2715,7 @@ declare function MROUND(number: any, multiple: any): any;
2859
2715
  * @param {*} args number1, number2, ... Number1 is required, subsequent numbers are optional. 1 to 255 values for which you want the multinomial.
2860
2716
  * @returns
2861
2717
  */
2862
- declare function MULTINOMIAL(...args: any[]): number | Error;
2718
+ export function MULTINOMIAL(...args: any[]): number | Error;
2863
2719
  /**
2864
2720
  * Multiplies two numbers.
2865
2721
  *
@@ -2878,7 +2734,7 @@ declare function MULTIPLY$1(factor1: any, factor2: any, ...args: any[]): any;
2878
2734
  * @param {*} dimension Required. Dimension is an integer specifying the dimension of the unit matrix that you want to return. It returns an array. The dimension has to be greater than zero.
2879
2735
  * @returns
2880
2736
  */
2881
- declare function MUNIT(dimension: any, ...args: any[]): Error | any[][];
2737
+ export function MUNIT(dimension: any, ...args: any[]): Error | any[][];
2882
2738
  /**
2883
2739
  * Returns a value converted to a number.
2884
2740
  *
@@ -2887,7 +2743,7 @@ declare function MUNIT(dimension: any, ...args: any[]): Error | any[][];
2887
2743
  * @param {*} value The value you want converted. N converts values listed in the following table.
2888
2744
  * @returns
2889
2745
  */
2890
- declare function N(value: any): any;
2746
+ export function N(value: any): any;
2891
2747
  /**
2892
2748
  * Returns the error value #N/A.
2893
2749
  *
@@ -2895,8 +2751,8 @@ declare function N(value: any): any;
2895
2751
  *
2896
2752
  * @returns
2897
2753
  */
2898
- declare function NA(): Error;
2899
- declare namespace NEGBINOM {
2754
+ export function NA(): Error;
2755
+ export namespace NEGBINOM {
2900
2756
  /**
2901
2757
  * Returns the negative binomial distribution.
2902
2758
  *
@@ -2921,7 +2777,7 @@ declare namespace NEGBINOM {
2921
2777
  * @param {*} cumulative A logical value that determines the form of the function. If cumulative is TRUE, NEGBINOM.DIST returns the cumulative distribution function; if FALSE, it returns the probability density function.
2922
2778
  * @returns
2923
2779
  */
2924
- declare function NEGBINOMDIST(number_f: any, number_s: any, probability_s: any, cumulative: any): any;
2780
+ export function NEGBINOMDIST(number_f: any, number_s: any, probability_s: any, cumulative: any): any;
2925
2781
  /**
2926
2782
  * Returns the number of whole workdays between two dates.
2927
2783
  *
@@ -2932,8 +2788,8 @@ declare function NEGBINOMDIST(number_f: any, number_s: any, probability_s: any,
2932
2788
  * @param {*} holidays Optional. An optional range of one or more dates to exclude from the working calendar, such as state and federal holidays and floating holidays. The list can be either a range of values that contains the dates or an array constant of the serial numbers that represent the dates.
2933
2789
  * @returns
2934
2790
  */
2935
- declare function NETWORKDAYS(start_date: any, end_date: any, holidays: any): number | Error;
2936
- declare namespace NETWORKDAYS {
2791
+ export function NETWORKDAYS(start_date: any, end_date: any, holidays: any): number | Error;
2792
+ export namespace NETWORKDAYS {
2937
2793
  /**
2938
2794
  * Returns the number of whole workdays between two dates using parameters to indicate which and how many days are weekend days.
2939
2795
  *
@@ -2958,7 +2814,7 @@ declare namespace NETWORKDAYS {
2958
2814
  * @param {*} holidays Optional. An optional set of one or more dates that are to be excluded from the working day calendar. holidays shall be a range of values that contain the dates, or an array constant of the serial values that represent those dates. The ordering of dates or serial values in holidays can be arbitrary.
2959
2815
  * @returns
2960
2816
  */
2961
- declare function NETWORKDAYSINTL(start_date: any, end_date: any, weekend: any, holidays: any): number | Error;
2817
+ export function NETWORKDAYSINTL(start_date: any, end_date: any, weekend: any, holidays: any): number | Error;
2962
2818
  /**
2963
2819
  * Returns the number of whole workdays between two dates using parameters to indicate which and how many days are weekend days.
2964
2820
  *
@@ -2970,7 +2826,7 @@ declare function NETWORKDAYSINTL(start_date: any, end_date: any, weekend: any, h
2970
2826
  * @param {*} holidays Optional. An optional set of one or more dates that are to be excluded from the working day calendar. holidays shall be a range of values that contain the dates, or an array constant of the serial values that represent those dates. The ordering of dates or serial values in holidays can be arbitrary.
2971
2827
  * @returns
2972
2828
  */
2973
- declare function NETWORKDAYS_INTL(start_date: any, end_date: any, weekend: any, holidays: any): number | Error;
2829
+ export function NETWORKDAYS_INTL(start_date: any, end_date: any, weekend: any, holidays: any): number | Error;
2974
2830
  /**
2975
2831
  * Returns the annual nominal interest rate.
2976
2832
  *
@@ -2980,8 +2836,8 @@ declare function NETWORKDAYS_INTL(start_date: any, end_date: any, weekend: any,
2980
2836
  * @param {*} npery The number of compounding periods per year.
2981
2837
  * @returns
2982
2838
  */
2983
- declare function NOMINAL(effect_rate: any, npery: any): number | Error;
2984
- declare namespace NORM {
2839
+ export function NOMINAL(effect_rate: any, npery: any): number | Error;
2840
+ export namespace NORM {
2985
2841
  /**
2986
2842
  * Returns the normal cumulative distribution.
2987
2843
  *
@@ -3038,7 +2894,7 @@ declare namespace NORM {
3038
2894
  * @param {*} cumulative A logical value that determines the form of the function. If cumulative is TRUE, NORM.DIST returns the cumulative distribution function; if FALSE, it returns the probability density function.
3039
2895
  * @returns
3040
2896
  */
3041
- declare function NORMDIST(x: any, mean: any, standard_dev: any, cumulative: any): any;
2897
+ export function NORMDIST(x: any, mean: any, standard_dev: any, cumulative: any): any;
3042
2898
  /**
3043
2899
  * Returns the inverse of the normal cumulative distribution.
3044
2900
  *
@@ -3049,7 +2905,7 @@ declare function NORMDIST(x: any, mean: any, standard_dev: any, cumulative: any)
3049
2905
  * @param {*} standard_dev The standard deviation of the distribution.
3050
2906
  * @returns
3051
2907
  */
3052
- declare function NORMINV(probability: any, mean: any, standard_dev: any): any;
2908
+ export function NORMINV(probability: any, mean: any, standard_dev: any): any;
3053
2909
  /**
3054
2910
  * Returns the standard normal cumulative distribution.
3055
2911
  *
@@ -3059,7 +2915,7 @@ declare function NORMINV(probability: any, mean: any, standard_dev: any): any;
3059
2915
  * @param {*} cumulative Cumulative is a logical value that determines the form of the function. If cumulative is TRUE, NORMS.DIST returns the cumulative distribution function; if FALSE, it returns the probability mass function.
3060
2916
  * @returns
3061
2917
  */
3062
- declare function NORMSDIST(z: any, cumulative: any): any;
2918
+ export function NORMSDIST(z: any, cumulative: any): any;
3063
2919
  /**
3064
2920
  * Returns the inverse of the standard normal cumulative distribution.
3065
2921
  *
@@ -3068,7 +2924,7 @@ declare function NORMSDIST(z: any, cumulative: any): any;
3068
2924
  * @param {*} probability A probability corresponding to the normal distribution.
3069
2925
  * @returns
3070
2926
  */
3071
- declare function NORMSINV(probability: any): any;
2927
+ export function NORMSINV(probability: any): any;
3072
2928
  /**
3073
2929
  * Reverses the logic of its argument.
3074
2930
  *
@@ -3076,7 +2932,7 @@ declare function NORMSINV(probability: any): any;
3076
2932
  *
3077
2933
  * @returns
3078
2934
  */
3079
- declare function NOT(logical: any): boolean | Error;
2935
+ export function NOT(logical: any): boolean | Error;
3080
2936
  /**
3081
2937
  * Returns the serial number of the current date and time.
3082
2938
  *
@@ -3084,7 +2940,7 @@ declare function NOT(logical: any): boolean | Error;
3084
2940
  *
3085
2941
  * @returns
3086
2942
  */
3087
- declare function NOW(): string | number;
2943
+ export function NOW(): string | number;
3088
2944
  /**
3089
2945
  * Returns the number of periods for an investment.
3090
2946
  *
@@ -3097,7 +2953,7 @@ declare function NOW(): string | number;
3097
2953
  * @param {*} type Optional. The number 0 or 1 and indicates when payments are due.
3098
2954
  * @returns
3099
2955
  */
3100
- declare function NPER(rate: any, pmt: any, pv: any, fv: any, type: any): number | Error;
2956
+ export function NPER(rate: any, pmt: any, pv: any, fv: any, type: any): number | Error;
3101
2957
  /**
3102
2958
  * Returns the net present value of an investment based on a series of periodic cash flows and a discount rate.
3103
2959
  *
@@ -3111,7 +2967,7 @@ declare function NPER(rate: any, pmt: any, pv: any, fv: any, type: any): number
3111
2967
  - If an argument is an array or reference, only numbers in that array or reference are counted. Empty values, logical values, text, or error values in the array or reference are ignored.
3112
2968
  * @returns
3113
2969
  */
3114
- declare function NPV(...args: any[]): number | Error;
2970
+ export function NPV(...args: any[]): number | Error;
3115
2971
  /**
3116
2972
  * Converts text to number in a locale-independent manner.
3117
2973
  *
@@ -3122,7 +2978,7 @@ declare function NPV(...args: any[]): number | Error;
3122
2978
  * @param {*} group_separator Optional. The character used to separate groupings of numbers, such as thousands from hundreds and millions from thousands.
3123
2979
  * @returns
3124
2980
  */
3125
- declare function NUMBERVALUE(text: any, decimal_separator: any, group_separator: any): number | Error;
2981
+ export function NUMBERVALUE(text: any, decimal_separator: any, group_separator: any): number | Error;
3126
2982
  /**
3127
2983
  * Converts an octal number to binary.
3128
2984
  *
@@ -3132,7 +2988,7 @@ declare function NUMBERVALUE(text: any, decimal_separator: any, group_separator:
3132
2988
  * @param {*} places Optional. The number of characters to use. If places is omitted, OCT2BIN uses the minimum number of characters necessary. Places is useful for padding the return value with leading 0s (zeros).
3133
2989
  * @returns
3134
2990
  */
3135
- declare function OCT2BIN(number: any, places: any): string | Error;
2991
+ export function OCT2BIN(number: any, places: any): string | Error;
3136
2992
  /**
3137
2993
  * Converts an octal number to decimal.
3138
2994
  *
@@ -3141,7 +2997,7 @@ declare function OCT2BIN(number: any, places: any): string | Error;
3141
2997
  * @param {*} number The octal number you want to convert. Number may not contain more than 10 octal characters (30 bits). The most significant bit of number is the sign bit. The remaining 29 bits are magnitude bits. Negative numbers are represented using two's-complement notation.
3142
2998
  * @returns
3143
2999
  */
3144
- declare function OCT2DEC(number: any): number | Error;
3000
+ export function OCT2DEC(number: any): number | Error;
3145
3001
  /**
3146
3002
  * Converts an octal number to hexadecimal.
3147
3003
  *
@@ -3151,7 +3007,7 @@ declare function OCT2DEC(number: any): number | Error;
3151
3007
  * @param {*} places Optional. The number of characters to use. If places is omitted, OCT2HEX uses the minimum number of characters necessary. Places is useful for padding the return value with leading 0s (zeros).
3152
3008
  * @returns
3153
3009
  */
3154
- declare function OCT2HEX(number: any, places: any): string | Error;
3010
+ export function OCT2HEX(number: any, places: any): string | Error;
3155
3011
  /**
3156
3012
  * Rounds a number up to the nearest odd integer.
3157
3013
  *
@@ -3160,7 +3016,7 @@ declare function OCT2HEX(number: any, places: any): string | Error;
3160
3016
  * @param {*} number: The value to round.
3161
3017
  * @returns
3162
3018
  */
3163
- declare function ODD(number: any): number | Error;
3019
+ export function ODD(number: any): number | Error;
3164
3020
  /**
3165
3021
  * Returns TRUE if any argument is TRUE.
3166
3022
  *
@@ -3168,7 +3024,7 @@ declare function ODD(number: any): number | Error;
3168
3024
  *
3169
3025
  * @returns
3170
3026
  */
3171
- declare function OR(...args: any[]): any;
3027
+ export function OR(...args: any[]): any;
3172
3028
  /**
3173
3029
  * Returns the number of periods required by an investment to reach a specified value.
3174
3030
  *
@@ -3179,7 +3035,7 @@ declare function OR(...args: any[]): any;
3179
3035
  * @param {*} fv Fv is the desired future value of the investment.
3180
3036
  * @returns
3181
3037
  */
3182
- declare function PDURATION(rate: any, pv: any, fv: any): number | Error;
3038
+ export function PDURATION(rate: any, pv: any, fv: any): number | Error;
3183
3039
  /**
3184
3040
  * Returns the Pearson product moment correlation coefficient.
3185
3041
  *
@@ -3189,8 +3045,8 @@ declare function PDURATION(rate: any, pv: any, fv: any): number | Error;
3189
3045
  * @param {*} array2 A set of dependent values.
3190
3046
  * @returns
3191
3047
  */
3192
- declare function PEARSON(array1: any, array2: any): number | Error;
3193
- declare namespace PERCENTILE {
3048
+ export function PEARSON(array1: any, array2: any): number | Error;
3049
+ export namespace PERCENTILE {
3194
3050
  /**
3195
3051
  * Returns the k-th percentile of values in a range, where k is in the range 0..1, exclusive.
3196
3052
  *
@@ -3217,7 +3073,7 @@ declare namespace PERCENTILE {
3217
3073
  *
3218
3074
  * @returns
3219
3075
  */
3220
- declare function PERCENTILEEXC(array: any, k: any): number | Error;
3076
+ export function PERCENTILEEXC(array: any, k: any): number | Error;
3221
3077
  /**
3222
3078
  * Returns the k-th percentile of values in a range.
3223
3079
  *
@@ -3227,8 +3083,8 @@ declare function PERCENTILEEXC(array: any, k: any): number | Error;
3227
3083
  * @param {*} k The percentile value in the range 0..1, inclusive.
3228
3084
  * @returns
3229
3085
  */
3230
- declare function PERCENTILEINC(array: any, k: any): number | Error;
3231
- declare namespace PERCENTRANK {
3086
+ export function PERCENTILEINC(array: any, k: any): number | Error;
3087
+ export namespace PERCENTRANK {
3232
3088
  /**
3233
3089
  * Returns the rank of a value in a data set as a percentage (0..1, exclusive) of the data set.
3234
3090
  *
@@ -3262,7 +3118,7 @@ declare namespace PERCENTRANK {
3262
3118
  * @param {*} significance Optional. A value that identifies the number of significant digits for the returned percentage value. If omitted, PERCENTRANK.EXC uses three digits (0.xxx).
3263
3119
  * @returns
3264
3120
  */
3265
- declare function PERCENTRANKEXC(array: any, x: any, significance: any): number | Error;
3121
+ export function PERCENTRANKEXC(array: any, x: any, significance: any): number | Error;
3266
3122
  /**
3267
3123
  * Returns the percentage rank of a value in a data set.
3268
3124
  *
@@ -3273,7 +3129,7 @@ declare function PERCENTRANKEXC(array: any, x: any, significance: any): number |
3273
3129
  * @param {*} significance Optional. A value that identifies the number of significant digits for the returned percentage value. If omitted, PERCENTRANK.INC uses three digits (0.xxx).
3274
3130
  * @returns
3275
3131
  */
3276
- declare function PERCENTRANKINC(array: any, x: any, significance: any): number | Error;
3132
+ export function PERCENTRANKINC(array: any, x: any, significance: any): number | Error;
3277
3133
  /**
3278
3134
  * Returns the number of permutations for a given number of objects.
3279
3135
  *
@@ -3283,7 +3139,7 @@ declare function PERCENTRANKINC(array: any, x: any, significance: any): number |
3283
3139
  * @param {*} number_chosen An integer that describes the number of objects in each permutation.
3284
3140
  * @returns
3285
3141
  */
3286
- declare function PERMUT(number: any, number_chosen: any): number | Error;
3142
+ export function PERMUT(number: any, number_chosen: any): number | Error;
3287
3143
  /**
3288
3144
  * Returns the number of permutations for a given number of objects (with repetitions) that can be selected from the total objects.
3289
3145
  *
@@ -3293,7 +3149,7 @@ declare function PERMUT(number: any, number_chosen: any): number | Error;
3293
3149
  * @param {*} number_chosen An integer that describes the number of objects in each permutation.
3294
3150
  * @returns
3295
3151
  */
3296
- declare function PERMUTATIONA(number: any, number_chosen: any): number | Error;
3152
+ export function PERMUTATIONA(number: any, number_chosen: any): number | Error;
3297
3153
  /**
3298
3154
  * Returns the value of the density function for a standard normal distribution.
3299
3155
  *
@@ -3302,7 +3158,7 @@ declare function PERMUTATIONA(number: any, number_chosen: any): number | Error;
3302
3158
  * @param {*} x X is the number for which you want the density of the standard normal distribution.
3303
3159
  * @returns
3304
3160
  */
3305
- declare function PHI(x: any): number | Error;
3161
+ export function PHI(x: any): number | Error;
3306
3162
  /**
3307
3163
  * Returns the value of pi.
3308
3164
  *
@@ -3310,7 +3166,7 @@ declare function PHI(x: any): number | Error;
3310
3166
  *
3311
3167
  * @returns
3312
3168
  */
3313
- declare function PI(): number;
3169
+ export function PI(): number;
3314
3170
  /**
3315
3171
  * Returns the periodic payment for an annuity.
3316
3172
  *
@@ -3323,9 +3179,9 @@ declare function PI(): number;
3323
3179
  * @param {*} type Optional. The number 0 (zero) or 1 and indicates when payments are due.
3324
3180
  * @returns
3325
3181
  */
3326
- declare function PMT(rate: any, nper: any, pv: any, fv: any, type: any): number | Error;
3327
- declare function PNL(...args: any[]): number;
3328
- declare namespace POISSON {
3182
+ export function PMT(rate: any, nper: any, pv: any, fv: any, type: any): number | Error;
3183
+ export function PNL(...args: any[]): number;
3184
+ export namespace POISSON {
3329
3185
  /**
3330
3186
  * Returns the Poisson distribution.
3331
3187
  *
@@ -3348,7 +3204,7 @@ declare namespace POISSON {
3348
3204
  * @param {*} cumulative A logical value that determines the form of the probability distribution returned. If cumulative is TRUE, POISSON.DIST returns the cumulative Poisson probability that the number of random events occurring will be between zero and x inclusive; if FALSE, it returns the Poisson probability mass function that the number of events occurring will be exactly x.
3349
3205
  * @returns
3350
3206
  */
3351
- declare function POISSONDIST(x: any, mean: any, cumulative: any): any;
3207
+ export function POISSONDIST(x: any, mean: any, cumulative: any): any;
3352
3208
  /**
3353
3209
  * Returns the result of a number raised to a power.
3354
3210
  *
@@ -3358,7 +3214,7 @@ declare function POISSONDIST(x: any, mean: any, cumulative: any): any;
3358
3214
  * @param {*} power The exponent to which the base number is raised.
3359
3215
  * @returns
3360
3216
  */
3361
- declare function POWER(number: any, power: any): any;
3217
+ export function POWER(number: any, power: any): any;
3362
3218
  /**
3363
3219
  * Returns the payment on the principal for an investment for a given period.
3364
3220
  *
@@ -3372,8 +3228,7 @@ declare function POWER(number: any, power: any): any;
3372
3228
  * @param {*} type Optional. The number 0 or 1 and indicates when payments are due.
3373
3229
  * @returns
3374
3230
  */
3375
- declare function PPMT(rate: any, per: any, nper: any, pv: any, fv: any, type: any): number | Error;
3376
- declare function PRICE(...args: any[]): Promise<any>;
3231
+ export function PPMT(rate: any, per: any, nper: any, pv: any, fv: any, type: any): number | Error;
3377
3232
  /**
3378
3233
  * Returns the price per $100 face value of a discounted security.
3379
3234
  *
@@ -3386,7 +3241,7 @@ declare function PRICE(...args: any[]): Promise<any>;
3386
3241
  * @param {*} basis Optional. The type of day count basis to use.
3387
3242
  * @returns
3388
3243
  */
3389
- declare function PRICEDISC(settlement: any, maturity: any, discount: any, redemption: any, basis: any): number | Error;
3244
+ export function PRICEDISC(settlement: any, maturity: any, discount: any, redemption: any, basis: any): number | Error;
3390
3245
  /**
3391
3246
  * Returns the probability that values in a range are between two limits.
3392
3247
  *
@@ -3398,7 +3253,7 @@ declare function PRICEDISC(settlement: any, maturity: any, discount: any, redemp
3398
3253
  * @param {*} upper_limit Optional. The optional upper bound on the value for which you want a probability.
3399
3254
  * @returns
3400
3255
  */
3401
- declare function PROB(x_range: any, prob_range: any, lower_limit: any, upper_limit: any): any;
3256
+ export function PROB(x_range: any, prob_range: any, lower_limit: any, upper_limit: any): any;
3402
3257
  /**
3403
3258
  * Multiplies its arguments.
3404
3259
  *
@@ -3408,7 +3263,7 @@ declare function PROB(x_range: any, prob_range: any, lower_limit: any, upper_lim
3408
3263
  * @param {*} args number2, ... Optional. Additional numbers or ranges that you want to multiply, up to a maximum of 255 arguments.
3409
3264
  * @returns
3410
3265
  */
3411
- declare function PRODUCT(...args: any[]): number | Error;
3266
+ export function PRODUCT(...args: any[]): number | Error;
3412
3267
  /**
3413
3268
  * Capitalizes the first letter in each word of a text value.
3414
3269
  *
@@ -3417,7 +3272,7 @@ declare function PRODUCT(...args: any[]): number | Error;
3417
3272
  * @param {*} text Text enclosed in quotation marks, a formula that returns text, or a reference to a value containing the text you want to partially capitalize.
3418
3273
  * @returns
3419
3274
  */
3420
- declare function PROPER(text: any): any;
3275
+ export function PROPER(text: any): any;
3421
3276
  /**
3422
3277
  * Returns the present value of an investment.
3423
3278
  *
@@ -3430,8 +3285,8 @@ declare function PROPER(text: any): any;
3430
3285
  * @param {*} type Optional. The number 0 or 1 and indicates when payments are due.
3431
3286
  * @returns
3432
3287
  */
3433
- declare function PV(rate: any, per: any, pmt: any, fv: any, type: any): number | Error;
3434
- declare namespace QUARTILE {
3288
+ export function PV(rate: any, per: any, pmt: any, fv: any, type: any): number | Error;
3289
+ export namespace QUARTILE {
3435
3290
  /**
3436
3291
  * Returns the quartile of the data set, based on percentile values from 0..1, exclusive.
3437
3292
  *
@@ -3462,7 +3317,7 @@ declare namespace QUARTILE {
3462
3317
  * @param {*} quart Indicates which value to return.
3463
3318
  * @returns
3464
3319
  */
3465
- declare function QUARTILEEXC(range: any, quart: any): number | Error;
3320
+ export function QUARTILEEXC(range: any, quart: any): number | Error;
3466
3321
  /**
3467
3322
  * Returns the quartile of a data set.
3468
3323
  *
@@ -3472,7 +3327,7 @@ declare function QUARTILEEXC(range: any, quart: any): number | Error;
3472
3327
  * @param {*} quart Indicates which value to return.
3473
3328
  * @returns
3474
3329
  */
3475
- declare function QUARTILEINC(range: any, quart: any): number | Error;
3330
+ export function QUARTILEINC(range: any, quart: any): number | Error;
3476
3331
  /**
3477
3332
  * Returns the integer portion of a division.
3478
3333
  *
@@ -3482,7 +3337,7 @@ declare function QUARTILEINC(range: any, quart: any): number | Error;
3482
3337
  * @param {*} denominator The divisor.
3483
3338
  * @returns
3484
3339
  */
3485
- declare function QUOTIENT(numerator: any, denominator: any): any;
3340
+ export function QUOTIENT(numerator: any, denominator: any): any;
3486
3341
  /**
3487
3342
  * Converts degrees to radians.
3488
3343
  *
@@ -3491,7 +3346,7 @@ declare function QUOTIENT(numerator: any, denominator: any): any;
3491
3346
  * @param {*} angle An angle in degrees that you want to convert.
3492
3347
  * @returns
3493
3348
  */
3494
- declare function RADIANS(angle: any): number | Error;
3349
+ export function RADIANS(angle: any): number | Error;
3495
3350
  /**
3496
3351
  * Returns a random number between 0 and 1.
3497
3352
  *
@@ -3499,7 +3354,7 @@ declare function RADIANS(angle: any): number | Error;
3499
3354
  *
3500
3355
  * @returns
3501
3356
  */
3502
- declare function RAND(): number;
3357
+ export function RAND(): number;
3503
3358
  /**
3504
3359
  * Returns a random number between the numbers you specify.
3505
3360
  *
@@ -3509,8 +3364,8 @@ declare function RAND(): number;
3509
3364
  * @param {*} top The largest integer RANDBETWEEN will return.
3510
3365
  * @returns
3511
3366
  */
3512
- declare function RANDBETWEEN(bottom: any, top: any): any;
3513
- declare namespace RANK {
3367
+ export function RANDBETWEEN(bottom: any, top: any): any;
3368
+ export namespace RANK {
3514
3369
  /**
3515
3370
  * Returns the rank of a number in a list of numbers.
3516
3371
  *
@@ -3544,7 +3399,7 @@ declare namespace RANK {
3544
3399
  * @param {*} order Optional. A number specifying how to rank number.
3545
3400
  * @returns
3546
3401
  */
3547
- declare function RANKAVG(number: any, ref: any, order: any): any;
3402
+ export function RANKAVG(number: any, ref: any, order: any): any;
3548
3403
  /**
3549
3404
  * Returns the rank of a number in a list of numbers.
3550
3405
  *
@@ -3555,7 +3410,7 @@ declare function RANKAVG(number: any, ref: any, order: any): any;
3555
3410
  * @param {*} order Optional. A number specifying how to rank number.
3556
3411
  * @returns
3557
3412
  */
3558
- declare function RANKEQ(number: any, ref: any, order: any): any;
3413
+ export function RANKEQ(number: any, ref: any, order: any): any;
3559
3414
  /**
3560
3415
  * Returns the interest rate per period of an annuity.
3561
3416
  *
@@ -3571,7 +3426,7 @@ declare function RANKEQ(number: any, ref: any, order: any): any;
3571
3426
  - If RATE does not converge, try different values for guess. RATE usually converges if guess is between 0 and 1.
3572
3427
  * @returns
3573
3428
  */
3574
- declare function RATE(nper: any, pmt: any, pv: any, fv: any, type: any, guess: any): any;
3429
+ export function RATE(nper: any, pmt: any, pv: any, fv: any, type: any, guess: any): any;
3575
3430
  /**
3576
3431
  * Replaces characters within text
3577
3432
  *
@@ -3583,7 +3438,7 @@ declare function RATE(nper: any, pmt: any, pv: any, fv: any, type: any, guess: a
3583
3438
  * @param {*} new_text he text that will replace characters in old_text.
3584
3439
  * @returns
3585
3440
  */
3586
- declare function REPLACE(old_text: any, num_chars: any, length: any, new_text: any): string | Error;
3441
+ export function REPLACE(old_text: any, num_chars: any, length: any, new_text: any): string | Error;
3587
3442
  /**
3588
3443
  * Repeats text a given number of times.
3589
3444
  *
@@ -3593,7 +3448,7 @@ declare function REPLACE(old_text: any, num_chars: any, length: any, new_text: a
3593
3448
  * @param {*} number_times A positive number specifying the number of times to repeat text.
3594
3449
  * @returns
3595
3450
  */
3596
- declare function REPT(text: any, number_times: any): any;
3451
+ export function REPT(text: any, number_times: any): any;
3597
3452
  /**
3598
3453
  * Returns the rightmost characters from a text value
3599
3454
  *
@@ -3603,7 +3458,7 @@ declare function REPT(text: any, number_times: any): any;
3603
3458
  * @param {*} num_chars Optional. Specifies the number of characters you want RIGHT to extract.
3604
3459
  * @returns
3605
3460
  */
3606
- declare function RIGHT(text: any, num_chars: any): any;
3461
+ export function RIGHT(text: any, num_chars: any): any;
3607
3462
  /**
3608
3463
  * Converts an arabic numeral to roman, as text.
3609
3464
  *
@@ -3612,7 +3467,7 @@ declare function RIGHT(text: any, num_chars: any): any;
3612
3467
  * @param {*} number The Arabic numeral you want converted.
3613
3468
  * @returns
3614
3469
  */
3615
- declare function ROMAN(number: any): string | Error;
3470
+ export function ROMAN(number: any): string | Error;
3616
3471
  /**
3617
3472
  * Rounds a number to a specified number of digits.
3618
3473
  *
@@ -3622,7 +3477,7 @@ declare function ROMAN(number: any): string | Error;
3622
3477
  * @param {*} num_digits The number of digits to which you want to round the number argument.
3623
3478
  * @returns
3624
3479
  */
3625
- declare function ROUND(number: any, num_digits: any): any;
3480
+ export function ROUND(number: any, num_digits: any): any;
3626
3481
  /**
3627
3482
  * Rounds a number down, toward zero.
3628
3483
  *
@@ -3632,7 +3487,7 @@ declare function ROUND(number: any, num_digits: any): any;
3632
3487
  * @param {*} num_digits The number of digits to which you want to round number.
3633
3488
  * @returns
3634
3489
  */
3635
- declare function ROUNDDOWN(number: any, num_digits: any): any;
3490
+ export function ROUNDDOWN(number: any, num_digits: any): any;
3636
3491
  /**
3637
3492
  * Rounds a number up, away from zero.
3638
3493
  *
@@ -3642,7 +3497,7 @@ declare function ROUNDDOWN(number: any, num_digits: any): any;
3642
3497
  * @param {*} num_digits The number of digits to which you want to round number.
3643
3498
  * @returns
3644
3499
  */
3645
- declare function ROUNDUP(number: any, num_digits: any): any;
3500
+ export function ROUNDUP(number: any, num_digits: any): any;
3646
3501
  /**
3647
3502
  * Returns the row number of a reference.
3648
3503
  *
@@ -3652,7 +3507,7 @@ declare function ROUNDUP(number: any, num_digits: any): any;
3652
3507
  * @param {*} index
3653
3508
  * @returns
3654
3509
  */
3655
- declare function ROW(reference: any, index: any, ...args: any[]): any;
3510
+ export function ROW(reference: any, index: any, ...args: any[]): any;
3656
3511
  /**
3657
3512
  * Returns the number of rows in a reference.
3658
3513
  *
@@ -3661,7 +3516,7 @@ declare function ROW(reference: any, index: any, ...args: any[]): any;
3661
3516
  * @param {*} array An array, an array formula, or a reference to a range of values for which you want the number of rows.
3662
3517
  * @returns
3663
3518
  */
3664
- declare function ROWS(array: any, ...args: any[]): any;
3519
+ export function ROWS(array: any, ...args: any[]): any;
3665
3520
  /**
3666
3521
  * Returns an equivalent interest rate for the growth of an investment.
3667
3522
  *
@@ -3672,7 +3527,7 @@ declare function ROWS(array: any, ...args: any[]): any;
3672
3527
  * @param {*} fv Fv is the future value of the investment.
3673
3528
  * @returns
3674
3529
  */
3675
- declare function RRI(nper: any, pv: any, fv: any): number | Error;
3530
+ export function RRI(nper: any, pv: any, fv: any): number | Error;
3676
3531
  /**
3677
3532
  * Returns the square of the Pearson product moment correlation coefficient.
3678
3533
  *
@@ -3682,8 +3537,7 @@ declare function RRI(nper: any, pv: any, fv: any): number | Error;
3682
3537
  * @param {*} known_x An array or range of data points.
3683
3538
  * @returns
3684
3539
  */
3685
- declare function RSQ(known_y: any, known_x: any): number | Error;
3686
- declare function SAFE(...args: any[]): Promise<any>;
3540
+ export function RSQ(known_y: any, known_x: any): number | Error;
3687
3541
  /**
3688
3542
  * Finds one text value within another (not case-sensitive)
3689
3543
  *
@@ -3694,7 +3548,7 @@ declare function SAFE(...args: any[]): Promise<any>;
3694
3548
  * @param {*} start_num Optional. The character number in the within_text argument at which you want to start searching.
3695
3549
  * @returns
3696
3550
  */
3697
- declare function SEARCH(find_text: any, within_text: any, start_num: any): number | Error;
3551
+ export function SEARCH(find_text: any, within_text: any, start_num: any): number | Error;
3698
3552
  /**
3699
3553
  * Returns the secant of an angle.
3700
3554
  *
@@ -3703,7 +3557,7 @@ declare function SEARCH(find_text: any, within_text: any, start_num: any): numbe
3703
3557
  * @param {*} number The angle in radians for which you want the secant.
3704
3558
  * @returns
3705
3559
  */
3706
- declare function SEC(number: any): number | Error;
3560
+ export function SEC(number: any): number | Error;
3707
3561
  /**
3708
3562
  * Returns the hyperbolic secant of an angle.
3709
3563
  *
@@ -3712,7 +3566,7 @@ declare function SEC(number: any): number | Error;
3712
3566
  * @param {*} number The angle in radians for which you want the hyperbolic secant.
3713
3567
  * @returns
3714
3568
  */
3715
- declare function SECH(number: any): number | Error;
3569
+ export function SECH(number: any): number | Error;
3716
3570
  /**
3717
3571
  * Converts a serial number to a second.
3718
3572
  *
@@ -3721,8 +3575,8 @@ declare function SECH(number: any): number | Error;
3721
3575
  * @param {*} serial_number The time that contains the seconds you want to find. Times may be entered as text strings within quotation marks (for example, "6:45 PM"), as decimal numbers (for example, 0.78125, which represents 6:45 PM), or as results of other formulas or functions (for example, TIMEVALUE("6:45 PM")).
3722
3576
  * @returns
3723
3577
  */
3724
- declare function SECOND(serial_number: any): any;
3725
- declare function SEQUENCE(rows: any, columns?: number, start?: number, step?: number): number[][];
3578
+ export function SECOND(serial_number: any): any;
3579
+ export function SEQUENCE(rows: any, columns?: number, start?: number, step?: number): number[][];
3726
3580
  /**
3727
3581
  * Returns the sum of a power series based on the formula.
3728
3582
  *
@@ -3734,7 +3588,7 @@ declare function SEQUENCE(rows: any, columns?: number, start?: number, step?: nu
3734
3588
  * @param {*} coefficients A set of coefficients by which each successive power of x is multiplied. The number of values in coefficients determines the number of terms in the power series. For example, if there are three values in coefficients, then there will be three terms in the power series.
3735
3589
  * @returns
3736
3590
  */
3737
- declare function SERIESSUM(x: any, n: any, m: any, coefficients: any): number | Error;
3591
+ export function SERIESSUM(x: any, n: any, m: any, coefficients: any): number | Error;
3738
3592
  /**
3739
3593
  * Returns the sign of a number.
3740
3594
  *
@@ -3743,7 +3597,7 @@ declare function SERIESSUM(x: any, n: any, m: any, coefficients: any): number |
3743
3597
  * @param {*} number Any real number.
3744
3598
  * @returns
3745
3599
  */
3746
- declare function SIGN(number: any): Error | 0 | 1 | -1;
3600
+ export function SIGN(number: any): Error | 0 | 1 | -1;
3747
3601
  /**
3748
3602
  * Returns the sine of the given angle.
3749
3603
  *
@@ -3752,7 +3606,7 @@ declare function SIGN(number: any): Error | 0 | 1 | -1;
3752
3606
  * @param {*} number The angle in radians for which you want the sine.
3753
3607
  * @returns
3754
3608
  */
3755
- declare function SIN(number: any): number | Error;
3609
+ export function SIN(number: any): number | Error;
3756
3610
  /**
3757
3611
  * Returns the hyperbolic sine of a number.
3758
3612
  *
@@ -3761,7 +3615,7 @@ declare function SIN(number: any): number | Error;
3761
3615
  * @param {*} number Any real number.
3762
3616
  * @returns
3763
3617
  */
3764
- declare function SINH(number: any): number | Error;
3618
+ export function SINH(number: any): number | Error;
3765
3619
  /**
3766
3620
  * Returns the skewness of a distribution.
3767
3621
  *
@@ -3770,8 +3624,8 @@ declare function SINH(number: any): number | Error;
3770
3624
  * @param {*} args number1, number2, ... Number1 is required, subsequent numbers are optional. 1 to 255 arguments for which you want to calculate skewness. You can also use a single array or a reference to an array instead of arguments separated by commas.
3771
3625
  * @returns
3772
3626
  */
3773
- declare function SKEW(...args: any[]): number | Error;
3774
- declare namespace SKEW {
3627
+ export function SKEW(...args: any[]): number | Error;
3628
+ export namespace SKEW {
3775
3629
  /**
3776
3630
  * Returns the skewness of a distribution based on a population.
3777
3631
  *
@@ -3788,7 +3642,7 @@ declare namespace SKEW {
3788
3642
  *
3789
3643
  * @returns
3790
3644
  */
3791
- declare function SKEWP(...args: any[]): number | Error;
3645
+ export function SKEWP(...args: any[]): number | Error;
3792
3646
  /**
3793
3647
  * Returns the straight-line depreciation of an asset for one period.
3794
3648
  *
@@ -3799,7 +3653,7 @@ declare function SKEWP(...args: any[]): number | Error;
3799
3653
  * @param {*} life The number of periods over which the asset is depreciated (sometimes called the useful life of the asset).
3800
3654
  * @returns
3801
3655
  */
3802
- declare function SLN(cost: any, salvage: any, life: any): number | Error;
3656
+ export function SLN(cost: any, salvage: any, life: any): number | Error;
3803
3657
  /**
3804
3658
  * Returns the slope of the linear regression line.
3805
3659
  *
@@ -3809,7 +3663,7 @@ declare function SLN(cost: any, salvage: any, life: any): number | Error;
3809
3663
  * @param {*} known_x The set of independent data points.
3810
3664
  * @returns
3811
3665
  */
3812
- declare function SLOPE(known_y: any, known_x: any): number | Error;
3666
+ export function SLOPE(known_y: any, known_x: any): number | Error;
3813
3667
  /**
3814
3668
  * Returns the k-th smallest value in a data set.
3815
3669
  *
@@ -3819,8 +3673,7 @@ declare function SLOPE(known_y: any, known_x: any): number | Error;
3819
3673
  * @param {*} k The position (from the smallest) in the array or range of data to return.
3820
3674
  * @returns
3821
3675
  */
3822
- declare function SMALL(array: any, k: any): any;
3823
- declare function SMARTCONTRACT(...args: any[]): Promise<any>;
3676
+ export function SMALL(array: any, k: any): any;
3824
3677
  /**
3825
3678
  * Returns a sorted array of the elements in an array. The returned array is the same shape as the provided array argument.
3826
3679
  *
@@ -3832,7 +3685,7 @@ declare function SMARTCONTRACT(...args: any[]): Promise<any>;
3832
3685
  * @param {*} by_col Optional. A logical value indicating the desired sort direction; FALSE to sort by row (default), TRUE to sort by column
3833
3686
  * @returns
3834
3687
  */
3835
- declare function SORT(inputArray: any, sortIndex: number, isAscending: any, sortByColumn?: boolean): any;
3688
+ export function SORT(inputArray: any, sortIndex: number, isAscending: any, sortByColumn?: boolean): any;
3836
3689
  /**
3837
3690
  * Returns a positive square root.
3838
3691
  *
@@ -3841,7 +3694,7 @@ declare function SORT(inputArray: any, sortIndex: number, isAscending: any, sort
3841
3694
  * @param {*} number The number for which you want the square root.
3842
3695
  * @returns
3843
3696
  */
3844
- declare function SQRT(number: any): number | Error;
3697
+ export function SQRT(number: any): number | Error;
3845
3698
  /**
3846
3699
  * Returns the square root of (number * pi).
3847
3700
  *
@@ -3850,7 +3703,7 @@ declare function SQRT(number: any): number | Error;
3850
3703
  * @param {*} number The number by which pi is multiplied.
3851
3704
  * @returns
3852
3705
  */
3853
- declare function SQRTPI(number: any): number | Error;
3706
+ export function SQRTPI(number: any): number | Error;
3854
3707
  /**
3855
3708
  * Returns a normalized value.
3856
3709
  *
@@ -3861,8 +3714,8 @@ declare function SQRTPI(number: any): number | Error;
3861
3714
  * @param {*} standard_dev The standard deviation of the distribution.
3862
3715
  * @returns
3863
3716
  */
3864
- declare function STANDARDIZE(x: any, mean: any, standard_dev: any): number | Error;
3865
- declare namespace STDEV {
3717
+ export function STANDARDIZE(x: any, mean: any, standard_dev: any): number | Error;
3718
+ export namespace STDEV {
3866
3719
  /**
3867
3720
  * Calculates standard deviation based on the entire population.
3868
3721
  *
@@ -3890,7 +3743,7 @@ declare namespace STDEV {
3890
3743
  * @param {*} args value1, value2, ... Value1 is required, subsequent values are optional. 1 to 255 values corresponding to a sample of a population. You can also use a single array or a reference to an array instead of arguments separated by commas.
3891
3744
  * @returns
3892
3745
  */
3893
- declare function STDEVA(...args: any[]): number;
3746
+ export function STDEVA(...args: any[]): number;
3894
3747
  /**
3895
3748
  * Calculates standard deviation based on the entire population.
3896
3749
  *
@@ -3899,7 +3752,7 @@ declare function STDEVA(...args: any[]): number;
3899
3752
  * @param {*} args number1, number2, ... Number arguments 2 to 254 corresponding to a population. You can also use a single array or a reference to an array instead of arguments separated by commas.
3900
3753
  * @returns
3901
3754
  */
3902
- declare function STDEVP(...args: any[]): number;
3755
+ export function STDEVP(...args: any[]): number;
3903
3756
  /**
3904
3757
  * Calculates standard deviation based on the entire population, including numbers, text, and logical values.
3905
3758
  *
@@ -3908,7 +3761,7 @@ declare function STDEVP(...args: any[]): number;
3908
3761
  * @param {*} args value1, value2, ... Value1 is required, subsequent values are optional. 1 to 255 values corresponding to a population. You can also use a single array or a reference to an array instead of arguments separated by commas.
3909
3762
  * @returns
3910
3763
  */
3911
- declare function STDEVPA(...args: any[]): number;
3764
+ export function STDEVPA(...args: any[]): number;
3912
3765
  /**
3913
3766
  * Estimates standard deviation based on a sample.
3914
3767
  *
@@ -3917,7 +3770,7 @@ declare function STDEVPA(...args: any[]): number;
3917
3770
  * @param {*} args number1, number2, ... Number arguments 2 to 254 corresponding to a sample of a population. You can also use a single array or a reference to an array instead of arguments separated by commas.
3918
3771
  * @returns
3919
3772
  */
3920
- declare function STDEVS(...args: any[]): number;
3773
+ export function STDEVS(...args: any[]): number;
3921
3774
  /**
3922
3775
  * Returns the standard error of the predicted y-value for each x in the regression.
3923
3776
  *
@@ -3927,7 +3780,7 @@ declare function STDEVS(...args: any[]): number;
3927
3780
  * @param {*} known_x An array or range of independent data points.
3928
3781
  * @returns
3929
3782
  */
3930
- declare function STEYX(known_y: any, known_x: any): number | Error;
3783
+ export function STEYX(known_y: any, known_x: any): number | Error;
3931
3784
  /**
3932
3785
  * Substitutes new text for old text in a text string.
3933
3786
  *
@@ -3939,7 +3792,7 @@ declare function STEYX(known_y: any, known_x: any): number | Error;
3939
3792
  * @param {*} instance_num Optional. Specifies which occurrence of old_text you want to replace with new_text. If you specify instance_num, only that instance of old_text is replaced. Otherwise, every occurrence of old_text in text is changed to new_text.
3940
3793
  * @returns
3941
3794
  */
3942
- declare function SUBSTITUTE(text: any, old_text: any, new_text: any, instance_num: any, ...args: any[]): any;
3795
+ export function SUBSTITUTE(text: any, old_text: any, new_text: any, instance_num: any, ...args: any[]): any;
3943
3796
  /**
3944
3797
  * Returns a subtotal in a list or database.
3945
3798
  *
@@ -3949,7 +3802,7 @@ declare function SUBSTITUTE(text: any, old_text: any, new_text: any, instance_nu
3949
3802
  * @param {*} ref1 The first named range or reference for which you want the subtotal.
3950
3803
  * @returns
3951
3804
  */
3952
- declare function SUBTOTAL(function_num: any, ref1: any): any;
3805
+ export function SUBTOTAL(function_num: any, ref1: any): any;
3953
3806
  /**
3954
3807
  * Adds its arguments.
3955
3808
  *
@@ -3957,7 +3810,7 @@ declare function SUBTOTAL(function_num: any, ref1: any): any;
3957
3810
  *
3958
3811
  * @returns
3959
3812
  */
3960
- declare function SUM(...args: any[]): number;
3813
+ export function SUM(...args: any[]): number;
3961
3814
  /**
3962
3815
  * Adds the values specified by a given criteria.
3963
3816
  *
@@ -3968,7 +3821,7 @@ declare function SUM(...args: any[]): number;
3968
3821
  * @param {*} sum_range Optional. The actual values to add, if you want to add values other than those specified in the range argument. If the sum_range argument is omitted, Excel adds the values that are specified in the range argument (the same values to which the criteria is applied). Sum_range should be the same size and shape as range. If it isn't, performance may suffer, and the formula will sum a range of values that starts with the first value in sum_range but has the same dimensions as range.
3969
3822
  * @returns
3970
3823
  */
3971
- declare function SUMIF(range: any, criteria: any, sum_range: any): number | Error;
3824
+ export function SUMIF(range: any, criteria: any, sum_range: any): number | Error;
3972
3825
  /**
3973
3826
  * Adds the values in a range that meet multiple criteria.
3974
3827
  *
@@ -3976,7 +3829,7 @@ declare function SUMIF(range: any, criteria: any, sum_range: any): number | Erro
3976
3829
  *
3977
3830
  * @returns
3978
3831
  */
3979
- declare function SUMIFS(...args: any[]): number;
3832
+ export function SUMIFS(...args: any[]): number;
3980
3833
  /**
3981
3834
  * Returns the sum of the products of corresponding array components.
3982
3835
  *
@@ -3984,7 +3837,7 @@ declare function SUMIFS(...args: any[]): number;
3984
3837
  *
3985
3838
  * @returns
3986
3839
  */
3987
- declare function SUMPRODUCT(...args: any[]): number | Error;
3840
+ export function SUMPRODUCT(...args: any[]): number | Error;
3988
3841
  /**
3989
3842
  * Returns the sum of the squares of the arguments.
3990
3843
  *
@@ -3993,7 +3846,7 @@ declare function SUMPRODUCT(...args: any[]): number | Error;
3993
3846
  * @param {*} args number1, number2, ... Number1 is required, subsequent numbers are optional. 1 to 255 arguments for which you want the sum of the squares. You can also use a single array or a reference to an array instead of arguments separated by commas.
3994
3847
  * @returns
3995
3848
  */
3996
- declare function SUMSQ(...args: any[]): number | Error;
3849
+ export function SUMSQ(...args: any[]): number | Error;
3997
3850
  /**
3998
3851
  * Returns the sum of the difference of squares of corresponding values in two arrays.
3999
3852
  *
@@ -4003,7 +3856,7 @@ declare function SUMSQ(...args: any[]): number | Error;
4003
3856
  * @param {*} array_y The second array or range of values.
4004
3857
  * @returns
4005
3858
  */
4006
- declare function SUMX2MY2(array_x: any, array_y: any): number | Error;
3859
+ export function SUMX2MY2(array_x: any, array_y: any): number | Error;
4007
3860
  /**
4008
3861
  * Returns the sum of the sum of squares of corresponding values in two arrays.
4009
3862
  *
@@ -4013,7 +3866,7 @@ declare function SUMX2MY2(array_x: any, array_y: any): number | Error;
4013
3866
  * @param {*} array_y The second array or range of values.
4014
3867
  * @returns
4015
3868
  */
4016
- declare function SUMX2PY2(array_x: any, array_y: any): number | Error;
3869
+ export function SUMX2PY2(array_x: any, array_y: any): number | Error;
4017
3870
  /**
4018
3871
  * Returns the sum of squares of differences of corresponding values in two arrays.
4019
3872
  *
@@ -4023,7 +3876,7 @@ declare function SUMX2PY2(array_x: any, array_y: any): number | Error;
4023
3876
  * @param {*} array_y The second array or range of values.
4024
3877
  * @returns
4025
3878
  */
4026
- declare function SUMXMY2(array_x: any, array_y: any): number | Error;
3879
+ export function SUMXMY2(array_x: any, array_y: any): number | Error;
4027
3880
  /**
4028
3881
  * Evaluates an expression against a list of values and returns the result corresponding to the first matching value. If there is no match, an optional default value may be returned.
4029
3882
  *
@@ -4031,7 +3884,7 @@ declare function SUMXMY2(array_x: any, array_y: any): number | Error;
4031
3884
  *
4032
3885
  * @returns
4033
3886
  */
4034
- declare function SWITCH(...args: any[]): any;
3887
+ export function SWITCH(...args: any[]): any;
4035
3888
  /**
4036
3889
  * Returns the sum-of-years' digits depreciation of an asset for a specified period.
4037
3890
  *
@@ -4043,7 +3896,7 @@ declare function SWITCH(...args: any[]): any;
4043
3896
  * @param {*} per The period and must use the same units as life.
4044
3897
  * @returns
4045
3898
  */
4046
- declare function SYD(cost: any, salvage: any, life: any, per: any): number | Error;
3899
+ export function SYD(cost: any, salvage: any, life: any, per: any): number | Error;
4047
3900
  /**
4048
3901
  * Converts its arguments to text.
4049
3902
  *
@@ -4052,8 +3905,8 @@ declare function SYD(cost: any, salvage: any, life: any, per: any): number | Err
4052
3905
  * @param {*} value The value you want to test.
4053
3906
  * @returns
4054
3907
  */
4055
- declare function T(value: any): string | Error;
4056
- declare namespace T {
3908
+ export function T(value: any): string | Error;
3909
+ export namespace T {
4057
3910
  /**
4058
3911
  * Returns the Percentage Points (probability) for the Student t-distribution.
4059
3912
  *
@@ -4098,7 +3951,6 @@ declare namespace T {
4098
3951
  */
4099
3952
  function TEST(array1: any, array2: any): number | Error;
4100
3953
  }
4101
- declare function TALLY(...args: any[]): Promise<any>;
4102
3954
  /**
4103
3955
  * Returns the tangent of a number.
4104
3956
  *
@@ -4107,7 +3959,7 @@ declare function TALLY(...args: any[]): Promise<any>;
4107
3959
  * @param {*} number The angle in radians for which you want the tangent.
4108
3960
  * @returns
4109
3961
  */
4110
- declare function TAN(number: any): number | Error;
3962
+ export function TAN(number: any): number | Error;
4111
3963
  /**
4112
3964
  * Returns the hyperbolic tangent of a number.
4113
3965
  *
@@ -4116,7 +3968,7 @@ declare function TAN(number: any): number | Error;
4116
3968
  * @param {*} number Any real number.
4117
3969
  * @returns
4118
3970
  */
4119
- declare function TANH(number: any): number | Error;
3971
+ export function TANH(number: any): number | Error;
4120
3972
  /**
4121
3973
  * Returns the bond-equivalent yield for a Treasury bill.
4122
3974
  *
@@ -4127,7 +3979,7 @@ declare function TANH(number: any): number | Error;
4127
3979
  * @param {*} discount The Treasury bill's discount rate.
4128
3980
  * @returns
4129
3981
  */
4130
- declare function TBILLEQ(settlement: any, maturity: any, discount: any): number | Error;
3982
+ export function TBILLEQ(settlement: any, maturity: any, discount: any): number | Error;
4131
3983
  /**
4132
3984
  * Returns the price per $100 face value for a Treasury bill.
4133
3985
  *
@@ -4138,7 +3990,7 @@ declare function TBILLEQ(settlement: any, maturity: any, discount: any): number
4138
3990
  * @param {*} discount The Treasury bill's discount rate.
4139
3991
  * @returns
4140
3992
  */
4141
- declare function TBILLPRICE(settlement: any, maturity: any, discount: any): number | Error;
3993
+ export function TBILLPRICE(settlement: any, maturity: any, discount: any): number | Error;
4142
3994
  /**
4143
3995
  * Returns the yield for a Treasury bill.
4144
3996
  *
@@ -4149,7 +4001,7 @@ declare function TBILLPRICE(settlement: any, maturity: any, discount: any): numb
4149
4001
  * @param {*} pr The Treasury bill's price per $100 face value.
4150
4002
  * @returns
4151
4003
  */
4152
- declare function TBILLYIELD(settlement: any, maturity: any, pr: any): number | Error;
4004
+ export function TBILLYIELD(settlement: any, maturity: any, pr: any): number | Error;
4153
4005
  /**
4154
4006
  * Returns the Percentage Points (probability) for the Student t-distribution.
4155
4007
  *
@@ -4160,8 +4012,8 @@ declare function TBILLYIELD(settlement: any, maturity: any, pr: any): number | E
4160
4012
  * @param {*} cumulative A logical value that determines the form of the function. If cumulative is TRUE, T.DIST returns the cumulative distribution function; if FALSE, it returns the probability density function.
4161
4013
  * @returns
4162
4014
  */
4163
- declare function TDIST(x: any, deg_freedom: any, cumulative: any): number | Error;
4164
- declare namespace TDIST {
4015
+ export function TDIST(x: any, deg_freedom: any, cumulative: any): number | Error;
4016
+ export namespace TDIST {
4165
4017
  /**
4166
4018
  * Returns the Percentage Points (probability) for the Student t-distribution
4167
4019
  *
@@ -4182,7 +4034,7 @@ declare namespace TDIST {
4182
4034
  * @param {*} deg_freedom An integer indicating the number of degrees of freedom.
4183
4035
  * @returns
4184
4036
  */
4185
- declare function TDISTRT(x: any, deg_freedom: any, ...args: any[]): number | Error;
4037
+ export function TDISTRT(x: any, deg_freedom: any, ...args: any[]): number | Error;
4186
4038
  /**
4187
4039
  * Formats a number and converts it to text.
4188
4040
  *
@@ -4192,7 +4044,7 @@ declare function TDISTRT(x: any, deg_freedom: any, ...args: any[]): number | Err
4192
4044
  * @param {*} format_text A text string that defines the formatting that you want to be applied to the supplied value.
4193
4045
  * @returns
4194
4046
  */
4195
- declare function TEXT(value$1: any, format_text: any): any;
4047
+ export function TEXT(value$1: any, format_text: any): any;
4196
4048
  /**
4197
4049
  * Combines the text from multiple ranges and/or strings.
4198
4050
  *
@@ -4202,7 +4054,7 @@ declare function TEXT(value$1: any, format_text: any): any;
4202
4054
  * @param {*} args Text item to be joined. A text string, or array of strings, such as a range of values.
4203
4055
  * @returns
4204
4056
  */
4205
- declare function TEXTJOIN(delimiter: any, ignore_empty: any, ...args: any): any;
4057
+ export function TEXTJOIN(delimiter: any, ignore_empty: any, ...args: any): any;
4206
4058
  /**
4207
4059
  * Returns the serial number of a particular time.
4208
4060
  *
@@ -4213,7 +4065,7 @@ declare function TEXTJOIN(delimiter: any, ignore_empty: any, ...args: any): any;
4213
4065
  * @param {*} second A number from 0 to 32767 representing the second. Any value greater than 59 will be converted to hours, minutes, and seconds. For example, TIME(0,0,2000) = TIME(0,33,22) = .023148 or 12:33:20 AM
4214
4066
  * @returns
4215
4067
  */
4216
- declare function TIME(hour: any, minute: any, second: any): string | Error;
4068
+ export function TIME(hour: any, minute: any, second: any): string | Error;
4217
4069
  /**
4218
4070
  * Converts a time in the form of text to a serial number.
4219
4071
  *
@@ -4222,7 +4074,7 @@ declare function TIME(hour: any, minute: any, second: any): string | Error;
4222
4074
  * @param {*} time_text A text string that represents a time in any one of the Microsoft Excel time formats; for example, "6:45 PM" and "18:45" text strings within quotation marks that represent time.
4223
4075
  * @returns
4224
4076
  */
4225
- declare function TIMEVALUE(time_text: any): number | Error;
4077
+ export function TIMEVALUE(time_text: any): number | Error;
4226
4078
  /**
4227
4079
  * Returns the t-value of the Student's t-distribution as a function of the probability and the degrees of freedom.
4228
4080
  *
@@ -4232,8 +4084,8 @@ declare function TIMEVALUE(time_text: any): number | Error;
4232
4084
  * @param {*} deg_freedom The number of degrees of freedom with which to characterize the distribution.
4233
4085
  * @returns
4234
4086
  */
4235
- declare function TINV(probability: any, deg_freedom: any): any;
4236
- declare namespace TINV {
4087
+ export function TINV(probability: any, deg_freedom: any): any;
4088
+ export namespace TINV {
4237
4089
  /**
4238
4090
  * Returns the inverse of the Student's t-distribution
4239
4091
  *
@@ -4252,7 +4104,7 @@ declare namespace TINV {
4252
4104
  *
4253
4105
  * @returns
4254
4106
  */
4255
- declare function TODAY(): string;
4107
+ export function TODAY(): string;
4256
4108
  /**
4257
4109
  * Returns the transpose of an array.
4258
4110
  *
@@ -4261,7 +4113,7 @@ declare function TODAY(): string;
4261
4113
  * @param {*} array An array or range of values on a worksheet that you want to transpose. The transpose of an array is created by using the first row of the array as the first column of the new array, the second row of the array as the second column of the new array, and so on. If you're not sure of how to enter an array formula, see Create an array formula.
4262
4114
  * @returns
4263
4115
  */
4264
- declare function TRANSPOSE(array: any): any;
4116
+ export function TRANSPOSE(array: any): any;
4265
4117
  /**
4266
4118
  * Returns values along a linear trend.
4267
4119
  *
@@ -4272,7 +4124,7 @@ declare function TRANSPOSE(array: any): any;
4272
4124
  * @param {*} new_xs Optional. New x-values for which you want TREND to return corresponding y-values.
4273
4125
  * @returns
4274
4126
  */
4275
- declare function TREND(known_ys: any, known_xs: any, new_xs: any): any[] | Error;
4127
+ export function TREND(known_ys: any, known_xs: any, new_xs: any): any[] | Error;
4276
4128
  /**
4277
4129
  * Removes spaces from text.
4278
4130
  *
@@ -4281,7 +4133,7 @@ declare function TREND(known_ys: any, known_xs: any, new_xs: any): any[] | Error
4281
4133
  * @param {*} text The text from which you want spaces removed.
4282
4134
  * @returns
4283
4135
  */
4284
- declare function TRIM(text: any): any;
4136
+ export function TRIM(text: any): any;
4285
4137
  /**
4286
4138
  * Returns the mean of the interior of a data set.
4287
4139
  *
@@ -4291,7 +4143,7 @@ declare function TRIM(text: any): any;
4291
4143
  * @param {*} percent The fractional number of data points to exclude from the calculation. For example, if percent = 0.2, 4 points are trimmed from a data set of 20 points (20 x 0.2): 2 from the top and 2 from the bottom of the set.
4292
4144
  * @returns
4293
4145
  */
4294
- declare function TRIMMEAN(range: any, percent: any): any;
4146
+ export function TRIMMEAN(range: any, percent: any): any;
4295
4147
  /**
4296
4148
  * Returns the logical value TRUE.
4297
4149
  *
@@ -4299,7 +4151,7 @@ declare function TRIMMEAN(range: any, percent: any): any;
4299
4151
  *
4300
4152
  * @returns
4301
4153
  */
4302
- declare function TRUE(): boolean;
4154
+ export function TRUE(): boolean;
4303
4155
  /**
4304
4156
  * Truncates a number to an integer.
4305
4157
  *
@@ -4309,7 +4161,7 @@ declare function TRUE(): boolean;
4309
4161
  * @param {*} num_digits Optional. A number specifying the precision of the truncation. The default value for num_digits is 0 (zero).
4310
4162
  * @returns
4311
4163
  */
4312
- declare function TRUNC(number: any, num_digits: any): any;
4164
+ export function TRUNC(number: any, num_digits: any): any;
4313
4165
  /**
4314
4166
  * Returns the probability associated with a Student's t-test.
4315
4167
  *
@@ -4319,7 +4171,7 @@ declare function TRUNC(number: any, num_digits: any): any;
4319
4171
  * @param {*} array2 The second data set.
4320
4172
  * @returns
4321
4173
  */
4322
- declare function TTEST(array1: any, array2: any): number | Error;
4174
+ export function TTEST(array1: any, array2: any): number | Error;
4323
4175
  /**
4324
4176
  * Returns a number indicating the data type of a value.
4325
4177
  *
@@ -4328,7 +4180,7 @@ declare function TTEST(array1: any, array2: any): number | Error;
4328
4180
  * @param {*} value Can be any Microsoft Excel value, such as a number, text, logical value, and so on.
4329
4181
  * @returns
4330
4182
  */
4331
- declare function TYPE(value: any): 1 | 2 | 4 | 16 | 64;
4183
+ export function TYPE(value: any): 1 | 2 | 4 | 16 | 64;
4332
4184
  /**
4333
4185
  * Returns the character specified by the code number.
4334
4186
  *
@@ -4337,7 +4189,7 @@ declare function TYPE(value: any): 1 | 2 | 4 | 16 | 64;
4337
4189
  * @param {*} number A number between 1 and 255 specifying which character you want. The character is from the character set used by your computer. Note: Excel for the web supports only CHAR(9), CHAR(10), CHAR(13), and CHAR(32) and above.
4338
4190
  * @returns
4339
4191
  */
4340
- declare function UNICHAR(number: any): string | Error;
4192
+ export function UNICHAR(number: any): string | Error;
4341
4193
  /**
4342
4194
  * Returns a numeric code for the first character in a text string.
4343
4195
  *
@@ -4346,7 +4198,7 @@ declare function UNICHAR(number: any): string | Error;
4346
4198
  * @param {*} text The text for which you want the code of the first character.
4347
4199
  * @returns
4348
4200
  */
4349
- declare function UNICODE(text: any): any;
4201
+ export function UNICODE(text: any): any;
4350
4202
  /**
4351
4203
  * Returns a list of unique values in a list or range.
4352
4204
  *
@@ -4354,8 +4206,7 @@ declare function UNICODE(text: any): any;
4354
4206
  *
4355
4207
  * @returns
4356
4208
  */
4357
- declare function UNIQUE(...args: any[]): any[];
4358
- declare function UNISWAP(...args: any[]): Promise<any>;
4209
+ export function UNIQUE(...args: any[]): any[];
4359
4210
  /**
4360
4211
  * Converts text to uppercase.
4361
4212
  *
@@ -4364,7 +4215,7 @@ declare function UNISWAP(...args: any[]): Promise<any>;
4364
4215
  * @param {*} text The text you want converted to uppercase. Text can be a reference or text string.
4365
4216
  * @returns
4366
4217
  */
4367
- declare function UPPER(text: any): any;
4218
+ export function UPPER(text: any): any;
4368
4219
  /**
4369
4220
  * Converts a text argument to a number.
4370
4221
  *
@@ -4373,8 +4224,8 @@ declare function UPPER(text: any): any;
4373
4224
  * @param {*} text The text enclosed in quotation marks or a reference to a value containing the text you want to convert.
4374
4225
  * @returns
4375
4226
  */
4376
- declare function VALUE(text: any): any;
4377
- declare namespace VAR {
4227
+ export function VALUE(text: any): any;
4228
+ export namespace VAR {
4378
4229
  /**
4379
4230
  * Calculates variance based on the entire population.
4380
4231
  *
@@ -4402,7 +4253,7 @@ declare namespace VAR {
4402
4253
  * @param {*} args value1, value2, ... Value1 is required, subsequent values are optional. 1 to 255 value arguments corresponding to a sample of a population.
4403
4254
  * @returns
4404
4255
  */
4405
- declare function VARA(...args: any[]): number;
4256
+ export function VARA(...args: any[]): number;
4406
4257
  /**
4407
4258
  * Calculates variance based on the entire population.
4408
4259
  *
@@ -4411,7 +4262,7 @@ declare function VARA(...args: any[]): number;
4411
4262
  * @param {*} args number1, number2, ... Number arguments 2 to 254 corresponding to a population.
4412
4263
  * @returns
4413
4264
  */
4414
- declare function VARP(...args: any[]): number | Error;
4265
+ export function VARP(...args: any[]): number | Error;
4415
4266
  /**
4416
4267
  * Calculates variance based on the entire population, including numbers, text, and logical values.
4417
4268
  *
@@ -4420,7 +4271,7 @@ declare function VARP(...args: any[]): number | Error;
4420
4271
  * @param {*} args value1, value2, ... Value1 is required, subsequent values are optional. 1 to 255 value arguments corresponding to a population.
4421
4272
  * @returns
4422
4273
  */
4423
- declare function VARPA(...args: any[]): number | Error;
4274
+ export function VARPA(...args: any[]): number | Error;
4424
4275
  /**
4425
4276
  * Estimates variance based on a sample.
4426
4277
  *
@@ -4429,7 +4280,7 @@ declare function VARPA(...args: any[]): number | Error;
4429
4280
  * @param {*} args number1, number2, ... Number arguments 2 to 254 corresponding to a sample of a population.
4430
4281
  * @returns
4431
4282
  */
4432
- declare function VARS(...args: any[]): number;
4283
+ export function VARS(...args: any[]): number;
4433
4284
  /**
4434
4285
  * Looks in the first column of an array and moves across the row to return the value of a value.
4435
4286
  *
@@ -4441,8 +4292,7 @@ declare function VARS(...args: any[]): number;
4441
4292
  * @param {*} range_lookup Optional. A logical value that specifies whether you want HLOOKUP to find an exact match or an approximate match. If TRUE or omitted, an approximate match is returned. In other words, if an exact match is not found, the next largest value that is less than lookup_value is returned. If FALSE, HLOOKUP will find an exact match. If one is not found, the error value #N/A is returned.
4442
4293
  * @returns
4443
4294
  */
4444
- declare function VLOOKUP(lookup_value: any, table_array: any, col_index_num: any, range_lookup: any): Error;
4445
- declare function WALLET(...args: any[]): Promise<any>;
4295
+ export function VLOOKUP(lookup_value: any, table_array: any, col_index_num: any, range_lookup: any): Error;
4446
4296
  /**
4447
4297
  * Converts a serial number to a day of the week.
4448
4298
  *
@@ -4452,7 +4302,7 @@ declare function WALLET(...args: any[]): Promise<any>;
4452
4302
  * @param {*} return_type Optional. A number that determines the type of return value.
4453
4303
  * @returns
4454
4304
  */
4455
- declare function WEEKDAY(serial_number: any, return_type: any): number | Error;
4305
+ export function WEEKDAY(serial_number: any, return_type: any): number | Error;
4456
4306
  /**
4457
4307
  * Converts a serial number to a number representing where the week falls numerically with a year.
4458
4308
  *
@@ -4462,8 +4312,8 @@ declare function WEEKDAY(serial_number: any, return_type: any): number | Error;
4462
4312
  * @param {*} return_type Optional. A number that determines on which day the week begins. The default is 1.
4463
4313
  * @returns
4464
4314
  */
4465
- declare function WEEKNUM(serial_number: any, return_type: any): number | Error;
4466
- declare namespace WEIBULL {
4315
+ export function WEEKNUM(serial_number: any, return_type: any): number | Error;
4316
+ export namespace WEIBULL {
4467
4317
  /**
4468
4318
  * Returns the Weibull distribution.
4469
4319
  *
@@ -4488,7 +4338,7 @@ declare namespace WEIBULL {
4488
4338
  * @param {*} cumulative Determines the form of the function.
4489
4339
  * @returns
4490
4340
  */
4491
- declare function WEIBULLDIST(x: any, alpha: any, beta: any, cumulative: any): number | Error;
4341
+ export function WEIBULLDIST(x: any, alpha: any, beta: any, cumulative: any): number | Error;
4492
4342
  /**
4493
4343
  * Returns the serial number of the date before or after a specified number of workdays.
4494
4344
  *
@@ -4499,8 +4349,8 @@ declare function WEIBULLDIST(x: any, alpha: any, beta: any, cumulative: any): nu
4499
4349
  * @param {*} holidays Optional. An optional list of one or more dates to exclude from the working calendar, such as state and federal holidays and floating holidays. The list can be either a range of values that contain the dates or an array constant of the serial numbers that represent the dates.
4500
4350
  * @returns
4501
4351
  */
4502
- declare function WORKDAY(start_date: any, days: any, holidays: any): string | Error;
4503
- declare namespace WORKDAY {
4352
+ export function WORKDAY(start_date: any, days: any, holidays: any): string | Error;
4353
+ export namespace WORKDAY {
4504
4354
  /**
4505
4355
  * Returns the serial number of the date before or after a specified number of workdays using parameters to indicate which and how many days are weekend days.
4506
4356
  *
@@ -4525,7 +4375,7 @@ declare namespace WORKDAY {
4525
4375
  * @param {*} holidays Optional. An optional set of one or more dates that are to be excluded from the working day calendar. Holidays shall be a range of values that contain the dates, or an array constant of the serial values that represent those dates. The ordering of dates or serial values in holidays can be arbitrary.
4526
4376
  * @returns
4527
4377
  */
4528
- declare function WORKDAYINTL(start_date: any, days: any, weekend: any, holidays: any): string | Error;
4378
+ export function WORKDAYINTL(start_date: any, days: any, weekend: any, holidays: any): string | Error;
4529
4379
  /**
4530
4380
  * Returns the serial number of the date before or after a specified number of workdays using parameters to indicate which and how many days are weekend days.
4531
4381
  *
@@ -4537,7 +4387,7 @@ declare function WORKDAYINTL(start_date: any, days: any, weekend: any, holidays:
4537
4387
  * @param {*} holidays Optional. An optional set of one or more dates that are to be excluded from the working day calendar. Holidays shall be a range of values that contain the dates, or an array constant of the serial values that represent those dates. The ordering of dates or serial values in holidays can be arbitrary.
4538
4388
  * @returns
4539
4389
  */
4540
- declare function WORKDAY_INTL(start_date: any, days: any, weekend: any, holidays: any): string | Error;
4390
+ export function WORKDAY_INTL(start_date: any, days: any, weekend: any, holidays: any): string | Error;
4541
4391
  /**
4542
4392
  * Returns the internal rate of return for a schedule of cash flows that is not necessarily periodic.
4543
4393
  *
@@ -4548,11 +4398,11 @@ declare function WORKDAY_INTL(start_date: any, days: any, weekend: any, holidays
4548
4398
  * @param {*} guess Optional. A number that you guess is close to the result of XIRR.
4549
4399
  * @returns
4550
4400
  */
4551
- declare function XIRR(values: any, dates: any, guess: any): any;
4401
+ export function XIRR(values: any, dates: any, guess: any): any;
4552
4402
  /**
4553
4403
  * @param isColV When "true", returns the matched column (value at match index from each row of result_range). When false/omitted, returns the matched row (one row from result_range).
4554
4404
  */
4555
- declare function XLOOKUP(search_key: any, lookup_range: any, result_range: any, isColV: any, missing_value: any, match_mode: any, search_mode: any): any;
4405
+ export function XLOOKUP(search_key: any, lookup_range: any, result_range: any, isColV: any, missing_value: any, match_mode: any, search_mode: any): any;
4556
4406
  /**
4557
4407
  * Returns the net present value for a schedule of cash flows that is not necessarily periodic.
4558
4408
  *
@@ -4563,7 +4413,7 @@ declare function XLOOKUP(search_key: any, lookup_range: any, result_range: any,
4563
4413
  * @param {*} dates A schedule of payment dates that corresponds to the cash flow payments. The first payment date indicates the beginning of the schedule of payments. All other dates must be later than this date, but they may occur in any order.
4564
4414
  * @returns
4565
4415
  */
4566
- declare function XNPV(rate: any, values: any, dates: any): number | Error;
4416
+ export function XNPV(rate: any, values: any, dates: any): number | Error;
4567
4417
  /**
4568
4418
  * Returns a logical exclusive OR of all arguments.
4569
4419
  *
@@ -4572,7 +4422,7 @@ declare function XNPV(rate: any, values: any, dates: any): number | Error;
4572
4422
  * @param {*} args logical1, logical2,… Logical 1 is required, subsequent logical values are optional. 1 to 254 conditions you want to test that can be either TRUE or FALSE, and can be logical values, arrays, or references.
4573
4423
  * @returns
4574
4424
  */
4575
- declare function XOR(...args: any[]): any;
4425
+ export function XOR(...args: any[]): any;
4576
4426
  /**
4577
4427
  * Converts a serial number to a year.
4578
4428
  *
@@ -4581,7 +4431,7 @@ declare function XOR(...args: any[]): any;
4581
4431
  * @param {*} serial_number The date of the year you want to find.
4582
4432
  * @returns
4583
4433
  */
4584
- declare function YEAR(serial_number: any): any;
4434
+ export function YEAR(serial_number: any): any;
4585
4435
  /**
4586
4436
  * Returns the year fraction representing the number of whole days between start_date and end_date.
4587
4437
  *
@@ -4592,27 +4442,8 @@ declare function YEAR(serial_number: any): any;
4592
4442
  * @param {*} basis Optional. The type of day count basis to use.
4593
4443
  * @returns
4594
4444
  */
4595
- declare function YEARFRAC(start_date: any, end_date: any, basis: any): number | Error;
4596
- declare function YIELD(...args: any[]): Promise<any[] | {
4597
- message: string;
4598
- functionName: any;
4599
- type: string;
4600
- apiKeyName?: undefined;
4601
- reason?: undefined;
4602
- } | {
4603
- message: string;
4604
- functionName: any;
4605
- type: string;
4606
- apiKeyName: any;
4607
- reason?: undefined;
4608
- } | {
4609
- message: string;
4610
- functionName: any;
4611
- type: string;
4612
- reason: any;
4613
- apiKeyName?: undefined;
4614
- }>;
4615
- declare namespace Z {
4445
+ export function YEARFRAC(start_date: any, end_date: any, basis: any): number | Error;
4446
+ export namespace Z {
4616
4447
  /**
4617
4448
  * Returns the one-tailed probability-value of a z-test.
4618
4449
  *
@@ -4635,8 +4466,8 @@ declare namespace Z {
4635
4466
  * @param {*} sigma Optional. The population (known) standard deviation. If omitted, the sample standard deviation is used.
4636
4467
  * @returns
4637
4468
  */
4638
- declare function ZTEST(array: any, x: any, sigma: any): number | Error;
4639
- declare namespace utils {
4469
+ export function ZTEST(array: any, x: any, sigma: any): number | Error;
4470
+ export namespace utils {
4640
4471
  export { errors };
4641
4472
  export { symbols };
4642
4473
  export { date };
@@ -4773,3 +4604,4 @@ declare function formatDate(date: any): string;
4773
4604
  declare function serialToDate(serial: any): Date;
4774
4605
  declare function useDate(): void;
4775
4606
  declare function useSerial(): void;
4607
+ export { MINUS$1 as MINUS, MULTIPLY$1 as MULTIPLY };