semantic-typescript 0.5.0 → 0.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/asynchronous/collector.d.ts +231 -0
- package/dist/asynchronous/collector.js +800 -0
- package/dist/asynchronous/semantic.d.ts +257 -0
- package/dist/asynchronous/semantic.js +1853 -0
- package/dist/factory.d.ts +110 -32
- package/dist/factory.js +582 -189
- package/dist/guard.d.ts +24 -27
- package/dist/guard.js +37 -43
- package/dist/hook.d.ts +11 -7
- package/dist/hook.js +74 -21
- package/dist/index.d.ts +2 -3
- package/dist/index.js +2 -3
- package/dist/optional.d.ts +5 -5
- package/dist/optional.js +14 -10
- package/dist/symbol.d.ts +19 -23
- package/dist/symbol.js +19 -23
- package/dist/synchronous/collector.d.ts +232 -0
- package/dist/{collector.js → synchronous/collector.js} +160 -170
- package/dist/{collectable.d.ts → synchronous/semantic.d.ts} +114 -71
- package/dist/{collectable.js → synchronous/semantic.js} +761 -294
- package/dist/utility.d.ts +8 -2
- package/dist/utility.js +1 -0
- package/package.json +1 -1
- package/readme.cn.md +158 -697
- package/readme.de.md +163 -432
- package/readme.es.md +163 -433
- package/readme.fr.md +162 -444
- package/readme.jp.md +162 -442
- package/readme.kr.md +161 -430
- package/readme.md +157 -799
- package/readme.ru.md +161 -426
- package/readme.tw.md +161 -436
- package/dist/collector.d.ts +0 -245
- package/dist/map.d.ts +0 -76
- package/dist/map.js +0 -253
- package/dist/node.d.ts +0 -182
- package/dist/node.js +0 -918
- package/dist/semantic.d.ts +0 -52
- package/dist/semantic.js +0 -504
- package/dist/set.d.ts +0 -19
- package/dist/set.js +0 -65
- package/dist/statistics.d.ts +0 -97
- package/dist/statistics.js +0 -483
- package/dist/tree.d.ts +0 -82
- package/dist/tree.js +0 -257
- package/dist/window.d.ts +0 -12
- package/dist/window.js +0 -72
|
@@ -0,0 +1,257 @@
|
|
|
1
|
+
import { type BiConsumer, type BiFunctional, type BiPredicate, type Comparator, type Consumer, type Functional, type Indexed, type Predicate, type Supplier, type AsynchronousGenerator, type TriFunctional, type TriPredicate } from "../utility";
|
|
2
|
+
import type { AsynchronousCollector } from "./collector";
|
|
3
|
+
export declare class AsynchronousSemantic<E> {
|
|
4
|
+
protected generator: AsynchronousGenerator<E>;
|
|
5
|
+
protected readonly AsynchronousSemantic: Symbol;
|
|
6
|
+
[Symbol.toStringTag]: string;
|
|
7
|
+
constructor(generator: AsynchronousGenerator<E>);
|
|
8
|
+
concat(other: AsynchronousSemantic<E>): AsynchronousSemantic<E>;
|
|
9
|
+
concat(other: AsyncIterable<E>): AsynchronousSemantic<E>;
|
|
10
|
+
distinct(): AsynchronousSemantic<E>;
|
|
11
|
+
distinct<K>(keyExtractor: Functional<E, K>): AsynchronousSemantic<E>;
|
|
12
|
+
distinct<K>(keyExtractor: BiFunctional<E, bigint, K>): AsynchronousSemantic<E>;
|
|
13
|
+
dropWhile(predicate: Predicate<E>): AsynchronousSemantic<E>;
|
|
14
|
+
dropWhile(predicate: BiPredicate<E, bigint>): AsynchronousSemantic<E>;
|
|
15
|
+
filter(predicate: Predicate<E>): AsynchronousSemantic<E>;
|
|
16
|
+
filter(predicate: BiPredicate<E, bigint>): AsynchronousSemantic<E>;
|
|
17
|
+
flat(mapper: Functional<E, Iterable<E>>): AsynchronousSemantic<E>;
|
|
18
|
+
flat(mapper: BiFunctional<E, bigint, Iterable<E>>): AsynchronousSemantic<E>;
|
|
19
|
+
flat(mapper: Functional<E, AsynchronousSemantic<E>>): AsynchronousSemantic<E>;
|
|
20
|
+
flat(mapper: BiFunctional<E, bigint, AsynchronousSemantic<E>>): AsynchronousSemantic<E>;
|
|
21
|
+
flatMap<R>(mapper: Functional<E, Iterable<R>>): AsynchronousSemantic<R>;
|
|
22
|
+
flatMap<R>(mapper: BiFunctional<E, bigint, Iterable<R>>): AsynchronousSemantic<R>;
|
|
23
|
+
flatMap<R>(mapper: Functional<E, AsynchronousSemantic<R>>): AsynchronousSemantic<R>;
|
|
24
|
+
flatMap<R>(mapper: BiFunctional<E, bigint, AsynchronousSemantic<R>>): AsynchronousSemantic<R>;
|
|
25
|
+
limit(count: number): AsynchronousSemantic<E>;
|
|
26
|
+
limit(count: bigint): AsynchronousSemantic<E>;
|
|
27
|
+
map<R>(mapper: Functional<E, R>): AsynchronousSemantic<R>;
|
|
28
|
+
map<R>(mapper: BiFunctional<E, bigint, R>): AsynchronousSemantic<R>;
|
|
29
|
+
peek(consumer: Consumer<E>): AsynchronousSemantic<E>;
|
|
30
|
+
peek(consumer: BiConsumer<E, bigint>): AsynchronousSemantic<E>;
|
|
31
|
+
redirect(redirector: BiFunctional<E, bigint, bigint>): AsynchronousSemantic<E>;
|
|
32
|
+
reverse(): AsynchronousSemantic<E>;
|
|
33
|
+
shuffle(): AsynchronousSemantic<E>;
|
|
34
|
+
shuffle(mapper: BiFunctional<E, bigint, bigint>): AsynchronousSemantic<E>;
|
|
35
|
+
skip(count: number): AsynchronousSemantic<E>;
|
|
36
|
+
skip(count: bigint): AsynchronousSemantic<E>;
|
|
37
|
+
source(): AsynchronousGenerator<E>;
|
|
38
|
+
sub(start: number, end: number): AsynchronousSemantic<E>;
|
|
39
|
+
sub(start: bigint, end: bigint): AsynchronousSemantic<E>;
|
|
40
|
+
takeWhile(predicate: Predicate<E>): AsynchronousSemantic<E>;
|
|
41
|
+
takeWhile(predicate: BiPredicate<E, bigint>): AsynchronousSemantic<E>;
|
|
42
|
+
toAsynchronousCollectable(): AsynchronousCollectable<E>;
|
|
43
|
+
toAsynchronousCollectable<C extends AsynchronousCollectable<E>>(mapper: Functional<AsynchronousGenerator<E>, C>): C;
|
|
44
|
+
toBigintStatistics(): AsynchronousBigIntStatistics<E>;
|
|
45
|
+
toNumericStatistics(): AsynchronousNumericStatistics<E>;
|
|
46
|
+
toOrdered(): AsynchronousOrderedCollectable<E>;
|
|
47
|
+
toUnordered(): AsynchronousUnorderedCollectable<E>;
|
|
48
|
+
toWindow(): AsynchronousWindowCollectable<E>;
|
|
49
|
+
translate(offset: number): AsynchronousSemantic<E>;
|
|
50
|
+
translate(offset: bigint): AsynchronousSemantic<E>;
|
|
51
|
+
translate(translator: BiFunctional<E, bigint, bigint>): AsynchronousSemantic<E>;
|
|
52
|
+
}
|
|
53
|
+
export declare abstract class AsynchronousCollectable<E> implements AsyncIterable<E> {
|
|
54
|
+
protected readonly AsynchronousCollectable: symbol;
|
|
55
|
+
[Symbol.toStringTag]: string;
|
|
56
|
+
constructor();
|
|
57
|
+
[Symbol.asyncIterator](): globalThis.AsyncGenerator<E, void, undefined>;
|
|
58
|
+
anyMatch(predicate: Predicate<E>): Promise<boolean>;
|
|
59
|
+
allMatch(predicate: Predicate<E>): Promise<boolean>;
|
|
60
|
+
collect<A, R>(collector: AsynchronousCollector<E, A, R>): Promise<R>;
|
|
61
|
+
collect<A, R>(identity: Supplier<A>, accumulator: BiFunctional<A, E, A>, finisher: Functional<A, R>): Promise<R>;
|
|
62
|
+
collect<A, R>(identity: Supplier<A>, accumulator: TriFunctional<A, E, bigint, A>, finisher: Functional<A, R>): Promise<R>;
|
|
63
|
+
collect<A, R>(identity: Supplier<A>, interruptor: Predicate<E>, accumulator: BiFunctional<A, E, A>, finisher: Functional<A, R>): Promise<R>;
|
|
64
|
+
collect<A, R>(identity: Supplier<A>, interruptor: BiPredicate<E, bigint>, accumulator: BiFunctional<A, E, A>, finisher: Functional<A, R>): Promise<R>;
|
|
65
|
+
collect<A, R>(identity: Supplier<A>, interruptor: TriPredicate<E, bigint, A>, accumulator: BiFunctional<A, E, A>, finisher: Functional<A, R>): Promise<R>;
|
|
66
|
+
collect<A, R>(identity: Supplier<A>, interruptor: Predicate<E>, accumulator: TriFunctional<A, E, bigint, A>, finisher: Functional<A, R>): Promise<R>;
|
|
67
|
+
collect<A, R>(identity: Supplier<A>, interruptor: BiPredicate<E, bigint>, accumulator: TriFunctional<A, E, bigint, A>, finisher: Functional<A, R>): Promise<R>;
|
|
68
|
+
collect<A, R>(identity: Supplier<A>, interruptor: TriPredicate<E, bigint, A>, accumulator: TriFunctional<A, E, bigint, A>, finisher: Functional<A, R>): Promise<R>;
|
|
69
|
+
count(): Promise<bigint>;
|
|
70
|
+
error(): Promise<void>;
|
|
71
|
+
error(accumulator: BiFunctional<string, E, string>): Promise<void>;
|
|
72
|
+
error(accumulator: TriFunctional<string, E, bigint, string>): Promise<void>;
|
|
73
|
+
error(prefix: string, accumulator: BiFunctional<string, E, string>, suffix: string): Promise<void>;
|
|
74
|
+
error(prefix: string, accumulator: TriFunctional<string, E, bigint, string>, suffix: string): Promise<void>;
|
|
75
|
+
isEmpty(): Promise<boolean>;
|
|
76
|
+
findAny(): Promise<E>;
|
|
77
|
+
findAt(index: number): Promise<E>;
|
|
78
|
+
findAt(index: bigint): Promise<E>;
|
|
79
|
+
findFirst(): Promise<E>;
|
|
80
|
+
findLast(): Promise<E>;
|
|
81
|
+
findMaximum(): Promise<E>;
|
|
82
|
+
findMaximum(comparator: Comparator<E>): Promise<E>;
|
|
83
|
+
findMinimum(): Promise<E>;
|
|
84
|
+
findMinimum(comparator: Comparator<E>): Promise<E>;
|
|
85
|
+
forEach(action: Consumer<E>): Promise<void>;
|
|
86
|
+
forEach(action: BiConsumer<E, bigint>): Promise<void>;
|
|
87
|
+
group<K>(classifier: Functional<E, K>): Promise<Map<K, Array<E>>>;
|
|
88
|
+
group<K>(classifier: BiFunctional<E, bigint, K>): Promise<Map<K, Array<E>>>;
|
|
89
|
+
groupBy<K, V>(keyExtractor: Functional<E, K>, valueExtractor: Functional<E, V>): Promise<Map<K, Array<V>>>;
|
|
90
|
+
groupBy<K, V>(keyExtractor: BiFunctional<E, bigint, K>, valueExtractor: BiFunctional<E, bigint, K>): Promise<Map<K, Array<V>>>;
|
|
91
|
+
join(): Promise<string>;
|
|
92
|
+
join(delimiter: string): Promise<string>;
|
|
93
|
+
join(prefix: string, delimiter: string, suffix: string): Promise<string>;
|
|
94
|
+
join(prefiex: string, accumulator: BiFunctional<string, E, string>, suffix: string): Promise<string>;
|
|
95
|
+
join(prefiex: string, accumulator: TriFunctional<string, E, bigint, string>, suffix: string): Promise<string>;
|
|
96
|
+
log(): Promise<void>;
|
|
97
|
+
log(accumulator: BiFunctional<string, E, string>): Promise<void>;
|
|
98
|
+
log(accumulator: TriFunctional<string, E, bigint, string>): Promise<void>;
|
|
99
|
+
log(prefix: string, accumulator: BiFunctional<string, E, string>, suffix: string): Promise<void>;
|
|
100
|
+
log(prefix: string, accumulator: TriFunctional<string, E, bigint, string>, suffix: string): Promise<void>;
|
|
101
|
+
nonMatch(predicate: Predicate<E>): Promise<boolean>;
|
|
102
|
+
nonMatch(predicate: BiPredicate<E, bigint>): Promise<boolean>;
|
|
103
|
+
partition(count: bigint): Promise<Array<Array<E>>>;
|
|
104
|
+
partitionBy(classifier: Functional<E, bigint>): Promise<Array<Array<E>>>;
|
|
105
|
+
partitionBy(classifier: BiFunctional<E, bigint, bigint>): Promise<Array<Array<E>>>;
|
|
106
|
+
reduce(accumulator: BiFunctional<E, E, E>): Promise<E>;
|
|
107
|
+
reduce(accumulator: TriFunctional<E, E, bigint, E>): Promise<E>;
|
|
108
|
+
reduce(identity: E, accumulator: BiFunctional<E, E, E>): Promise<E>;
|
|
109
|
+
reduce(identity: E, accumulator: TriFunctional<E, E, bigint, E>): Promise<E>;
|
|
110
|
+
reduce<R>(identity: R, accumulator: BiFunctional<R, E, R>, finisher: Functional<R, R>): Promise<R>;
|
|
111
|
+
reduce<R>(identity: R, accumulator: TriFunctional<R, E, bigint, R>, finisher: Functional<R, R>): Promise<R>;
|
|
112
|
+
semantic(): AsynchronousSemantic<E>;
|
|
113
|
+
abstract source(): AsynchronousGenerator<E>;
|
|
114
|
+
toArray(): Promise<Array<E>>;
|
|
115
|
+
toMap<K, E>(keyExtractor: Functional<E, K>): Promise<Map<K, E>>;
|
|
116
|
+
toMap<K, V>(keyExtractor: Functional<E, K>, valueExtractor: Functional<E, V>): Promise<Map<K, V>>;
|
|
117
|
+
toMap<K, V>(keyExtractor: BiFunctional<E, bigint, K>, valueExtractor: BiFunctional<E, bigint, V>): Promise<Map<K, V>>;
|
|
118
|
+
toSet(): Promise<Set<E>>;
|
|
119
|
+
write<S = string>(stream: WritableStream<S>): Promise<WritableStream<S>>;
|
|
120
|
+
write<S = string>(stream: WritableStream<S>, accumulator: BiFunctional<WritableStream<S>, E, WritableStream<S>>): Promise<WritableStream<S>>;
|
|
121
|
+
write<S = string>(stream: WritableStream<S>, accumulator: TriFunctional<WritableStream<S>, E, bigint, WritableStream<S>>): Promise<WritableStream<S>>;
|
|
122
|
+
}
|
|
123
|
+
export declare class AsynchronousOrderedCollectable<E> extends AsynchronousCollectable<E> {
|
|
124
|
+
protected readonly OrderedCollectable: symbol;
|
|
125
|
+
protected buffer: Array<Indexed<E>>;
|
|
126
|
+
protected listeners: Array<Consumer<Array<Indexed<E>>>>;
|
|
127
|
+
protected complete: boolean;
|
|
128
|
+
[Symbol.toStringTag]: string;
|
|
129
|
+
constructor(generator: AsynchronousGenerator<E>);
|
|
130
|
+
constructor(generator: AsynchronousGenerator<E>, comparator: Comparator<E>);
|
|
131
|
+
[Symbol.asyncIterator](): globalThis.AsyncGenerator<E, void, undefined>;
|
|
132
|
+
findAny(): Promise<E>;
|
|
133
|
+
findAt(index: number): Promise<E>;
|
|
134
|
+
findAt(index: bigint): Promise<E>;
|
|
135
|
+
findFirst(): Promise<E>;
|
|
136
|
+
findLast(): Promise<E>;
|
|
137
|
+
findMaximum(): Promise<E>;
|
|
138
|
+
findMaximum(comparator: Comparator<E>): Promise<E>;
|
|
139
|
+
findMinimum(): Promise<E>;
|
|
140
|
+
findMinimum(comparator: Comparator<E>): Promise<E>;
|
|
141
|
+
source(): AsynchronousGenerator<E>;
|
|
142
|
+
isEmpty(): Promise<boolean>;
|
|
143
|
+
count(): Promise<bigint>;
|
|
144
|
+
}
|
|
145
|
+
export declare class AsynchronousUnorderedCollectable<E> extends AsynchronousCollectable<E> {
|
|
146
|
+
protected readonly AsynchronousUnorderedCollectable: symbol;
|
|
147
|
+
[Symbol.toStringTag]: string;
|
|
148
|
+
protected buffer: Map<bigint, E>;
|
|
149
|
+
protected complete: boolean;
|
|
150
|
+
protected listeners: Array<Consumer<Map<bigint, E>>>;
|
|
151
|
+
constructor(generator: AsynchronousGenerator<E>);
|
|
152
|
+
source(): AsynchronousGenerator<E>;
|
|
153
|
+
[Symbol.asyncIterator](): globalThis.AsyncGenerator<E, void, undefined>;
|
|
154
|
+
}
|
|
155
|
+
export declare abstract class AsynchronousStatistics<E, D extends number | bigint> extends AsynchronousOrderedCollectable<E> {
|
|
156
|
+
protected readonly AsynchronousStatistics: symbol;
|
|
157
|
+
[Symbol.toStringTag]: string;
|
|
158
|
+
constructor(generator: AsynchronousGenerator<E>);
|
|
159
|
+
constructor(generator: AsynchronousGenerator<E>, comparator: Comparator<E>);
|
|
160
|
+
[Symbol.asyncIterator](): globalThis.AsyncGenerator<E, void, undefined>;
|
|
161
|
+
abstract average(): Promise<D>;
|
|
162
|
+
abstract average(mapper: Functional<E, D>): Promise<D>;
|
|
163
|
+
abstract range(): Promise<D>;
|
|
164
|
+
abstract range(mapper: Functional<E, D>): Promise<D>;
|
|
165
|
+
abstract variance(): Promise<D>;
|
|
166
|
+
abstract variance(mapper: Functional<E, D>): Promise<D>;
|
|
167
|
+
abstract standardDeviation(): Promise<D>;
|
|
168
|
+
abstract standardDeviation(mapper: Functional<E, D>): Promise<D>;
|
|
169
|
+
abstract mean(): Promise<D>;
|
|
170
|
+
abstract mean(mapper: Functional<E, D>): Promise<D>;
|
|
171
|
+
abstract median(): Promise<D>;
|
|
172
|
+
abstract median(mapper: Functional<E, D>): Promise<D>;
|
|
173
|
+
abstract mode(): Promise<D>;
|
|
174
|
+
abstract mode(mapper: Functional<E, D>): Promise<D>;
|
|
175
|
+
frequency(): Promise<Map<E, bigint>>;
|
|
176
|
+
abstract summate(): Promise<D>;
|
|
177
|
+
abstract summate(mapper: Functional<E, D>): Promise<D>;
|
|
178
|
+
abstract quantile(quantile: number): Promise<D>;
|
|
179
|
+
abstract quantile(quantile: number, mapper: Functional<E, D>): Promise<D>;
|
|
180
|
+
abstract interquartileRange(): Promise<D>;
|
|
181
|
+
abstract interquartileRange(mapper: Functional<E, D>): Promise<D>;
|
|
182
|
+
abstract skewness(): Promise<D>;
|
|
183
|
+
abstract skewness(mapper: Functional<E, D>): Promise<D>;
|
|
184
|
+
abstract kurtosis(): Promise<D>;
|
|
185
|
+
abstract kurtosis(mapper: Functional<E, D>): Promise<D>;
|
|
186
|
+
}
|
|
187
|
+
export declare class AsynchronousBigIntStatistics<E> extends AsynchronousStatistics<E, bigint> {
|
|
188
|
+
protected readonly BigIntStatistics: symbol;
|
|
189
|
+
[Symbol.toStringTag]: string;
|
|
190
|
+
constructor(generator: AsynchronousGenerator<E>);
|
|
191
|
+
constructor(generator: AsynchronousGenerator<E>, comparator: Comparator<E>);
|
|
192
|
+
[Symbol.asyncIterator](): globalThis.AsyncGenerator<E, void, undefined>;
|
|
193
|
+
average(): Promise<bigint>;
|
|
194
|
+
average(mapper: Functional<E, bigint>): Promise<bigint>;
|
|
195
|
+
range(): Promise<bigint>;
|
|
196
|
+
range(mapper: Functional<E, bigint>): Promise<bigint>;
|
|
197
|
+
variance(): Promise<bigint>;
|
|
198
|
+
variance(mapper: Functional<E, bigint>): Promise<bigint>;
|
|
199
|
+
standardDeviation(): Promise<bigint>;
|
|
200
|
+
standardDeviation(mapper: Functional<E, bigint>): Promise<bigint>;
|
|
201
|
+
mean(): Promise<bigint>;
|
|
202
|
+
mean(mapper: Functional<E, bigint>): Promise<bigint>;
|
|
203
|
+
median(): Promise<bigint>;
|
|
204
|
+
median(mapper: Functional<E, bigint>): Promise<bigint>;
|
|
205
|
+
mode(): Promise<bigint>;
|
|
206
|
+
mode(mapper: Functional<E, bigint>): Promise<bigint>;
|
|
207
|
+
summate(): Promise<bigint>;
|
|
208
|
+
summate(mapper: Functional<E, bigint>): Promise<bigint>;
|
|
209
|
+
quantile(quantile: number): Promise<bigint>;
|
|
210
|
+
quantile(quantile: number, mapper: Functional<E, bigint>): Promise<bigint>;
|
|
211
|
+
interquartileRange(): Promise<bigint>;
|
|
212
|
+
interquartileRange(mapper: Functional<E, bigint>): Promise<bigint>;
|
|
213
|
+
skewness(): Promise<bigint>;
|
|
214
|
+
skewness(mapper: Functional<E, bigint>): Promise<bigint>;
|
|
215
|
+
kurtosis(): Promise<bigint>;
|
|
216
|
+
kurtosis(mapper: Functional<E, bigint>): Promise<bigint>;
|
|
217
|
+
}
|
|
218
|
+
export declare class AsynchronousNumericStatistics<E> extends AsynchronousStatistics<E, number> {
|
|
219
|
+
protected readonly AsynchronousNumericStatistics: symbol;
|
|
220
|
+
[Symbol.toStringTag]: string;
|
|
221
|
+
constructor(generator: AsynchronousGenerator<E>);
|
|
222
|
+
constructor(generator: AsynchronousGenerator<E>, comparator: Comparator<E>);
|
|
223
|
+
[Symbol.asyncIterator](): globalThis.AsyncGenerator<E, void, undefined>;
|
|
224
|
+
average(): Promise<number>;
|
|
225
|
+
average(mapper: Functional<E, number>): Promise<number>;
|
|
226
|
+
range(): Promise<number>;
|
|
227
|
+
range(mapper: Functional<E, number>): Promise<number>;
|
|
228
|
+
variance(): Promise<number>;
|
|
229
|
+
variance(mapper: Functional<E, number>): Promise<number>;
|
|
230
|
+
standardDeviation(): Promise<number>;
|
|
231
|
+
standardDeviation(mapper: Functional<E, number>): Promise<number>;
|
|
232
|
+
mean(): Promise<number>;
|
|
233
|
+
mean(mapper: Functional<E, number>): Promise<number>;
|
|
234
|
+
median(): Promise<number>;
|
|
235
|
+
median(mapper: Functional<E, number>): Promise<number>;
|
|
236
|
+
mode(): Promise<number>;
|
|
237
|
+
mode(mapper: Functional<E, number>): Promise<number>;
|
|
238
|
+
summate(): Promise<number>;
|
|
239
|
+
summate(mapper: Functional<E, number>): Promise<number>;
|
|
240
|
+
quantile(quantile: number): Promise<number>;
|
|
241
|
+
quantile(quantile: number, mapper: Functional<E, number>): Promise<number>;
|
|
242
|
+
interquartileRange(): Promise<number>;
|
|
243
|
+
interquartileRange(mapper: Functional<E, number>): Promise<number>;
|
|
244
|
+
skewness(): Promise<number>;
|
|
245
|
+
skewness(mapper: Functional<E, number>): Promise<number>;
|
|
246
|
+
kurtosis(): Promise<number>;
|
|
247
|
+
kurtosis(mapper: Functional<E, number>): Promise<number>;
|
|
248
|
+
}
|
|
249
|
+
export declare class AsynchronousWindowCollectable<E> extends AsynchronousOrderedCollectable<E> {
|
|
250
|
+
protected readonly WindowCollectable: symbol;
|
|
251
|
+
[Symbol.toStringTag]: string;
|
|
252
|
+
constructor(generator: AsynchronousGenerator<E>);
|
|
253
|
+
constructor(generator: AsynchronousGenerator<E>, comparator: Comparator<E>);
|
|
254
|
+
[Symbol.asyncIterator](): globalThis.AsyncGenerator<E, void, undefined>;
|
|
255
|
+
slide(size: bigint, step?: bigint): AsynchronousSemantic<AsynchronousSemantic<E>>;
|
|
256
|
+
tumble(size: bigint): AsynchronousSemantic<AsynchronousSemantic<E>>;
|
|
257
|
+
}
|