@systemfsoftware/stryker-js 10.1.2 → 11.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (34) hide show
  1. package/CHANGELOG.md +12 -0
  2. package/README.md +34 -26
  3. package/dist/Run.schema-B_qdjbe9.mjs +226 -0
  4. package/dist/{Run.schema-BsSOfQnD.d.mts → Run.schema-CUpTIyrj.d.mts} +91 -19
  5. package/dist/RunEnvironment.service-zgwzyXpO.d.mts +456 -0
  6. package/dist/config.d.mts +6 -22
  7. package/dist/config.mjs +2 -7
  8. package/dist/dist-ClUhPgb6.mjs +8020 -0
  9. package/dist/{dist-CjdAPjrJ.mjs → dist-DKhCurgc.mjs} +95 -1
  10. package/dist/events.d.mts +2 -2
  11. package/dist/events.mjs +2 -2
  12. package/dist/index-CMCCQdTd.d.mts +4087 -0
  13. package/dist/index.d.mts +1084 -3319
  14. package/dist/index.mjs +116 -3
  15. package/dist/main.mjs +114232 -86470
  16. package/dist/promises.d.mts +4 -4
  17. package/dist/promises.mjs +6 -10
  18. package/dist/{rolldown-runtime-XITHOX9H.mjs → rolldown-runtime-8H4AJuhK.mjs} +1 -2
  19. package/dist/run-stages.cell-CPpkn7og.mjs +8639 -0
  20. package/dist/stryker-config.schema-CCnDtVuW.mjs +82 -0
  21. package/dist/stryker-config.schema-lr7GMjpY.d.mts +35 -0
  22. package/package.json +33 -48
  23. package/dist/Run.schema-57k1klOe.mjs +0 -8785
  24. package/dist/compiler-BTpMWGqK.mjs +0 -48955
  25. package/dist/compiler-CEwQzMxZ.mjs +0 -48955
  26. package/dist/dist-Cpq7Esc3.mjs +0 -17404
  27. package/dist/dist-Dmv1WEP8.mjs +0 -5337
  28. package/dist/dist-DsmXFb2_.mjs +0 -17404
  29. package/dist/index-CogNSD0V.d.mts +0 -1214
  30. package/dist/merge-config-CHZWyvVQ.mjs +0 -19
  31. package/dist/mutation-test.cell-DS86DvC9.d.mts +0 -1757
  32. package/dist/output-mode-CfGHDpi5.d.mts +0 -17
  33. package/dist/sourcemap-codec-qFD3eFBj.mjs +0 -186
  34. package/dist/src-jn0C-9I0.mjs +0 -6558
package/dist/index.d.mts CHANGED
@@ -1,3319 +1,1084 @@
1
- import * as Cause from 'effect/Cause';
2
- import { Cell } from '@systemfsoftware/effect-cell-types';
3
- import * as ChildProcessSpawner from 'effect/unstable/process/ChildProcessSpawner';
4
- import * as Context from 'effect/Context';
5
- import * as DateTime from 'effect/DateTime';
6
- import { Duration } from 'effect/Duration';
7
- import * as Effect from 'effect/Effect';
8
- import * as EffectDuration from 'effect/Duration';
9
- import * as Exit from 'effect/Exit';
10
- import * as FileSystem from 'effect/FileSystem';
11
- import { HarnessModuleBuiltin } from '@systemfsoftware/stryker-vm-harness';
12
- import * as HashMap from 'effect/HashMap';
13
- import { JsonSchema } from 'effect/JsonSchema';
14
- import * as Layer from 'effect/Layer';
15
- import * as Metric from 'effect/Metric';
16
- import * as MutableHashMap from 'effect/MutableHashMap';
17
- import * as MutableHashSet from 'effect/MutableHashSet';
18
- import * as Option from 'effect/Option';
19
- import * as Path from 'effect/Path';
20
- import { PlatformError } from 'effect/PlatformError';
21
- import * as Queue from 'effect/Queue';
22
- import * as Rpc from 'effect/unstable/rpc/Rpc';
23
- import * as RpcClient from 'effect/unstable/rpc/RpcClient';
24
- import { RpcClientError } from 'effect/unstable/rpc/RpcClientError';
25
- import * as RpcGroup from 'effect/unstable/rpc/RpcGroup';
26
- import * as RpcMiddleware from 'effect/unstable/rpc/RpcMiddleware';
27
- import * as S from 'effect/Schema';
28
- import * as Schedule from 'effect/Schedule';
29
- import { Schema } from 'effect';
30
- import * as Scope from 'effect/Scope';
31
- import * as Socket from 'effect/unstable/socket/Socket';
32
- import * as Stdio from 'effect/Stdio';
33
- import * as Stream from 'effect/Stream';
34
- import { YieldableError } from 'effect/Cause';
35
-
36
- declare interface AccessorProperty$1 extends Span$1 {
37
- type: AccessorPropertyType;
38
- decorators: Array<Decorator$1>;
39
- key: PropertyKey_2;
40
- typeAnnotation?: TSTypeAnnotation$1 | null;
41
- value: Expression$1 | null;
42
- computed: boolean;
43
- static: boolean;
44
- override?: boolean;
45
- definite?: boolean;
46
- accessibility?: TSAccessibility | null;
47
- declare?: false;
48
- optional?: false;
49
- readonly?: false;
50
- parent?: Node$1;
51
- }
52
-
53
- declare type AccessorPropertyType = "AccessorProperty" | "TSAbstractAccessorProperty";
54
-
55
- export declare const ACTIONABLE_STATUSES: readonly ['Survived', 'NoCoverage', 'Timeout', 'RuntimeError'];
56
-
57
- export declare type AnyPluginDescriptor = AnyWorkerPluginDescriptor | EvaluatorPluginDescriptor;
58
-
59
- export declare type AnyWorkerPluginDescriptor = { [K in WorkerPluginKind]: WorkerPluginDescriptor<K>; }[WorkerPluginKind];
60
-
61
- export declare type AnyWorkerPluginSource = { [K in WorkerPluginKind]: WorkerPluginSource<K>; }[WorkerPluginKind];
62
-
63
- declare type Argument$1 = SpreadElement$1 | Expression$1;
64
-
65
- declare interface ArrayAssignmentTarget extends Span$1 {
66
- type: "ArrayPattern";
67
- decorators?: [];
68
- elements: Array<AssignmentTargetMaybeDefault | AssignmentTargetRest | null>;
69
- optional?: false;
70
- typeAnnotation?: null;
71
- parent?: Node$1;
72
- }
73
-
74
- declare interface ArrayExpression$1 extends Span$1 {
75
- type: "ArrayExpression";
76
- elements: Array<ArrayExpressionElement>;
77
- parent?: Node$1;
78
- }
79
-
80
- declare type ArrayExpressionElement = SpreadElement$1 | null | Expression$1;
81
-
82
- declare interface ArrayPattern$1 extends Span$1 {
83
- type: "ArrayPattern";
84
- decorators?: [];
85
- elements: Array<BindingPattern$1 | BindingRestElement$1 | null>;
86
- optional?: false;
87
- typeAnnotation?: TSTypeAnnotation$1 | null;
88
- parent?: Node$1;
89
- }
90
-
91
- declare interface ArrowFunctionExpression$1 extends Span$1 {
92
- type: "ArrowFunctionExpression";
93
- expression: boolean;
94
- async: boolean;
95
- typeParameters?: TSTypeParameterDeclaration$1 | null;
96
- params: ParamPattern$1[];
97
- returnType?: TSTypeAnnotation$1 | null;
98
- body: FunctionBody | Expression$1;
99
- id: null;
100
- generator: false;
101
- parent?: Node$1;
102
- }
103
-
104
- declare interface AssignmentExpression$1 extends Span$1 {
105
- type: "AssignmentExpression";
106
- operator: AssignmentOperator;
107
- left: AssignmentTarget;
108
- right: Expression$1;
109
- parent?: Node$1;
110
- }
111
-
112
- declare type AssignmentOperator = "=" | "+=" | "-=" | "*=" | "/=" | "%=" | "**=" | "<<=" | ">>=" | ">>>=" | "|=" | "^=" | "&=" | "||=" | "&&=" | "??=";
113
-
114
- declare interface AssignmentPattern$1 extends Span$1 {
115
- type: "AssignmentPattern";
116
- decorators?: [];
117
- left: BindingPattern$1;
118
- right: Expression$1;
119
- optional?: false;
120
- typeAnnotation?: null;
121
- parent?: Node$1;
122
- }
123
-
124
- declare type AssignmentTarget = SimpleAssignmentTarget$1 | AssignmentTargetPattern;
125
-
126
- declare type AssignmentTargetMaybeDefault = AssignmentTargetWithDefault | AssignmentTarget;
127
-
128
- declare type AssignmentTargetPattern = ArrayAssignmentTarget | ObjectAssignmentTarget;
129
-
130
- declare type AssignmentTargetProperty = AssignmentTargetPropertyIdentifier | AssignmentTargetPropertyProperty;
131
-
132
- declare interface AssignmentTargetPropertyIdentifier extends Span$1 {
133
- type: "Property";
134
- kind: "init";
135
- key: IdentifierReference$1;
136
- value: IdentifierReference$1 | AssignmentTargetWithDefault;
137
- method: false;
138
- shorthand: true;
139
- computed: false;
140
- optional?: false;
141
- parent?: Node$1;
142
- }
143
-
144
- declare interface AssignmentTargetPropertyProperty extends Span$1 {
145
- type: "Property";
146
- kind: "init";
147
- key: PropertyKey_2;
148
- value: AssignmentTargetMaybeDefault;
149
- method: false;
150
- shorthand: false;
151
- computed: boolean;
152
- optional?: false;
153
- parent?: Node$1;
154
- }
155
-
156
- declare interface AssignmentTargetRest extends Span$1 {
157
- type: "RestElement";
158
- decorators?: [];
159
- argument: AssignmentTarget;
160
- optional?: false;
161
- typeAnnotation?: null;
162
- value?: null;
163
- parent?: Node$1;
164
- }
165
-
166
- declare interface AssignmentTargetWithDefault extends Span$1 {
167
- type: "AssignmentPattern";
168
- decorators?: [];
169
- left: AssignmentTarget;
170
- right: Expression$1;
171
- optional?: false;
172
- typeAnnotation?: null;
173
- parent?: Node$1;
174
- }
175
-
176
- declare interface AwaitExpression extends Span$1 {
177
- type: "AwaitExpression";
178
- argument: Expression$1;
179
- parent?: Node$1;
180
- }
181
-
182
- export declare interface BaseTestResult {
183
- readonly id: string;
184
- readonly name: string;
185
- readonly timeSpentMs: number;
186
- readonly fileName?: string;
187
- readonly startPosition?: Position;
188
- }
189
-
190
- declare interface BigIntLiteral$1 extends Span$1 {
191
- type: "Literal";
192
- value: bigint;
193
- raw: string | null;
194
- bigint: string;
195
- parent?: Node$1;
196
- }
197
-
198
- declare interface BinaryExpression$1 extends Span$1 {
199
- type: "BinaryExpression";
200
- left: Expression$1;
201
- operator: BinaryOperator;
202
- right: Expression$1;
203
- parent?: Node$1;
204
- }
205
-
206
- declare type BinaryOperator = "==" | "!=" | "===" | "!==" | "<" | "<=" | ">" | ">=" | "+" | "-" | "*" | "/" | "%" | "**" | "<<" | ">>" | ">>>" | "|" | "^" | "&" | "in" | "instanceof";
207
-
208
- declare interface BindingIdentifier$1 extends Span$1 {
209
- type: "Identifier";
210
- decorators?: [];
211
- name: string;
212
- optional?: false;
213
- typeAnnotation?: TSTypeAnnotation$1 | null;
214
- parent?: Node$1;
215
- }
216
-
217
- declare type BindingPattern$1 = BindingIdentifier$1 | ObjectPattern | ArrayPattern$1 | AssignmentPattern$1;
218
-
219
- declare interface BindingProperty$1 extends Span$1 {
220
- type: "Property";
221
- kind: "init";
222
- key: PropertyKey_2;
223
- value: BindingPattern$1;
224
- method: false;
225
- shorthand: boolean;
226
- computed: boolean;
227
- optional?: false;
228
- parent?: Node$1;
229
- }
230
-
231
- declare interface BindingRestElement$1 extends Span$1 {
232
- type: "RestElement";
233
- decorators?: [];
234
- argument: BindingPattern$1;
235
- optional?: false;
236
- typeAnnotation?: TSTypeAnnotation$1 | null;
237
- value?: null;
238
- parent?: Node$1;
239
- }
240
-
241
- declare interface BlockStatement$1 extends Span$1 {
242
- type: "BlockStatement";
243
- body: Array<Statement$1>;
244
- parent?: Node$1;
245
- }
246
-
247
- declare interface BooleanLiteral$1 extends Span$1 {
248
- type: "Literal";
249
- value: boolean;
250
- raw: string | null;
251
- parent?: Node$1;
252
- }
253
-
254
- declare interface BreakStatement$1 extends Span$1 {
255
- type: "BreakStatement";
256
- label: LabelIdentifier$1 | null;
257
- parent?: Node$1;
258
- }
259
-
260
- export declare const buildTestRunner: <ChildRunnerError>(context: TestRunnerBuildContext, childProcessRunner: Effect.Effect<PooledTestRunner, ChildRunnerError, Scope.Scope | WorkerLauncher>) => Effect.Effect<PooledTestRunner, PooledTestRunnerError | ChildRunnerError, ChildProcessSpawner.ChildProcessSpawner | FileSystem.FileSystem | Scope.Scope | WorkerLauncher>;
261
-
262
- export declare function buildVerdictEnvelope(report: MutationTestResult, mode: OutputMode, signal: ModeSignal, runId: string, basePath: string, pathService: Path.Path): VerdictEnvelope;
263
-
264
- declare type Built<T> = T extends null | undefined ? T : T extends readonly unknown[] ? (number extends T['length'] ? Array<Built<T[number]>> : T) : T extends Span$1 ? { [K in keyof T as K extends keyof Span$1 ? never : K]: Child<T[K]>; } & Partial<Pick<T, keyof Span$1>> : T;
265
-
266
- export declare const calculateMetrics: (files: Readonly<Record<string, FileResult>>) => MetricsResult;
267
-
268
- declare interface CallExpression$1 extends Span$1 {
269
- type: "CallExpression";
270
- callee: Expression$1;
271
- typeArguments?: TSTypeParameterInstantiation$1 | null;
272
- arguments: Array<Argument$1>;
273
- optional: boolean;
274
- parent?: Node$1;
275
- }
276
-
277
- declare interface CatchClause$1 extends Span$1 {
278
- type: "CatchClause";
279
- param: BindingPattern$1 | null;
280
- body: BlockStatement$1;
281
- parent?: Node$1;
282
- }
283
-
284
- declare type ChainElement = CallExpression$1 | TSNonNullExpression$1 | MemberExpression$1;
285
-
286
- declare interface ChainExpression$1 extends Span$1 {
287
- type: "ChainExpression";
288
- expression: ChainElement;
289
- parent?: Node$1;
290
- }
291
-
292
- export declare class CheckerAnsweredUnrequested extends CheckerAnsweredUnrequested_base {}
293
-
294
- declare const CheckerAnsweredUnrequested_base: S.Class<CheckerAnsweredUnrequested, S.TaggedStruct<"CheckerAnsweredUnrequested", {
295
- readonly checkerName: S.String;
296
- readonly phase: S.Literals<readonly ["check", "group"]>;
297
- readonly unrequestedIds: S.$Array<S.String>;
298
- readonly requestedIds: S.$Array<S.String>;
299
- }>, YieldableError>;
300
-
301
- export declare const CheckerCheckResult: S.$Record<S.String, S.Union<readonly [S.Struct<{
302
- readonly status: S.Literal<"passed">;
303
- }>, S.Struct<{
304
- readonly status: S.Literal<"compileError">;
305
- readonly reason: S.String;
306
- }>]>>;
307
-
308
- export declare type CheckerContractBroken = CheckerAnsweredUnrequested | CheckerSkippedRequested;
309
-
310
- export declare type CheckerCrash = ChildProcessCrashedError | OutOfMemoryError;
311
-
312
- export declare const checkerDuration: Metric.Histogram<Duration>;
313
-
314
- export declare class CheckerFailed extends CheckerFailed_base {}
315
-
316
- declare const CheckerFailed_base: S.Class<CheckerFailed, S.TaggedStruct<"CheckerFailed", {
317
- readonly cause: S.String;
318
- readonly checkerName: S.String;
319
- readonly mutantIds: S.$Array<S.String>;
320
- }>, YieldableError>;
321
-
322
- export declare const CheckerGroupResult: S.$Array<S.$Array<S.String>>;
323
-
324
- export declare const checkerMutantsChecked: Metric.Counter<number>;
325
-
326
- export declare const checkerMutantsSkipped: Metric.Counter<number>;
327
-
328
- export declare const CheckerMutantWire: S.Struct<{
329
- readonly id: S.NonEmptyString;
330
- readonly fileName: S.NonEmptyString;
331
- readonly mutatorName: S.NonEmptyString;
332
- readonly replacement: S.String;
333
- readonly location: S.Struct<{
334
- readonly start: S.Struct<{
335
- readonly line: S.Finite;
336
- readonly column: S.Finite;
337
- }>;
338
- readonly end: S.Struct<{
339
- readonly line: S.Finite;
340
- readonly column: S.Finite;
341
- }>;
342
- }>;
343
- }>;
344
-
345
- export declare type CheckerMutantWire = typeof CheckerMutantWire.Type;
346
-
347
- export declare const checkerProcessCrashes: Metric.Counter<number>;
348
-
349
- export declare const CheckerRequest: S.Struct<{
350
- readonly checkerName: S.String;
351
- readonly mutants: S.$Array<S.Struct<{
352
- readonly id: S.NonEmptyString;
353
- readonly fileName: S.NonEmptyString;
354
- readonly mutatorName: S.NonEmptyString;
355
- readonly replacement: S.String;
356
- readonly location: S.Struct<{
357
- readonly start: S.Struct<{
358
- readonly line: S.Finite;
359
- readonly column: S.Finite;
360
- }>;
361
- readonly end: S.Struct<{
362
- readonly line: S.Finite;
363
- readonly column: S.Finite;
364
- }>;
365
- }>;
366
- }>>;
367
- }>;
368
-
369
- export declare type CheckerRequest = typeof CheckerRequest.Type;
370
-
371
- /**
372
- * A checker held by the pool.
373
- *
374
- * The pool must be able to interrupt a checker mid-call when the run is
375
- * cancelled, so the port uses Effect, which can be interrupted, where a Promise
376
- * cannot. The error channel names both crash variants rather than `unknown`,
377
- * which lets the retry combinator prove it handles every one of them.
378
- */
379
- export declare interface CheckerResourceService {
380
- readonly check: (checkerName: string, mutants: readonly CheckerMutantWire[]) => Effect.Effect<Record<string, CheckResult>, CheckerCrash | CheckerFailed>;
381
- readonly group: (checkerName: string, mutants: readonly CheckerMutantWire[]) => Effect.Effect<readonly (readonly string[])[], CheckerCrash | CheckerFailed>;
382
- }
383
-
384
- export declare const checkerRpcFailures: Metric.Counter<number>;
385
-
386
- export declare const CheckerRpcs: RpcGroup.RpcGroup<TracedRpc<'check', typeof CheckerRequest, typeof CheckerCheckResult, typeof CheckerFailed> | TracedRpc<'group', typeof CheckerRequest, typeof CheckerGroupResult, typeof CheckerFailed>>;
387
-
388
- export declare class CheckerSkippedRequested extends CheckerSkippedRequested_base {}
389
-
390
- declare const CheckerSkippedRequested_base: S.Class<CheckerSkippedRequested, S.TaggedStruct<"CheckerSkippedRequested", {
391
- readonly checkerName: S.String;
392
- readonly phase: S.Literals<readonly ["check", "group"]>;
393
- readonly missingIds: S.$Array<S.String>;
394
- }>, YieldableError>;
395
-
396
- export declare const checkGroupedPlans: (checker: CheckerResourceService, checkerName: string, plans: readonly RunPlan[]) => Effect.Effect<readonly (readonly [RunPlan, CheckResult])[], CheckerCrash | CheckerFailed | CheckerContractBroken>;
397
-
398
- export declare type CheckResult = FailedCheckResult | PassedCheckResult;
399
-
400
- declare type Child<T> = T extends null | undefined ? T : T extends readonly unknown[] ? (number extends T['length'] ? Array<Child<T[number]>> : T) : T extends Span$1 ? Built<T> | T : T;
401
-
402
- /**
403
- * The child process hosting a worker ended when it was not supposed to.
404
- */
405
- export declare class ChildProcessCrashedError extends ChildProcessCrashedError_base {
406
- readonly exitClass: 'InternalError';
407
- }
408
-
409
- declare const ChildProcessCrashedError_base: Schema.Class<ChildProcessCrashedError, Schema.TaggedStruct<"ChildProcessCrashedError", {
410
- readonly pid: Schema.Int;
411
- readonly exit: Schema.Union<readonly [Schema.Struct<{
412
- readonly _tag: Schema.Literals<readonly ["Code"]>;
413
- readonly code: Schema.Int;
414
- }>, Schema.Struct<{
415
- readonly _tag: Schema.Literals<readonly ["Signal"]>;
416
- readonly signal: Schema.String;
417
- }>]>;
418
- readonly cause: Schema.optional<Schema.String>;
419
- }>, YieldableError>;
420
-
421
- declare interface Class$1 extends Span$1 {
422
- type: ClassType;
423
- decorators: Array<Decorator$1>;
424
- id: BindingIdentifier$1 | null;
425
- typeParameters?: TSTypeParameterDeclaration$1 | null;
426
- superClass: Expression$1 | null;
427
- superTypeArguments?: TSTypeParameterInstantiation$1 | null;
428
- implements?: Array<TSClassImplements>;
429
- body: ClassBody$1;
430
- abstract?: boolean;
431
- declare?: boolean;
432
- parent?: Node$1;
433
- }
434
-
435
- declare interface ClassBody$1 extends Span$1 {
436
- type: "ClassBody";
437
- body: Array<ClassElement>;
438
- parent?: Node$1;
439
- }
440
-
441
- declare type ClassElement = StaticBlock$1 | MethodDefinition$1 | PropertyDefinition$1 | AccessorProperty$1 | TSIndexSignature$1;
442
-
443
- export declare const classifyWorkerExit: (pid: number, exitCode: number) => ChildProcessCrashedError | OutOfMemoryError;
444
-
445
- declare type ClassType = "ClassDeclaration" | "ClassExpression";
446
-
447
- export declare interface CompleteDryRunResult {
448
- readonly tests: readonly TestResult[];
449
- readonly mutantCoverage?: MutantCoverage;
450
- readonly status: 'complete';
451
- }
452
-
453
- declare interface ComputedMemberExpression extends Span$1 {
454
- type: "MemberExpression";
455
- object: Expression$1;
456
- property: Expression$1;
457
- optional: boolean;
458
- computed: true;
459
- parent?: Node$1;
460
- }
461
-
462
- declare interface ConditionalExpression$1 extends Span$1 {
463
- type: "ConditionalExpression";
464
- test: Expression$1;
465
- consequent: Expression$1;
466
- alternate: Expression$1;
467
- parent?: Node$1;
468
- }
469
-
470
- export declare const CONFIG_SYNTAX_HELP: string;
471
-
472
- export declare const ConfigDocumentSchema: S.$Record<S.String, S.Unknown>;
473
-
474
- export declare class ConfigError extends ConfigError_base {
475
- readonly exitClass: 'ConfigError';
476
- }
477
-
478
- declare const ConfigError_base: S.Class<ConfigError, S.TaggedStruct<"ConfigError", {
479
- readonly message: S.String;
480
- }>, YieldableError>;
481
-
482
- export declare class ConfigFileInvalidError extends ConfigFileInvalidError_base {
483
- readonly exitClass: 'ConfigError';
484
- }
485
-
486
- declare const ConfigFileInvalidError_base: S.Class<ConfigFileInvalidError, S.TaggedStruct<"ConfigFileInvalidError", {
487
- readonly file: S.String;
488
- readonly cause: S.Unknown;
489
- }>, YieldableError>;
490
-
491
- export declare class ConfigFileNotFoundError extends ConfigFileNotFoundError_base {
492
- readonly exitClass: 'ConfigError';
493
- }
494
-
495
- declare const ConfigFileNotFoundError_base: S.Class<ConfigFileNotFoundError, S.TaggedStruct<"ConfigFileNotFoundError", {
496
- readonly file: S.String;
497
- }>, YieldableError>;
498
-
499
- export declare class ConfigFileUnreadableError extends ConfigFileUnreadableError_base {
500
- readonly exitClass: 'ConfigError';
501
- }
502
-
503
- declare const ConfigFileUnreadableError_base: S.Class<ConfigFileUnreadableError, S.TaggedStruct<"ConfigFileUnreadableError", {
504
- readonly file: S.String;
505
- readonly cause: S.Unknown;
506
- }>, YieldableError>;
507
-
508
- export declare class ConfigFileUnsupportedError extends ConfigFileUnsupportedError_base {
509
- readonly exitClass: 'ConfigError';
510
- get message(): string;
511
- }
512
-
513
- declare const ConfigFileUnsupportedError_base: S.Class<ConfigFileUnsupportedError, S.TaggedStruct<"ConfigFileUnsupportedError", {
514
- readonly file: S.String;
515
- readonly hint: S.String;
516
- }>, YieldableError>;
517
-
518
- export declare interface ConfigInvocation {
519
- readonly command: 'run' | 'merge-reports';
520
- readonly mode: OutputMode;
521
- }
522
-
523
- export declare const connectRetry: Schedule.Schedule<Duration, unknown, never, never>;
524
-
525
- declare interface ContinueStatement$1 extends Span$1 {
526
- type: "ContinueStatement";
527
- label: LabelIdentifier$1 | null;
528
- parent?: Node$1;
529
- }
530
-
531
- export declare const countMutants: (mutants: readonly MutantResult[]) => Metrics;
532
-
533
- export declare type CoverageAnalysis = 'off' | 'all' | 'perTest';
534
-
535
- export declare type CoverageData = Record<string, number>;
536
-
537
- export declare const createDefaultOptions: Effect.Effect<StrykerOptions>;
538
-
539
- export declare function createFileMatcher(pattern: boolean | string, pathService: Path.Path, allowHiddenFiles?: boolean): (fileName: string) => boolean;
540
-
541
- declare interface DebuggerStatement extends Span$1 {
542
- type: "DebuggerStatement";
543
- parent?: Node$1;
544
- }
545
-
546
- export declare const decideExtendsStep: (state: ExtendsStepState, document: PartialStrykerOptions, file: string, pathService: Path.Path) => ExtendsStepDecision;
547
-
548
- declare type Declaration = VariableDeclaration$1 | Function$1 | Class$1 | TSTypeAliasDeclaration$1 | TSInterfaceDeclaration$1 | TSEnumDeclaration$1 | TSModuleDeclaration$1 | TSGlobalDeclaration | TSImportEqualsDeclaration$1;
549
-
550
- declare interface Decorator$1 extends Span$1 {
551
- type: "Decorator";
552
- expression: Expression$1;
553
- parent?: Node$1;
554
- }
555
-
556
- export declare function deepFreeze<T>(target: T): Immutable<T>;
557
-
558
- /**
559
- * Every option optional, all the way down, and mutable: this is the type a
560
- * caller CONSTRUCTS by assignment, so `readonly` is stripped. The decoded
561
- * `StrykerOptions` keeps it - that side is read, never built.
562
- */
563
- export declare type DeepOptional<T, V = unknown> = { -readonly [P in keyof T]?: T[P] extends Record<string, V> ? DeepOptional<T[P], V> | undefined : T[P]; };
564
-
565
- export declare const defaultOptions: Effect.Effect<Immutable<StrykerOptions>, never, never>;
566
-
567
- export declare function describeErrors(error: S.SchemaError): string[];
568
-
569
- declare interface Directive extends Span$1 {
570
- type: "ExpressionStatement";
571
- expression: StringLiteral$1;
572
- directive: string;
573
- parent?: Node$1;
574
- }
575
-
576
- declare interface DoWhileStatement$1 extends Span$1 {
577
- type: "DoWhileStatement";
578
- body: Statement$1;
579
- test: Expression$1;
580
- parent?: Node$1;
581
- }
582
-
583
- export declare class DryRunCompleted extends DryRunCompleted_base {}
584
-
585
- declare const DryRunCompleted_base: S.Class<DryRunCompleted, S.TaggedStruct<"dryRunCompleted", {
586
- readonly timing: S.Struct<{
587
- readonly net: S.Finite;
588
- readonly overhead: S.Finite;
589
- }>;
590
- readonly capabilities: S.Struct<{
591
- readonly reloadEnvironment: S.Boolean;
592
- }>;
593
- readonly testCount: S.Int;
594
- readonly tests: S.$Array<S.Union<readonly [S.Struct<{
595
- readonly id: S.String;
596
- readonly name: S.String;
597
- readonly timeSpentMs: S.Finite;
598
- readonly fileName: S.optionalKey<S.String>;
599
- readonly startPosition: S.optionalKey<S.Struct<{
600
- readonly line: S.Finite;
601
- readonly column: S.Finite;
602
- }>>;
603
- readonly status: S.Literal<"failed">;
604
- readonly failureMessage: S.String;
605
- }>, S.Struct<{
606
- readonly id: S.String;
607
- readonly name: S.String;
608
- readonly timeSpentMs: S.Finite;
609
- readonly fileName: S.optionalKey<S.String>;
610
- readonly startPosition: S.optionalKey<S.Struct<{
611
- readonly line: S.Finite;
612
- readonly column: S.Finite;
613
- }>>;
614
- readonly status: S.Literal<"skipped">;
615
- }>, S.Struct<{
616
- readonly id: S.String;
617
- readonly name: S.String;
618
- readonly timeSpentMs: S.Finite;
619
- readonly fileName: S.optionalKey<S.String>;
620
- readonly startPosition: S.optionalKey<S.Struct<{
621
- readonly line: S.Finite;
622
- readonly column: S.Finite;
623
- }>>;
624
- readonly status: S.Literal<"success">;
625
- }>]>>;
626
- }>, {}>;
627
-
628
- export declare interface DryRunDone extends InstrumentDone {
629
- readonly dryRunResult: CompleteDryRunResult;
630
- readonly testCoverage: TestCoverage;
631
- readonly timeOverhead: EffectDuration.Duration;
632
- }
633
-
634
- export declare interface DryRunOptions extends RunOptions {
635
- readonly coverageAnalysis: CoverageAnalysis;
636
- readonly files?: readonly string[];
637
- readonly testFiles?: readonly string[];
638
- }
639
-
640
- export declare type DryRunResult = CompleteDryRunResult | ErrorDryRunResult | TimeoutDryRunResult;
641
-
642
- declare interface EmptyStatement$1 extends Span$1 {
643
- type: "EmptyStatement";
644
- parent?: Node$1;
645
- }
646
-
647
- export declare type EnginePorts = ChildProcessSpawner.ChildProcessSpawner | FileSystem.FileSystem | Path.Path | Stdio.Stdio | WorkerLauncher;
648
-
649
- export declare interface ErrorDryRunResult {
650
- readonly status: 'error';
651
- readonly errorMessage: string;
652
- }
653
-
654
- export declare interface ErrorMutantRunResult {
655
- readonly status: 'error';
656
- readonly errorMessage: string;
657
- }
658
-
659
- export declare interface EvaluatorPluginDescriptor {
660
- readonly kind: 'Evaluator';
661
- readonly name: string;
662
- }
663
-
664
- export declare interface EvaluatorPluginSource {
665
- readonly kind: 'Evaluator';
666
- readonly name: string;
667
- readonly modulePath: string;
668
- }
669
-
670
- export declare const EXIT_CODE: Record<ExitClass, number>;
671
-
672
- export declare const ExitClass: S.Literals<readonly ["VerdictFail", "ConfigError", "RuntimeError", "InternalError"]>;
673
-
674
- export declare type ExitClass = typeof ExitClass.Type;
675
-
676
- declare interface ExportAllDeclaration$1 extends Span$1 {
677
- type: "ExportAllDeclaration";
678
- exported: ModuleExportName | null;
679
- source: StringLiteral$1;
680
- attributes: Array<ImportAttribute$1>;
681
- exportKind?: ImportOrExportKind;
682
- parent?: Node$1;
683
- }
684
-
685
- declare interface ExportDefaultDeclaration$1 extends Span$1 {
686
- type: "ExportDefaultDeclaration";
687
- declaration: ExportDefaultDeclarationKind;
688
- exportKind?: "value";
689
- parent?: Node$1;
690
- }
691
-
692
- declare type ExportDefaultDeclarationKind = Function$1 | Class$1 | TSInterfaceDeclaration$1 | Expression$1;
693
-
694
- declare interface ExportNamedDeclaration$1 extends Span$1 {
695
- type: "ExportNamedDeclaration";
696
- declaration: Declaration | null;
697
- specifiers: Array<ExportSpecifier>;
698
- source: StringLiteral$1 | null;
699
- exportKind?: ImportOrExportKind;
700
- attributes: Array<ImportAttribute$1>;
701
- parent?: Node$1;
702
- }
703
-
704
- declare interface ExportSpecifier extends Span$1 {
705
- type: "ExportSpecifier";
706
- local: ModuleExportName;
707
- exported: ModuleExportName;
708
- exportKind?: ImportOrExportKind;
709
- parent?: Node$1;
710
- }
711
-
712
- declare type Expression$1 = BooleanLiteral$1 | NullLiteral$1 | NumericLiteral$1 | BigIntLiteral$1 | RegExpLiteral$1 | StringLiteral$1 | TemplateLiteral$1 | IdentifierReference$1 | Super$1 | ArrayExpression$1 | ArrowFunctionExpression$1 | AssignmentExpression$1 | AwaitExpression | BinaryExpression$1 | CallExpression$1 | ChainExpression$1 | Class$1 | ConditionalExpression$1 | Function$1 | ImportExpression$1 | LogicalExpression$1 | NewExpression$1 | ObjectExpression$1 | ParenthesizedExpression | SequenceExpression$1 | TaggedTemplateExpression$1 | ThisExpression$1 | UnaryExpression$1 | UpdateExpression$1 | YieldExpression$1 | PrivateInExpression$1 | MetaProperty$1 | JSXElement$1 | JSXFragment$1 | TSAsExpression$1 | TSSatisfiesExpression$1 | TSTypeAssertion$1 | TSNonNullExpression$1 | TSInstantiationExpression$1 | V8IntrinsicExpression | MemberExpression$1;
713
-
714
- declare interface ExpressionStatement$1 extends Span$1 {
715
- type: "ExpressionStatement";
716
- expression: Expression$1;
717
- directive?: string | null;
718
- parent?: Node$1;
719
- }
720
-
721
- export declare const extendsPropertySchema: S.optionalKey<S.String>;
722
-
723
- export declare type ExtendsRefusalReason = 'cycle' | 'non-string-extends';
724
-
725
- export declare type ExtendsStepDecision = ExtendsStepDone | ExtendsStepRead | ExtendsStepResolve | ExtendsStepRefused;
726
-
727
- export declare type ExtendsStepDocument = typeof ExtendsStepDocumentSchema.Type;
728
-
729
- export declare const ExtendsStepDocumentSchema: S.Struct<{
730
- readonly path: S.String;
731
- readonly options: S.$Record<S.String, S.Unknown>;
732
- }>;
733
-
734
- export declare class ExtendsStepDone extends ExtendsStepDone_base {}
735
-
736
- declare const ExtendsStepDone_base: S.Class<ExtendsStepDone, S.TaggedStruct<"done", {
737
- readonly options: S.$Record<S.String, S.Unknown>;
738
- }>, {}>;
739
-
740
- export declare class ExtendsStepRead extends ExtendsStepRead_base {}
741
-
742
- declare const ExtendsStepRead_base: S.Class<ExtendsStepRead, S.TaggedStruct<"read", {
743
- readonly path: S.String;
744
- readonly state: S.Struct<{
745
- readonly visited: S.$Array<S.String>;
746
- readonly documents: S.$Array<S.Struct<{
747
- readonly path: S.String;
748
- readonly options: S.$Record<S.String, S.Unknown>;
749
- }>>;
750
- }>;
751
- }>, {}>;
752
-
753
- export declare class ExtendsStepRefused extends ExtendsStepRefused_base {}
754
-
755
- declare const ExtendsStepRefused_base: S.Class<ExtendsStepRefused, S.TaggedStruct<"refused", {
756
- readonly reason: S.Literals<readonly ["cycle", "non-string-extends"]>;
757
- readonly file: S.String;
758
- }>, {}>;
759
-
760
- export declare class ExtendsStepResolve extends ExtendsStepResolve_base {}
761
-
762
- declare const ExtendsStepResolve_base: S.Class<ExtendsStepResolve, S.TaggedStruct<"resolve", {
763
- readonly specifier: S.String;
764
- readonly state: S.Struct<{
765
- readonly visited: S.$Array<S.String>;
766
- readonly documents: S.$Array<S.Struct<{
767
- readonly path: S.String;
768
- readonly options: S.$Record<S.String, S.Unknown>;
769
- }>>;
770
- }>;
771
- }>, {}>;
772
-
773
- export declare type ExtendsStepState = typeof ExtendsStepStateSchema.Type;
774
-
775
- export declare const ExtendsStepStateSchema: S.Struct<{
776
- readonly visited: S.$Array<S.String>;
777
- readonly documents: S.$Array<S.Struct<{
778
- readonly path: S.String;
779
- readonly options: S.$Record<S.String, S.Unknown>;
780
- }>>;
781
- }>;
782
-
783
- export declare interface FailedCheckResult {
784
- readonly reason: string;
785
- readonly status: 'compileError';
786
- }
787
-
788
- export declare interface FailedTestResult extends BaseTestResult {
789
- readonly status: 'failed';
790
- readonly failureMessage: string;
791
- }
792
-
793
- export declare interface FileDescription {
794
- readonly mutate: MutateDescription;
795
- }
796
-
797
- export declare type FileDescriptions = Record<string, FileDescription>;
798
-
799
- export declare type FileResult = typeof FileResultSchema.Type;
800
-
801
- export declare const FileResultSchema: S.Struct<{
802
- readonly language: S.String;
803
- readonly source: S.String;
804
- readonly mutants: S.$Array<S.Struct<{
805
- readonly id: S.String;
806
- readonly mutatorName: S.String;
807
- readonly status: S.Literals<readonly ["Killed", "Survived", "NoCoverage", "CompileError", "RuntimeError", "Timeout", "Ignored", "Pending"]>;
808
- readonly location: S.Struct<{
809
- readonly start: S.Struct<{
810
- readonly line: S.Finite;
811
- readonly column: S.Finite;
812
- }>;
813
- readonly end: S.Struct<{
814
- readonly line: S.Finite;
815
- readonly column: S.Finite;
816
- }>;
817
- }>;
818
- readonly replacement: S.optional<S.String>;
819
- readonly description: S.optional<S.String>;
820
- readonly statusReason: S.optional<S.String>;
821
- readonly static: S.optional<S.Boolean>;
822
- readonly coveredBy: S.optional<S.$Array<S.String>>;
823
- readonly killedBy: S.optional<S.$Array<S.String>>;
824
- readonly testsCompleted: S.optional<S.Int>;
825
- readonly duration: S.optional<S.Finite>;
826
- }>>;
827
- }>;
828
-
829
- export declare function findUnserializables<A = unknown>(thing: A): UnserializableDescription[] | undefined;
830
-
831
- declare interface ForInStatement$1 extends Span$1 {
832
- type: "ForInStatement";
833
- left: ForStatementLeft;
834
- right: Expression$1;
835
- body: Statement$1;
836
- parent?: Node$1;
837
- }
838
-
839
- export declare const forkCoreSchema: JsonSchema;
840
-
841
- export declare const forkOptionsSchema: S.StructWithRest<S.Struct<{
842
- readonly allowConsoleColors: S.withDecodingDefaultKey<S.Boolean, never>;
843
- readonly buildCommand: S.optional<S.String>;
844
- readonly checkers: S.withDecodingDefaultKey<S.$Array<S.Struct<{
845
- readonly plugin: S.String;
846
- readonly nodeArgs: S.optional<S.$Array<S.String>>;
847
- readonly options: S.optional<S.$Record<S.String, S.Unknown>>;
848
- }>>, never>;
849
- readonly checkerNodeArgs: S.withDecodingDefaultKey<S.$Array<S.String>, never>;
850
- readonly concurrency: S.optional<S.Union<readonly [S.Finite, S.String]>>;
851
- readonly commandRunner: S.withDecodingDefaultKey<S.StructWithRest<S.Struct<{
852
- readonly command: S.withDecodingDefaultKey<S.String, never>;
853
- }>, readonly [S.$Record<S.String, S.Unknown>]>, never>;
854
- readonly coverageAnalysis: S.withDecodingDefaultKey<S.Literals<readonly ["off", "all", "perTest"]>, never>;
855
- readonly clearTextReporter: S.withDecodingDefaultKey<S.StructWithRest<S.Struct<{
856
- readonly allowColor: S.withDecodingDefaultKey<S.Boolean, never>;
857
- readonly allowEmojis: S.withDecodingDefaultKey<S.Boolean, never>;
858
- readonly logTests: S.withDecodingDefaultKey<S.Boolean, never>;
859
- readonly maxTestsToLog: S.withDecodingDefaultKey<S.Finite, never>;
860
- readonly reportTests: S.withDecodingDefaultKey<S.Boolean, never>;
861
- readonly reportMutants: S.withDecodingDefaultKey<S.Boolean, never>;
862
- readonly reportScoreTable: S.withDecodingDefaultKey<S.Boolean, never>;
863
- readonly skipFull: S.withDecodingDefaultKey<S.Boolean, never>;
864
- }>, readonly [S.$Record<S.String, S.Unknown>]>, never>;
865
- readonly dryRunOnly: S.withDecodingDefaultKey<S.Boolean, never>;
866
- readonly ignorePatterns: S.withDecodingDefaultKey<S.$Array<S.String>, never>;
867
- readonly ignoreStatic: S.withDecodingDefaultKey<S.Boolean, never>;
868
- readonly incremental: S.withDecodingDefaultKey<S.Boolean, never>;
869
- readonly incrementalFile: S.withDecodingDefaultKey<S.String, never>;
870
- readonly progressStreamFile: S.withDecodingDefaultKey<S.String, never>;
871
- readonly force: S.withDecodingDefaultKey<S.Boolean, never>;
872
- readonly fileLogLevel: S.withDecodingDefaultKey<S.Literals<readonly ["off", "fatal", "error", "warn", "info", "debug", "trace"]>, never>;
873
- readonly inPlace: S.withDecodingDefaultKey<S.Boolean, never>;
874
- readonly logLevel: S.withDecodingDefaultKey<S.Literals<readonly ["off", "fatal", "error", "warn", "info", "debug", "trace"]>, never>;
875
- readonly maxConcurrentTestRunners: S.withDecodingDefaultKey<S.Finite, never>;
876
- readonly maxTestRunnerReuse: S.withDecodingDefaultKey<S.Finite, never>;
877
- readonly mutate: S.withDecodingDefaultKey<S.$Array<S.String>, never>;
878
- readonly mutator: S.withDecodingDefaultKey<S.Struct<{
879
- readonly excludedMutations: S.withDecodingDefaultKey<S.$Array<S.String>, never>;
880
- }>, never>;
881
- readonly packageManager: S.optional<S.Literals<readonly ["npm", "yarn", "pnpm"]>>;
882
- readonly plugins: S.withDecodingDefaultKey<S.$Array<S.String>, never>;
883
- readonly appendPlugins: S.withDecodingDefaultKey<S.$Array<S.String>, never>;
884
- readonly reporters: S.withDecodingDefaultKey<S.$Array<S.String>, never>;
885
- readonly htmlReporter: S.withDecodingDefaultKey<S.Struct<{
886
- readonly fileName: S.withDecodingDefaultKey<S.String, never>;
887
- }>, never>;
888
- readonly jsonReporter: S.withDecodingDefaultKey<S.Struct<{
889
- readonly fileName: S.withDecodingDefaultKey<S.String, never>;
890
- }>, never>;
891
- readonly disableTypeChecks: S.withDecodingDefaultKey<S.Union<readonly [S.Boolean, S.String]>, never>;
892
- readonly symlinkNodeModules: S.withDecodingDefaultKey<S.Boolean, never>;
893
- readonly tempDirName: S.withDecodingDefaultKey<S.String, never>;
894
- readonly cleanTempDir: S.withDecodingDefaultKey<S.Literals<readonly ["always", false, true]>, never>;
895
- readonly testRunner: S.withDecodingDefaultKey<S.Union<readonly [S.String, S.Struct<{
896
- readonly plugin: S.String;
897
- readonly nodeArgs: S.optional<S.$Array<S.String>>;
898
- readonly options: S.optional<S.$Record<S.String, S.Unknown>>;
899
- }>]>, never>;
900
- readonly testRunnerNodeArgs: S.withDecodingDefaultKey<S.$Array<S.String>, never>;
901
- readonly thresholds: S.withDecodingDefaultKey<S.decodeTo<S.declare<{
902
- readonly high: number;
903
- readonly low: number;
904
- readonly break: number | null;
905
- }, {
906
- readonly high: number;
907
- readonly low: number;
908
- readonly break: number | null;
909
- }>, S.Struct<{
910
- readonly high: S.withDecodingDefaultKey<S.Finite, never>;
911
- readonly low: S.withDecodingDefaultKey<S.Finite, never>;
912
- readonly break: S.withDecodingDefaultKey<S.NullOr<S.Finite>, never>;
913
- }>, never, never>, never>;
914
- readonly timeoutFactor: S.withDecodingDefaultKey<S.Finite, never>;
915
- readonly timeoutMS: S.withDecodingDefaultKey<S.Finite, never>;
916
- readonly dryRunTimeoutMinutes: S.withDecodingDefaultKey<S.Finite, never>;
917
- readonly tsconfigFile: S.withDecodingDefaultKey<S.String, never>;
918
- readonly warnings: S.withDecodingDefaultKey<S.Union<readonly [S.Boolean, S.StructWithRest<S.Struct<{
919
- readonly unknownOptions: S.withDecodingDefaultKey<S.Boolean, never>;
920
- readonly preprocessorErrors: S.withDecodingDefaultKey<S.Boolean, never>;
921
- readonly unserializableOptions: S.withDecodingDefaultKey<S.Boolean, never>;
922
- readonly slow: S.withDecodingDefaultKey<S.Boolean, never>;
923
- }>, readonly [S.$Record<S.String, S.Unknown>]>]>, never>;
924
- readonly disableBail: S.withDecodingDefaultKey<S.Boolean, never>;
925
- readonly allowEmpty: S.withDecodingDefaultKey<S.Boolean, never>;
926
- readonly ignorers: S.withDecodingDefaultKey<S.$Array<S.String>, never>;
927
- readonly testFiles: S.withDecodingDefaultKey<S.$Array<S.String>, never>;
928
- readonly survivorsPriorReport: S.optionalKey<S.String>;
929
- readonly extends: S.optionalKey<S.String>;
930
- }>, readonly [S.$Record<S.String, S.Unknown>]>;
931
-
932
- declare type FormalParameter = {
933
- decorators?: Array<Decorator$1>;
934
- } & BindingPattern$1;
935
-
936
- declare interface FormalParameterRest extends Span$1 {
937
- type: "RestElement";
938
- argument: BindingPattern$1;
939
- decorators?: Array<Decorator$1>;
940
- optional?: boolean;
941
- typeAnnotation?: TSTypeAnnotation$1 | null;
942
- value?: null;
943
- parent?: Node$1;
944
- }
945
-
946
- declare interface ForOfStatement$1 extends Span$1 {
947
- type: "ForOfStatement";
948
- await: boolean;
949
- left: ForStatementLeft;
950
- right: Expression$1;
951
- body: Statement$1;
952
- parent?: Node$1;
953
- }
954
-
955
- declare interface ForStatement$1 extends Span$1 {
956
- type: "ForStatement";
957
- init: ForStatementInit | null;
958
- test: Expression$1 | null;
959
- update: Expression$1 | null;
960
- body: Statement$1;
961
- parent?: Node$1;
962
- }
963
-
964
- declare type ForStatementInit = VariableDeclaration$1 | Expression$1;
965
-
966
- declare type ForStatementLeft = VariableDeclaration$1 | AssignmentTarget;
967
-
968
- declare type FramedDrain = (framed: Stream.Stream<string, never, never>) => Effect.Effect<void, never, never>;
969
-
970
- declare interface Function$1 extends Span$1 {
971
- type: FunctionType;
972
- id: BindingIdentifier$1 | null;
973
- generator: boolean;
974
- async: boolean;
975
- declare?: boolean;
976
- typeParameters?: TSTypeParameterDeclaration$1 | null;
977
- params: ParamPattern$1[];
978
- returnType?: TSTypeAnnotation$1 | null;
979
- body: FunctionBody | null;
980
- expression: false;
981
- parent?: Node$1;
982
- }
983
-
984
- declare interface FunctionBody extends Span$1 {
985
- type: "BlockStatement";
986
- body: Array<Directive | Statement$1>;
987
- parent?: Node$1;
988
- }
989
-
990
- declare type FunctionType = "FunctionDeclaration" | "FunctionExpression" | "TSDeclareFunction" | "TSEmptyBodyFunctionExpression";
991
-
992
- export declare function generateRunId(now: DateTime.Utc): string;
993
-
994
- declare interface Hashbang extends Span$1 {
995
- type: "Hashbang";
996
- value: string;
997
- parent?: Node$1;
998
- }
999
-
1000
- export declare class Heartbeat extends Heartbeat_base {}
1001
-
1002
- declare const Heartbeat_base: S.Class<Heartbeat, S.TaggedStruct<"tick", {
1003
- readonly elapsedMs: S.Finite;
1004
- readonly completed: S.Int;
1005
- readonly total: S.NullOr<S.Int>;
1006
- }>, {}>;
1007
-
1008
- export declare class HelpRendered extends HelpRendered_base {}
1009
-
1010
- declare const HelpRendered_base: S.Class<HelpRendered, S.TaggedStruct<"help", {
1011
- readonly schemaVersion: S.String;
1012
- readonly code: S.Literals<readonly [0]>;
1013
- readonly help: S.String;
1014
- }>, {}>;
1015
-
1016
- export declare function highestExitClass(pending: Iterable<ExitClass>): ExitClass | null;
1017
-
1018
- declare interface IdentifierName$1 extends Span$1 {
1019
- type: "Identifier";
1020
- decorators?: [];
1021
- name: string;
1022
- optional?: false;
1023
- typeAnnotation?: null;
1024
- parent?: Node$1;
1025
- }
1026
-
1027
- declare interface IdentifierReference$1 extends Span$1 {
1028
- type: "Identifier";
1029
- decorators?: [];
1030
- name: string;
1031
- optional?: false;
1032
- typeAnnotation?: null;
1033
- parent?: Node$1;
1034
- }
1035
-
1036
- export declare class IdGenerator extends IdGenerator_base {}
1037
-
1038
- declare const IdGenerator_base: Context.ServiceClass<IdGenerator, "@systemfsoftware/stryker-js/Worker/IdGenerator", IdGeneratorShape>;
1039
-
1040
- export declare interface IdGeneratorShape {
1041
- readonly next: Effect.Effect<number>;
1042
- }
1043
-
1044
- declare interface IfStatement$1 extends Span$1 {
1045
- type: "IfStatement";
1046
- test: Expression$1;
1047
- consequent: Statement$1;
1048
- alternate: Statement$1 | null;
1049
- parent?: Node$1;
1050
- }
1051
-
1052
- export declare interface Ignorer {
1053
- readonly name: string;
1054
- shouldIgnore(node: Node_2, ancestors: readonly Node_2[]): string | undefined;
1055
- }
1056
-
1057
- export declare type Immutable<T> = T extends ImmutablePrimitive ? T : T extends Array<infer U> ? ReadonlyArray<Immutable<U>> : T extends Map<infer K, infer V> ? ReadonlyMap<Immutable<K>, Immutable<V>> : T extends Set<infer M> ? ReadonlySet<Immutable<M>> : T extends RegExp ? Readonly<RegExp> : { readonly [K in keyof T]: Immutable<T[K]>; };
1058
-
1059
- export declare type ImmutablePrimitive = Primitive | ((...args: never[]) => void);
1060
-
1061
- declare interface ImportAttribute$1 extends Span$1 {
1062
- type: "ImportAttribute";
1063
- key: ImportAttributeKey;
1064
- value: StringLiteral$1;
1065
- parent?: Node$1;
1066
- }
1067
-
1068
- declare type ImportAttributeKey = IdentifierName$1 | StringLiteral$1;
1069
-
1070
- declare interface ImportDeclaration$1 extends Span$1 {
1071
- type: "ImportDeclaration";
1072
- specifiers: Array<ImportDeclarationSpecifier>;
1073
- source: StringLiteral$1;
1074
- phase: ImportPhase | null;
1075
- attributes: Array<ImportAttribute$1>;
1076
- importKind?: ImportOrExportKind;
1077
- parent?: Node$1;
1078
- }
1079
-
1080
- declare type ImportDeclarationSpecifier = ImportSpecifier | ImportDefaultSpecifier | ImportNamespaceSpecifier;
1081
-
1082
- declare interface ImportDefaultSpecifier extends Span$1 {
1083
- type: "ImportDefaultSpecifier";
1084
- local: BindingIdentifier$1;
1085
- parent?: Node$1;
1086
- }
1087
-
1088
- export declare const ImportedModuleSchema: S.Struct<{
1089
- readonly default: S.optional<S.Unknown>;
1090
- }>;
1091
-
1092
- declare interface ImportExpression$1 extends Span$1 {
1093
- type: "ImportExpression";
1094
- source: Expression$1;
1095
- options: Expression$1 | null;
1096
- phase: ImportPhase | null;
1097
- parent?: Node$1;
1098
- }
1099
-
1100
- export declare function importModule<A = unknown>(moduleName: string): Effect.Effect<A, StrykerError>;
1101
-
1102
- declare interface ImportNamespaceSpecifier extends Span$1 {
1103
- type: "ImportNamespaceSpecifier";
1104
- local: BindingIdentifier$1;
1105
- parent?: Node$1;
1106
- }
1107
-
1108
- declare type ImportOrExportKind = "value" | "type";
1109
-
1110
- declare type ImportPhase = "source" | "defer";
1111
-
1112
- declare interface ImportSpecifier extends Span$1 {
1113
- type: "ImportSpecifier";
1114
- imported: ModuleExportName;
1115
- local: BindingIdentifier$1;
1116
- importKind?: ImportOrExportKind;
1117
- parent?: Node$1;
1118
- }
1119
-
1120
- export declare const IncrementalReportSchema: S.StructWithRest<S.Struct<{
1121
- readonly incrementalVersion: S.String;
1122
- readonly schemaVersion: S.String;
1123
- readonly thresholds: S.Struct<{
1124
- readonly high: S.Finite;
1125
- readonly low: S.Finite;
1126
- }>;
1127
- readonly files: S.$Record<S.String, S.Struct<{
1128
- readonly language: S.String;
1129
- readonly source: S.String;
1130
- readonly mutants: S.$Array<S.Struct<{
1131
- readonly id: S.String;
1132
- readonly mutatorName: S.String;
1133
- readonly replacement: S.String;
1134
- readonly location: S.Struct<{
1135
- readonly start: S.Struct<{
1136
- readonly line: S.Finite;
1137
- readonly column: S.Finite;
1138
- }>;
1139
- readonly end: S.Struct<{
1140
- readonly line: S.Finite;
1141
- readonly column: S.Finite;
1142
- }>;
1143
- }>;
1144
- readonly status: S.Literals<readonly ["Killed", "Survived", "NoCoverage", "Timeout", "CompileError", "RuntimeError", "Ignored", "Pending"]>;
1145
- readonly killedBy: S.optional<S.$Array<S.String>>;
1146
- readonly coveredBy: S.optional<S.$Array<S.String>>;
1147
- readonly static: S.optional<S.Boolean>;
1148
- readonly statusReason: S.optional<S.String>;
1149
- readonly testsCompleted: S.optional<S.Finite>;
1150
- readonly description: S.optional<S.String>;
1151
- readonly duration: S.optional<S.Finite>;
1152
- }>>;
1153
- }>>;
1154
- readonly testFiles: S.optional<S.$Record<S.String, S.Struct<{
1155
- readonly source: S.optional<S.String>;
1156
- readonly tests: S.$Array<S.Struct<{
1157
- readonly id: S.String;
1158
- readonly name: S.String;
1159
- readonly location: S.optional<S.Struct<{
1160
- readonly start: S.Struct<{
1161
- readonly line: S.Finite;
1162
- readonly column: S.Finite;
1163
- }>;
1164
- readonly end: S.optional<S.Struct<{
1165
- readonly line: S.Finite;
1166
- readonly column: S.Finite;
1167
- }>>;
1168
- }>>;
1169
- }>>;
1170
- }>>>;
1171
- }>, readonly [S.$Record<S.String, S.Unknown>]>;
1172
-
1173
- export declare const initialExtendsStepState: ExtendsStepState;
1174
-
1175
- export declare interface InstrumentDone extends PrepareDone {
1176
- readonly mutants: readonly Mutant[];
1177
- readonly sandbox: SandboxHandle;
1178
- readonly concurrency: {
1179
- readonly testRunners: number;
1180
- readonly checkers: number;
1181
- };
1182
- }
1183
-
1184
- export declare function isActionableStatus(status: MutantStatus): boolean;
1185
-
1186
- /** Whether a configured runner name selects this runner. */
1187
- export declare const isCommandRunner: (name: TestRunnerConfig) => name is 'command';
1188
-
1189
- export declare function isModuleSpecifier(value: string): boolean;
1190
-
1191
- export declare const isVmRunner: (name: TestRunnerConfig) => name is 'vm';
1192
-
1193
- export declare function isWarningEnabled(warningType: KnownKeys<WarningOptions>, warningOptions: WarningOptions | boolean): boolean;
1194
-
1195
- declare interface JSDocNonNullableType$1 extends Span$1 {
1196
- type: "TSJSDocNonNullableType";
1197
- typeAnnotation: TSType$1;
1198
- postfix: boolean;
1199
- parent?: Node$1;
1200
- }
1201
-
1202
- declare interface JSDocNullableType$1 extends Span$1 {
1203
- type: "TSJSDocNullableType";
1204
- typeAnnotation: TSType$1;
1205
- postfix: boolean;
1206
- parent?: Node$1;
1207
- }
1208
-
1209
- declare interface JSDocUnknownType extends Span$1 {
1210
- type: "TSJSDocUnknownType";
1211
- parent?: Node$1;
1212
- }
1213
-
1214
- declare interface JSXAttribute$1 extends Span$1 {
1215
- type: "JSXAttribute";
1216
- name: JSXAttributeName;
1217
- value: JSXAttributeValue | null;
1218
- parent?: Node$1;
1219
- }
1220
-
1221
- declare type JSXAttributeItem = JSXAttribute$1 | JSXSpreadAttribute$1;
1222
-
1223
- declare type JSXAttributeName = JSXIdentifier$1 | JSXNamespacedName$1;
1224
-
1225
- declare type JSXAttributeValue = StringLiteral$1 | JSXExpressionContainer$1 | JSXElement$1 | JSXFragment$1;
1226
-
1227
- declare type JSXChild = JSXText$1 | JSXElement$1 | JSXFragment$1 | JSXExpressionContainer$1 | JSXSpreadChild$1;
1228
-
1229
- declare interface JSXClosingElement extends Span$1 {
1230
- type: "JSXClosingElement";
1231
- name: JSXElementName;
1232
- parent?: Node$1;
1233
- }
1234
-
1235
- declare interface JSXClosingFragment extends Span$1 {
1236
- type: "JSXClosingFragment";
1237
- parent?: Node$1;
1238
- }
1239
-
1240
- declare interface JSXElement$1 extends Span$1 {
1241
- type: "JSXElement";
1242
- openingElement: JSXOpeningElement$1;
1243
- children: Array<JSXChild>;
1244
- closingElement: JSXClosingElement | null;
1245
- parent?: Node$1;
1246
- }
1247
-
1248
- declare type JSXElementName = JSXIdentifier$1 | JSXNamespacedName$1 | JSXMemberExpression$1;
1249
-
1250
- declare interface JSXEmptyExpression extends Span$1 {
1251
- type: "JSXEmptyExpression";
1252
- parent?: Node$1;
1253
- }
1254
-
1255
- declare type JSXExpression = JSXEmptyExpression | Expression$1;
1256
-
1257
- declare interface JSXExpressionContainer$1 extends Span$1 {
1258
- type: "JSXExpressionContainer";
1259
- expression: JSXExpression;
1260
- parent?: Node$1;
1261
- }
1262
-
1263
- declare interface JSXFragment$1 extends Span$1 {
1264
- type: "JSXFragment";
1265
- openingFragment: JSXOpeningFragment;
1266
- children: Array<JSXChild>;
1267
- closingFragment: JSXClosingFragment;
1268
- parent?: Node$1;
1269
- }
1270
-
1271
- declare interface JSXIdentifier$1 extends Span$1 {
1272
- type: "JSXIdentifier";
1273
- name: string;
1274
- parent?: Node$1;
1275
- }
1276
-
1277
- declare interface JSXMemberExpression$1 extends Span$1 {
1278
- type: "JSXMemberExpression";
1279
- object: JSXMemberExpressionObject;
1280
- property: JSXIdentifier$1;
1281
- parent?: Node$1;
1282
- }
1283
-
1284
- declare type JSXMemberExpressionObject = JSXIdentifier$1 | JSXMemberExpression$1;
1285
-
1286
- declare interface JSXNamespacedName$1 extends Span$1 {
1287
- type: "JSXNamespacedName";
1288
- namespace: JSXIdentifier$1;
1289
- name: JSXIdentifier$1;
1290
- parent?: Node$1;
1291
- }
1292
-
1293
- declare interface JSXOpeningElement$1 extends Span$1 {
1294
- type: "JSXOpeningElement";
1295
- name: JSXElementName;
1296
- typeArguments?: TSTypeParameterInstantiation$1 | null;
1297
- attributes: Array<JSXAttributeItem>;
1298
- selfClosing: boolean;
1299
- parent?: Node$1;
1300
- }
1301
-
1302
- declare interface JSXOpeningFragment extends Span$1 {
1303
- type: "JSXOpeningFragment";
1304
- attributes?: [];
1305
- selfClosing?: false;
1306
- parent?: Node$1;
1307
- }
1308
-
1309
- declare interface JSXSpreadAttribute$1 extends Span$1 {
1310
- type: "JSXSpreadAttribute";
1311
- argument: Expression$1;
1312
- parent?: Node$1;
1313
- }
1314
-
1315
- declare interface JSXSpreadChild$1 extends Span$1 {
1316
- type: "JSXSpreadChild";
1317
- expression: Expression$1;
1318
- parent?: Node$1;
1319
- }
1320
-
1321
- declare interface JSXText$1 extends Span$1 {
1322
- type: "JSXText";
1323
- value: string;
1324
- raw: string | null;
1325
- parent?: Node$1;
1326
- }
1327
-
1328
- export declare interface KilledMutantRunResult {
1329
- readonly status: 'killed';
1330
- readonly killedBy: readonly string[];
1331
- readonly failureMessage: string;
1332
- readonly nrOfTests: number;
1333
- }
1334
-
1335
- export declare type KnownKeys<T> = keyof { [P in keyof T as string extends P ? never : number extends P ? never : P]: T[P]; };
1336
-
1337
- declare interface LabeledStatement$1 extends Span$1 {
1338
- type: "LabeledStatement";
1339
- label: LabelIdentifier$1;
1340
- body: Statement$1;
1341
- parent?: Node$1;
1342
- }
1343
-
1344
- declare interface LabelIdentifier$1 extends Span$1 {
1345
- type: "Identifier";
1346
- decorators?: [];
1347
- name: string;
1348
- optional?: false;
1349
- typeAnnotation?: null;
1350
- parent?: Node$1;
1351
- }
1352
-
1353
- export declare const loadConfigCell: typeof readConfig;
1354
-
1355
- export declare interface LoadedPlugins<A = unknown> {
1356
- readonly schemaContributions: readonly Record<string, A>[];
1357
- readonly pluginsByKind: HashMap.HashMap<PluginKind, readonly PluginDescriptor[]>;
1358
- readonly pluginModulePaths: readonly string[];
1359
- readonly pluginSources: readonly PluginSource[];
1360
- readonly ignorers: readonly Ignorer[];
1361
- }
1362
-
1363
- export declare type Location = typeof LocationSchema.Type;
1364
-
1365
- export declare const LocationSchema: S.Struct<{
1366
- readonly start: S.Struct<{
1367
- readonly line: S.Finite;
1368
- readonly column: S.Finite;
1369
- }>;
1370
- readonly end: S.Struct<{
1371
- readonly line: S.Finite;
1372
- readonly column: S.Finite;
1373
- }>;
1374
- }>;
1375
-
1376
- declare interface LogicalExpression$1 extends Span$1 {
1377
- type: "LogicalExpression";
1378
- left: Expression$1;
1379
- operator: LogicalOperator;
1380
- right: Expression$1;
1381
- parent?: Node$1;
1382
- }
1383
-
1384
- declare type LogicalOperator = "||" | "&&" | "??";
1385
-
1386
- export declare const makeRunEventStream: (resolved: ResolvedModeInput) => Effect.Effect<RunEventStream, never, Stdio.Stdio | RunEventDrain>;
1387
-
1388
- export declare const makeRunLayer: (env: RunEnvironmentShape, events?: Queue.Queue<RunEvent, Cause.Done>) => Layer.Layer<RunStageServices, never, EnginePorts>;
1389
-
1390
- export declare const makeWorkerClient: <Rpcs extends Rpc.Any>(params: WorkerClientParams<Rpcs>) => Effect.Effect<RpcClient.RpcClient<Rpcs, RpcClientError>, WorkerBootError, Scope.Scope | WorkerLauncher>;
1391
-
1392
- export declare function matchesFile(pattern: boolean | string, fileName: string, pathService: Path.Path, allowHiddenFiles?: boolean): boolean;
1393
-
1394
- declare type MemberExpression$1 = ComputedMemberExpression | StaticMemberExpression$1 | PrivateFieldExpression;
1395
-
1396
- export declare class MergeCommand extends MergeCommand_base {}
1397
-
1398
- declare const MergeCommand_base: S.Class<MergeCommand, S.TaggedStruct<"MergeCommand", {
1399
- readonly base: S.$Record<S.String, S.Unknown>;
1400
- readonly overrides: S.$Record<S.String, S.Unknown>;
1401
- }>, {}>;
1402
-
1403
- export declare function mergeConfigs(parent: PartialStrykerOptions, child: PartialStrykerOptions): PartialStrykerOptions;
1404
-
1405
- export declare class MergeResult extends MergeResult_base {}
1406
-
1407
- declare const MergeResult_base: S.Class<MergeResult, S.TaggedStruct<"MergeResult", {
1408
- readonly merged: S.$Record<S.String, S.Unknown>;
1409
- }>, {}>;
1410
-
1411
- declare interface MetaProperty$1 extends Span$1 {
1412
- type: "MetaProperty";
1413
- meta: IdentifierName$1;
1414
- property: IdentifierName$1;
1415
- parent?: Node$1;
1416
- }
1417
-
1418
- declare interface MethodDefinition$1 extends Span$1 {
1419
- type: MethodDefinitionType;
1420
- decorators: Array<Decorator$1>;
1421
- key: PropertyKey_2;
1422
- value: Function$1;
1423
- kind: MethodDefinitionKind;
1424
- computed: boolean;
1425
- static: boolean;
1426
- override?: boolean;
1427
- optional?: boolean;
1428
- accessibility?: TSAccessibility | null;
1429
- parent?: Node$1;
1430
- }
1431
-
1432
- declare type MethodDefinitionKind = "constructor" | "method" | "get" | "set";
1433
-
1434
- declare type MethodDefinitionType = "MethodDefinition" | "TSAbstractMethodDefinition";
1435
-
1436
- export declare class Metrics extends Metrics_base {
1437
- get totalDetected(): number;
1438
- get totalUndetected(): number;
1439
- get totalCovered(): number;
1440
- get totalValid(): number;
1441
- get totalInvalid(): number;
1442
- get totalMutants(): number;
1443
- get mutationScore(): number;
1444
- get mutationScoreBasedOnCoveredCode(): number;
1445
- static fromMutants(mutants: readonly {
1446
- readonly status: string;
1447
- }[]): Metrics;
1448
- }
1449
-
1450
- declare const Metrics_base: S.Class<Metrics, S.Struct<{
1451
- readonly pending: S.Int;
1452
- readonly killed: S.Int;
1453
- readonly timeout: S.Int;
1454
- readonly survived: S.Int;
1455
- readonly noCoverage: S.Int;
1456
- readonly runtimeErrors: S.Int;
1457
- readonly compileErrors: S.Int;
1458
- readonly ignored: S.Int;
1459
- }>, {}>;
1460
-
1461
- export declare interface MetricsResult {
1462
- readonly name: string;
1463
- readonly metrics: Metrics;
1464
- readonly childResults: readonly MetricsResult[];
1465
- }
1466
-
1467
- declare interface MetricsResultEncoded {
1468
- readonly name: string;
1469
- readonly metrics: typeof Metrics.Encoded;
1470
- readonly childResults: readonly MetricsResultEncoded[];
1471
- }
1472
-
1473
- export declare const MetricsSchema: typeof Metrics;
1474
-
1475
- export declare type ModeSignal = 'flag' | 'env' | 'tty' | 'agent' | 'tool';
1476
-
1477
- declare type ModuleDeclaration = ImportDeclaration$1 | ExportAllDeclaration$1 | ExportDefaultDeclaration$1 | ExportNamedDeclaration$1 | TSExportAssignment$1 | TSNamespaceExportDeclaration$1;
1478
-
1479
- declare type ModuleExportName = IdentifierName$1 | IdentifierReference$1 | StringLiteral$1;
1480
-
1481
- declare type ModuleKind = "script" | "module" | "commonjs";
1482
-
1483
- export declare class Mutant extends Mutant_base {}
1484
-
1485
- declare const Mutant_base: S.Class<Mutant, S.TaggedStruct<"Mutant", {
1486
- readonly id: S.NonEmptyString;
1487
- readonly fileName: S.NonEmptyString;
1488
- readonly mutatorName: S.NonEmptyString;
1489
- readonly replacement: S.String;
1490
- readonly location: S.Struct<{
1491
- readonly start: S.Struct<{
1492
- readonly line: S.Finite;
1493
- readonly column: S.Finite;
1494
- }>;
1495
- readonly end: S.Struct<{
1496
- readonly line: S.Finite;
1497
- readonly column: S.Finite;
1498
- }>;
1499
- }>;
1500
- readonly status: S.optional<S.Literals<readonly ["Killed", "Survived", "NoCoverage", "CompileError", "RuntimeError", "Timeout", "Ignored", "Pending"]>>;
1501
- readonly statusReason: S.optional<S.String>;
1502
- readonly coveredBy: S.optional<S.$Array<S.String>>;
1503
- readonly static: S.optional<S.Boolean>;
1504
- readonly testsCompleted: S.optional<S.Finite>;
1505
- readonly description: S.optional<S.String>;
1506
- }>, {}>;
1507
-
1508
- export declare type MutantActivation = typeof MutantActivationSchema.Type;
1509
-
1510
- export declare const MutantActivationSchema: S.Literals<readonly ["runtime", "static"]>;
1511
-
1512
- export declare interface MutantCoverage {
1513
- readonly perTest: Record<string, Record<string, number>>;
1514
- readonly static: Record<string, number>;
1515
- }
1516
-
1517
- export declare type MutantResult = typeof MutantResultSchema.Type;
1518
-
1519
- export declare const MutantResultSchema: S.Struct<{
1520
- readonly id: S.String;
1521
- readonly mutatorName: S.String;
1522
- readonly status: S.Literals<readonly ["Killed", "Survived", "NoCoverage", "CompileError", "RuntimeError", "Timeout", "Ignored", "Pending"]>;
1523
- readonly location: S.Struct<{
1524
- readonly start: S.Struct<{
1525
- readonly line: S.Finite;
1526
- readonly column: S.Finite;
1527
- }>;
1528
- readonly end: S.Struct<{
1529
- readonly line: S.Finite;
1530
- readonly column: S.Finite;
1531
- }>;
1532
- }>;
1533
- readonly replacement: S.optional<S.String>;
1534
- readonly description: S.optional<S.String>;
1535
- readonly statusReason: S.optional<S.String>;
1536
- readonly static: S.optional<S.Boolean>;
1537
- readonly coveredBy: S.optional<S.$Array<S.String>>;
1538
- readonly killedBy: S.optional<S.$Array<S.String>>;
1539
- readonly testsCompleted: S.optional<S.Int>;
1540
- readonly duration: S.optional<S.Finite>;
1541
- }>;
1542
-
1543
- export declare interface MutantRunOptions extends RunOptions {
1544
- readonly testFilter?: readonly string[];
1545
- readonly hitLimit?: number;
1546
- readonly activeMutant: Mutant;
1547
- readonly sandboxFileName: string;
1548
- readonly mutantActivation: MutantActivation;
1549
- readonly reloadEnvironment: boolean;
1550
- }
1551
-
1552
- export declare type MutantRunResult = ErrorMutantRunResult | KilledMutantRunResult | SurvivedMutantRunResult | TimeoutMutantRunResult;
1553
-
1554
- export declare type MutantStatus = typeof MutantStatusSchema.Type;
1555
-
1556
- export declare const MutantStatusSchema: S.Literals<readonly ["Killed", "Survived", "NoCoverage", "CompileError", "RuntimeError", "Timeout", "Ignored", "Pending"]>;
1557
-
1558
- export declare class MutantTested extends MutantTested_base {}
1559
-
1560
- declare const MutantTested_base: S.Class<MutantTested, S.TaggedStruct<"mutantTested", {
1561
- readonly id: S.String;
1562
- readonly status: S.Literals<readonly ["Killed", "Survived", "NoCoverage", "CompileError", "RuntimeError", "Timeout", "Ignored", "Pending"]>;
1563
- readonly file: S.String;
1564
- readonly location: S.Struct<{
1565
- readonly start: S.Struct<{
1566
- readonly line: S.Finite;
1567
- readonly column: S.Finite;
1568
- }>;
1569
- readonly end: S.Struct<{
1570
- readonly line: S.Finite;
1571
- readonly column: S.Finite;
1572
- }>;
1573
- }>;
1574
- readonly mutator: S.String;
1575
- readonly replacement: S.NullOr<S.String>;
1576
- readonly completed: S.Int;
1577
- readonly total: S.Int;
1578
- }>, {}>;
1579
-
1580
- export declare type MutateDescription = ReadonlyArray<MutationRange> | boolean;
1581
-
1582
- export declare interface MutationRange {
1583
- readonly start: Position;
1584
- readonly end: Position;
1585
- }
1586
-
1587
- export declare const mutationTestCell: Cell.Cell<PrepareExecutorArgs, MutationTestDone, StageError, StageServices>;
1588
-
1589
- export declare interface MutationTestDone {
1590
- readonly results: readonly RunMutantResult[];
1591
- readonly verdict: ExitClass | null;
1592
- }
1593
-
1594
- export declare class MutationTestingPlanReady extends MutationTestingPlanReady_base {}
1595
-
1596
- declare const MutationTestingPlanReady_base: S.Class<MutationTestingPlanReady, S.TaggedStruct<"mutationTestingPlanReady", {
1597
- readonly total: S.Int;
1598
- readonly plans: S.$Array<S.Struct<{
1599
- readonly mutantId: S.String;
1600
- readonly plan: S.Literals<readonly ["EarlyResult", "Run"]>;
1601
- readonly netTime: S.Finite;
1602
- readonly reloadEnvironment: S.Boolean;
1603
- }>>;
1604
- }>, {}>;
1605
-
1606
- export declare class MutationTestReportReady extends MutationTestReportReady_base {}
1607
-
1608
- declare const MutationTestReportReady_base: S.Class<MutationTestReportReady, S.TaggedStruct<"mutationTestReportReady", {
1609
- readonly report: S.Struct<{
1610
- readonly schemaVersion: S.String;
1611
- readonly files: S.$Record<S.String, S.Struct<{
1612
- readonly language: S.String;
1613
- readonly source: S.String;
1614
- readonly mutants: S.$Array<S.Struct<{
1615
- readonly id: S.String;
1616
- readonly mutatorName: S.String;
1617
- readonly status: S.Literals<readonly ["Killed", "Survived", "NoCoverage", "CompileError", "RuntimeError", "Timeout", "Ignored", "Pending"]>;
1618
- readonly location: S.Struct<{
1619
- readonly start: S.Struct<{
1620
- readonly line: S.Finite;
1621
- readonly column: S.Finite;
1622
- }>;
1623
- readonly end: S.Struct<{
1624
- readonly line: S.Finite;
1625
- readonly column: S.Finite;
1626
- }>;
1627
- }>;
1628
- readonly replacement: S.optional<S.String>;
1629
- readonly description: S.optional<S.String>;
1630
- readonly statusReason: S.optional<S.String>;
1631
- readonly static: S.optional<S.Boolean>;
1632
- readonly coveredBy: S.optional<S.$Array<S.String>>;
1633
- readonly killedBy: S.optional<S.$Array<S.String>>;
1634
- readonly testsCompleted: S.optional<S.Int>;
1635
- readonly duration: S.optional<S.Finite>;
1636
- }>>;
1637
- }>>;
1638
- readonly thresholds: S.decodeTo<S.declare<{
1639
- readonly high: number;
1640
- readonly low: number;
1641
- }, {
1642
- readonly high: number;
1643
- readonly low: number;
1644
- }>, S.Struct<{
1645
- readonly high: S.Finite;
1646
- readonly low: S.Finite;
1647
- }>, never, never>;
1648
- readonly config: S.optional<S.$Record<S.String, S.Unknown>>;
1649
- readonly testFiles: S.optional<S.$Record<S.String, S.Struct<{
1650
- readonly source: S.optional<S.String>;
1651
- readonly tests: S.$Array<S.Struct<{
1652
- readonly id: S.String;
1653
- readonly name: S.String;
1654
- readonly location: S.optional<S.Struct<{
1655
- readonly start: S.Struct<{
1656
- readonly line: S.Finite;
1657
- readonly column: S.Finite;
1658
- }>;
1659
- readonly end: S.optional<S.Struct<{
1660
- readonly line: S.Finite;
1661
- readonly column: S.Finite;
1662
- }>>;
1663
- }>>;
1664
- }>>;
1665
- }>>>;
1666
- readonly projectRoot: S.optional<S.String>;
1667
- readonly framework: S.optional<S.Struct<{
1668
- readonly name: S.String;
1669
- readonly version: S.optional<S.String>;
1670
- readonly branding: S.optional<S.Struct<{
1671
- readonly homepageUrl: S.String;
1672
- readonly imageUrl: S.optional<S.String>;
1673
- }>>;
1674
- readonly dependencies: S.optional<S.$Record<S.String, S.String>>;
1675
- }>>;
1676
- }>;
1677
- readonly metrics: S.Codec<MetricsResult, MetricsResultEncoded, never, never>;
1678
- }>, {}>;
1679
-
1680
- export declare type MutationTestResult = typeof MutationTestResultSchema.Type;
1681
-
1682
- export declare const MutationTestResultSchema: S.Struct<{
1683
- readonly schemaVersion: S.String;
1684
- readonly files: S.$Record<S.String, S.Struct<{
1685
- readonly language: S.String;
1686
- readonly source: S.String;
1687
- readonly mutants: S.$Array<S.Struct<{
1688
- readonly id: S.String;
1689
- readonly mutatorName: S.String;
1690
- readonly status: S.Literals<readonly ["Killed", "Survived", "NoCoverage", "CompileError", "RuntimeError", "Timeout", "Ignored", "Pending"]>;
1691
- readonly location: S.Struct<{
1692
- readonly start: S.Struct<{
1693
- readonly line: S.Finite;
1694
- readonly column: S.Finite;
1695
- }>;
1696
- readonly end: S.Struct<{
1697
- readonly line: S.Finite;
1698
- readonly column: S.Finite;
1699
- }>;
1700
- }>;
1701
- readonly replacement: S.optional<S.String>;
1702
- readonly description: S.optional<S.String>;
1703
- readonly statusReason: S.optional<S.String>;
1704
- readonly static: S.optional<S.Boolean>;
1705
- readonly coveredBy: S.optional<S.$Array<S.String>>;
1706
- readonly killedBy: S.optional<S.$Array<S.String>>;
1707
- readonly testsCompleted: S.optional<S.Int>;
1708
- readonly duration: S.optional<S.Finite>;
1709
- }>>;
1710
- }>>;
1711
- readonly thresholds: S.decodeTo<S.declare<{
1712
- readonly high: number;
1713
- readonly low: number;
1714
- }, {
1715
- readonly high: number;
1716
- readonly low: number;
1717
- }>, S.Struct<{
1718
- readonly high: S.Finite;
1719
- readonly low: S.Finite;
1720
- }>, never, never>;
1721
- readonly config: S.optional<S.$Record<S.String, S.Unknown>>;
1722
- readonly testFiles: S.optional<S.$Record<S.String, S.Struct<{
1723
- readonly source: S.optional<S.String>;
1724
- readonly tests: S.$Array<S.Struct<{
1725
- readonly id: S.String;
1726
- readonly name: S.String;
1727
- readonly location: S.optional<S.Struct<{
1728
- readonly start: S.Struct<{
1729
- readonly line: S.Finite;
1730
- readonly column: S.Finite;
1731
- }>;
1732
- readonly end: S.optional<S.Struct<{
1733
- readonly line: S.Finite;
1734
- readonly column: S.Finite;
1735
- }>>;
1736
- }>>;
1737
- }>>;
1738
- }>>>;
1739
- readonly projectRoot: S.optional<S.String>;
1740
- readonly framework: S.optional<S.Struct<{
1741
- readonly name: S.String;
1742
- readonly version: S.optional<S.String>;
1743
- readonly branding: S.optional<S.Struct<{
1744
- readonly homepageUrl: S.String;
1745
- readonly imageUrl: S.optional<S.String>;
1746
- }>>;
1747
- readonly dependencies: S.optional<S.$Record<S.String, S.String>>;
1748
- }>>;
1749
- }>;
1750
-
1751
- declare interface NewExpression$1 extends Span$1 {
1752
- type: "NewExpression";
1753
- callee: Expression$1;
1754
- typeArguments?: TSTypeParameterInstantiation$1 | null;
1755
- arguments: Array<Argument$1>;
1756
- parent?: Node$1;
1757
- }
1758
-
1759
- declare type Node$1 = Program$1 | IdentifierName$1 | IdentifierReference$1 | BindingIdentifier$1 | LabelIdentifier$1 | ThisExpression$1 | ArrayExpression$1 | ObjectExpression$1 | ObjectProperty$1 | TemplateLiteral$1 | TaggedTemplateExpression$1 | TemplateElement$1 | ComputedMemberExpression | StaticMemberExpression$1 | PrivateFieldExpression | CallExpression$1 | NewExpression$1 | MetaProperty$1 | SpreadElement$1 | UpdateExpression$1 | UnaryExpression$1 | BinaryExpression$1 | PrivateInExpression$1 | LogicalExpression$1 | ConditionalExpression$1 | AssignmentExpression$1 | ArrayAssignmentTarget | ObjectAssignmentTarget | AssignmentTargetRest | AssignmentTargetWithDefault | AssignmentTargetPropertyIdentifier | AssignmentTargetPropertyProperty | SequenceExpression$1 | Super$1 | AwaitExpression | ChainExpression$1 | ParenthesizedExpression | Directive | Hashbang | BlockStatement$1 | VariableDeclaration$1 | VariableDeclarator$1 | EmptyStatement$1 | ExpressionStatement$1 | IfStatement$1 | DoWhileStatement$1 | WhileStatement$1 | ForStatement$1 | ForInStatement$1 | ForOfStatement$1 | ContinueStatement$1 | BreakStatement$1 | ReturnStatement$1 | WithStatement$1 | SwitchStatement$1 | SwitchCase$1 | LabeledStatement$1 | ThrowStatement$1 | TryStatement$1 | CatchClause$1 | DebuggerStatement | AssignmentPattern$1 | ObjectPattern | BindingProperty$1 | ArrayPattern$1 | BindingRestElement$1 | Function$1 | FunctionBody | ArrowFunctionExpression$1 | YieldExpression$1 | Class$1 | ClassBody$1 | MethodDefinition$1 | PropertyDefinition$1 | PrivateIdentifier$1 | StaticBlock$1 | AccessorProperty$1 | ImportExpression$1 | ImportDeclaration$1 | ImportSpecifier | ImportDefaultSpecifier | ImportNamespaceSpecifier | ImportAttribute$1 | ExportNamedDeclaration$1 | ExportDefaultDeclaration$1 | ExportAllDeclaration$1 | ExportSpecifier | V8IntrinsicExpression | BooleanLiteral$1 | NullLiteral$1 | NumericLiteral$1 | StringLiteral$1 | BigIntLiteral$1 | RegExpLiteral$1 | JSXElement$1 | JSXOpeningElement$1 | JSXClosingElement | JSXFragment$1 | JSXOpeningFragment | JSXClosingFragment | JSXNamespacedName$1 | JSXMemberExpression$1 | JSXExpressionContainer$1 | JSXEmptyExpression | JSXAttribute$1 | JSXSpreadAttribute$1 | JSXIdentifier$1 | JSXSpreadChild$1 | JSXText$1 | TSThisParameter | TSEnumDeclaration$1 | TSEnumBody | TSEnumMember | TSTypeAnnotation$1 | TSLiteralType$1 | TSConditionalType$1 | TSUnionType$1 | TSIntersectionType$1 | TSParenthesizedType$1 | TSTypeOperator$1 | TSArrayType$1 | TSIndexedAccessType$1 | TSTupleType$1 | TSNamedTupleMember$1 | TSOptionalType$1 | TSRestType$1 | TSAnyKeyword | TSStringKeyword | TSBooleanKeyword | TSNumberKeyword | TSNeverKeyword | TSIntrinsicKeyword | TSUnknownKeyword | TSNullKeyword | TSUndefinedKeyword | TSVoidKeyword | TSSymbolKeyword | TSThisType | TSObjectKeyword | TSBigIntKeyword | TSTypeReference$1 | TSQualifiedName$1 | TSTypeParameterInstantiation$1 | TSTypeParameter | TSTypeParameterDeclaration$1 | TSTypeAliasDeclaration$1 | TSClassImplements | TSInterfaceDeclaration$1 | TSInterfaceBody$1 | TSPropertySignature$1 | TSIndexSignature$1 | TSCallSignatureDeclaration$1 | TSMethodSignature$1 | TSConstructSignatureDeclaration$1 | TSIndexSignatureName | TSInterfaceHeritage | TSTypePredicate$1 | TSModuleDeclaration$1 | TSGlobalDeclaration | TSModuleBlock$1 | TSTypeLiteral | TSInferType$1 | TSTypeQuery$1 | TSImportType$1 | TSImportTypeQualifiedName | TSFunctionType$1 | TSConstructorType$1 | TSMappedType$1 | TSTemplateLiteralType$1 | TSAsExpression$1 | TSSatisfiesExpression$1 | TSTypeAssertion$1 | TSImportEqualsDeclaration$1 | TSExternalModuleReference | TSNonNullExpression$1 | Decorator$1 | TSExportAssignment$1 | TSNamespaceExportDeclaration$1 | TSInstantiationExpression$1 | JSDocNullableType$1 | JSDocNonNullableType$1 | JSDocUnknownType | ParamPattern$1;
1760
-
1761
- declare type Node_2 = Simplify<Built<Node$1>> | Node$1;
1762
-
1763
- declare interface NullLiteral$1 extends Span$1 {
1764
- type: "Literal";
1765
- value: null;
1766
- raw: "null" | null;
1767
- parent?: Node$1;
1768
- }
1769
-
1770
- declare interface NumericLiteral$1 extends Span$1 {
1771
- type: "Literal";
1772
- value: number;
1773
- raw: string | null;
1774
- parent?: Node$1;
1775
- }
1776
-
1777
- declare interface ObjectAssignmentTarget extends Span$1 {
1778
- type: "ObjectPattern";
1779
- decorators?: [];
1780
- properties: Array<AssignmentTargetProperty | AssignmentTargetRest>;
1781
- optional?: false;
1782
- typeAnnotation?: null;
1783
- parent?: Node$1;
1784
- }
1785
-
1786
- declare interface ObjectExpression$1 extends Span$1 {
1787
- type: "ObjectExpression";
1788
- properties: Array<ObjectPropertyKind>;
1789
- parent?: Node$1;
1790
- }
1791
-
1792
- declare interface ObjectPattern extends Span$1 {
1793
- type: "ObjectPattern";
1794
- decorators?: [];
1795
- properties: Array<BindingProperty$1 | BindingRestElement$1>;
1796
- optional?: false;
1797
- typeAnnotation?: TSTypeAnnotation$1 | null;
1798
- parent?: Node$1;
1799
- }
1800
-
1801
- declare interface ObjectProperty$1 extends Span$1 {
1802
- type: "Property";
1803
- kind: PropertyKind;
1804
- key: PropertyKey_2;
1805
- value: Expression$1;
1806
- method: boolean;
1807
- shorthand: boolean;
1808
- computed: boolean;
1809
- optional?: false;
1810
- parent?: Node$1;
1811
- }
1812
-
1813
- declare type ObjectPropertyKind = ObjectProperty$1 | SpreadElement$1;
1814
-
1815
- export declare const optionsPath: (...path: string[]) => string;
1816
-
1817
- export declare class OutOfMemoryError extends OutOfMemoryError_base {
1818
- readonly exitClass: 'RuntimeError';
1819
- }
1820
-
1821
- declare const OutOfMemoryError_base: Schema.Class<OutOfMemoryError, Schema.TaggedStruct<"OutOfMemoryError", {
1822
- readonly pid: Schema.Int;
1823
- readonly exitCode: Schema.Int;
1824
- }>, YieldableError>;
1825
-
1826
- /**
1827
- * Mode type vocabulary shared with the CLI package. Runtime resolution
1828
- * (`resolveMode`) and gate functions (`isProgressEnabled`, `isColorEnabled`)
1829
- * live in the CLI; the `ResolvedMode` fields (`mode`, `signal`,
1830
- * `stdoutIsTTY`) ride along in `VerdictEnvelope` (`verdict-envelope.ts`),
1831
- * so the types stay where the data does.
1832
- */
1833
- export declare type OutputMode = 'human' | 'machine';
1834
-
1835
- declare type ParamPattern$1 = FormalParameter | TSParameterProperty | FormalParameterRest;
1836
-
1837
- declare interface ParenthesizedExpression extends Span$1 {
1838
- type: "ParenthesizedExpression";
1839
- expression: Expression$1;
1840
- parent?: Node$1;
1841
- }
1842
-
1843
- /**
1844
- * The deep-partial input type: when configuring Stryker, every option is
1845
- * optional, including deep properties like `dashboard.project`.
1846
- */
1847
- export declare type PartialStrykerOptions = DeepOptional<StrykerOptions>;
1848
-
1849
- export declare interface PassedCheckResult {
1850
- readonly status: 'passed';
1851
- }
1852
-
1853
- export declare class PhaseEntered extends PhaseEntered_base {}
1854
-
1855
- declare const PhaseEntered_base: S.Class<PhaseEntered, S.TaggedStruct<"phase", {
1856
- readonly phase: S.Literals<readonly ["prepare", "instrument", "dry-run", "mutation-test"]>;
1857
- readonly elapsedMs: S.Finite;
1858
- }>, {}>;
1859
-
1860
- export declare class PlanKnown extends PlanKnown_base {}
1861
-
1862
- declare const PlanKnown_base: S.Class<PlanKnown, S.TaggedStruct<"plan", {
1863
- readonly total: S.Int;
1864
- }>, {}>;
1865
-
1866
- export declare type PluginDescriptor<K extends PluginKind = PluginKind> = PluginDescriptorOf<K>;
1867
-
1868
- export declare type PluginDescriptorOf<K extends PluginKind> = Extract<AnyPluginDescriptor, {
1869
- readonly kind: K;
1870
- }>;
1871
-
1872
- export declare type PluginKind = WorkerPluginKind | 'Evaluator';
1873
-
1874
- export declare type PluginSource = AnyWorkerPluginSource | EvaluatorPluginSource;
1875
-
1876
- /**
1877
- * A test runner in a child process, whose calls can fail the way a child process
1878
- * fails.
1879
- *
1880
- * Wider than `TestRunnerService` on purpose. That port's error channel is
1881
- * `TestRunnerFailed`, which is right for a runner living in this process — but
1882
- * folding a crash into it erases the tag a pool retires a worker on, so
1883
- * `Pool.invalidate` could never fire and a dead worker would be handed out again.
1884
- * A `WorkerMethodError` is the runner genuinely failing and does become a
1885
- * `TestRunnerFailed`; a crash or an OOM is the worker dying, and stays itself.
1886
- */
1887
- export declare interface PooledTestRunner {
1888
- readonly capabilities: Effect.Effect<TestRunnerCapabilities, PooledTestRunnerError>;
1889
- readonly init: Effect.Effect<void, PooledTestRunnerError>;
1890
- readonly dryRun: (options: DryRunOptions) => Effect.Effect<DryRunResult, PooledTestRunnerError>;
1891
- readonly mutantRun: (options: MutantRunOptions) => Effect.Effect<MutantRunResult, PooledTestRunnerError>;
1892
- }
1893
-
1894
- /** How a call on a pooled worker can fail. */
1895
- export declare type PooledTestRunnerError = TestRunnerFailed | ChildProcessCrashedError | OutOfMemoryError;
1896
-
1897
- export declare type Position = typeof PositionSchema.Type;
1898
-
1899
- export declare const PositionSchema: S.Struct<{
1900
- readonly line: S.Finite;
1901
- readonly column: S.Finite;
1902
- }>;
1903
-
1904
- export declare interface PrepareDone {
1905
- readonly project: Project;
1906
- readonly loadedPlugins: LoadedPlugins;
1907
- readonly ignorers: readonly Ignorer[];
1908
- readonly options: StrykerOptions;
1909
- readonly temporaryDirectoryPath: string;
1910
- readonly reporterStage: ReporterStage;
1911
- }
1912
-
1913
- export declare interface PrepareExecutorArgs {
1914
- cliOptions: PartialStrykerOptions;
1915
- targetMutatePatterns: string[] | undefined;
1916
- }
1917
-
1918
- export declare type Primitive = boolean | number | string | null | undefined;
1919
-
1920
- declare interface PrivateFieldExpression extends Span$1 {
1921
- type: "MemberExpression";
1922
- object: Expression$1;
1923
- property: PrivateIdentifier$1;
1924
- optional: boolean;
1925
- computed: false;
1926
- parent?: Node$1;
1927
- }
1928
-
1929
- declare interface PrivateIdentifier$1 extends Span$1 {
1930
- type: "PrivateIdentifier";
1931
- name: string;
1932
- parent?: Node$1;
1933
- }
1934
-
1935
- declare interface PrivateInExpression$1 extends Span$1 {
1936
- type: "BinaryExpression";
1937
- left: PrivateIdentifier$1;
1938
- operator: "in";
1939
- right: Expression$1;
1940
- parent?: Node$1;
1941
- }
1942
-
1943
- declare interface Program$1 extends Span$1 {
1944
- type: "Program";
1945
- body: Array<Directive | Statement$1>;
1946
- sourceType: ModuleKind;
1947
- hashbang: Hashbang | null;
1948
- parent?: null;
1949
- }
1950
-
1951
- export declare interface Project {
1952
- readonly fileDescriptions: FileDescriptions;
1953
- readonly incrementalReport: MutationTestResult | undefined;
1954
- readonly testFiles: readonly string[];
1955
- readonly files: MutableHashMap.MutableHashMap<string, ProjectFile>;
1956
- readonly filesToMutate: MutableHashMap.MutableHashMap<string, ProjectFile>;
1957
- }
1958
-
1959
- export declare interface ProjectFile extends FileDescription {
1960
- readonly name: string;
1961
- readonly mutate: MutateDescription;
1962
- readonly content: string | undefined;
1963
- readonly originalContent: string | undefined;
1964
- }
1965
-
1966
- declare class PropagatedTrace extends PropagatedTrace_base {}
1967
-
1968
- declare const PropagatedTrace_base: Context.ServiceClass<PropagatedTrace, "@systemfsoftware/stryker-js-plugin-interface/TraceContextRpc/PropagatedTrace", Option.Option<TraceContextParts>>;
1969
-
1970
- declare interface PropertyDefinition$1 extends Span$1 {
1971
- type: PropertyDefinitionType;
1972
- decorators: Array<Decorator$1>;
1973
- key: PropertyKey_2;
1974
- typeAnnotation?: TSTypeAnnotation$1 | null;
1975
- value: Expression$1 | null;
1976
- computed: boolean;
1977
- static: boolean;
1978
- declare?: boolean;
1979
- override?: boolean;
1980
- optional?: boolean;
1981
- definite?: boolean;
1982
- readonly?: boolean;
1983
- accessibility?: TSAccessibility | null;
1984
- parent?: Node$1;
1985
- }
1986
-
1987
- declare type PropertyDefinitionType = "PropertyDefinition" | "TSAbstractPropertyDefinition";
1988
-
1989
- declare type PropertyKey_2 = IdentifierName$1 | PrivateIdentifier$1 | Expression$1;
1990
-
1991
- declare type PropertyKind = "init" | "get" | "set";
1992
-
1993
- export declare function readConfig(cliOptions: PartialStrykerOptions, invocation: ConfigInvocation): Effect.Effect<StrykerOptions, ConfigFileNotFoundError | ConfigFileUnreadableError | ConfigFileInvalidError | ConfigFileUnsupportedError, FileSystem.FileSystem | Path.Path>;
1994
-
1995
- export declare class ReadConfigCommand extends ReadConfigCommand_base {}
1996
-
1997
- declare const ReadConfigCommand_base: S.Class<ReadConfigCommand, S.TaggedStruct<"ReadConfigCommand", {
1998
- readonly cliOptions: S.$Record<S.String, S.Unknown>;
1999
- readonly basePath: S.String;
2000
- }>, {}>;
2001
-
2002
- declare interface RegExpLiteral$1 extends Span$1 {
2003
- type: "Literal";
2004
- value: RegExp | null;
2005
- raw: string | null;
2006
- regex: {
2007
- pattern: string;
2008
- flags: string;
2009
- };
2010
- parent?: Node$1;
2011
- }
2012
-
2013
- export declare const REPORTER_EVENT_BATCH_BOUND = 128;
2014
-
2015
- export declare const ReporterAck: S.Void;
2016
-
2017
- export declare const ReporterDrained: S.Void;
2018
-
2019
- export declare type ReporterEvent = DryRunCompleted | MutationTestingPlanReady | MutantTested | MutationTestReportReady;
2020
-
2021
- export declare const ReporterEventBatch: S.$Array<S.Union<readonly [typeof DryRunCompleted, typeof MutationTestingPlanReady, typeof MutantTested, typeof MutationTestReportReady]>>;
2022
-
2023
- export declare type ReporterEventBatch = typeof ReporterEventBatch.Type;
2024
-
2025
- export declare type ReporterFactory = (options: StrykerOptions, init: ReporterInit) => (events: AsyncIterable<ReporterEvent>) => Effect.Effect<void, ReporterFailed>;
2026
-
2027
- export declare class ReporterFailed extends ReporterFailed_base {}
2028
-
2029
- declare const ReporterFailed_base: S.Class<ReporterFailed, S.TaggedStruct<"ReporterFailed", {
2030
- readonly cause: S.String;
2031
- readonly event: S.Literals<readonly ["dryRunCompleted", "mutationTestingPlanReady", "mutantTested", "mutationTestReportReady"]>;
2032
- readonly reporterName: S.String;
2033
- }>, YieldableError>;
2034
-
2035
- export declare interface ReporterInit {
2036
- readonly traceparent?: string | undefined;
2037
- readonly tracestate?: string | undefined;
2038
- }
2039
-
2040
- export declare const ReporterInitOptions: S.Struct<{
2041
- readonly traceparent: S.optionalKey<S.String>;
2042
- readonly tracestate: S.optionalKey<S.String>;
2043
- }>;
2044
-
2045
- export declare type ReporterInitOptions = typeof ReporterInitOptions.Type;
2046
-
2047
- export declare const ReporterRpcs: RpcGroup.RpcGroup<TracedRpc<'init', typeof ReporterInitOptions, typeof ReporterAck, typeof ReporterFailed> | TracedRpc<'onEventBatch', typeof ReporterEventBatch, typeof ReporterAck, typeof ReporterFailed> | TracedRpc<'flush', Schema.Void, typeof ReporterDrained, typeof ReporterFailed>>;
2048
-
2049
- /**
2050
- * An attached reporter stage, opaque at the engine boundary: the published
2051
- * phase types carry this handle so the attachment machinery (queues, fibers,
2052
- * the state latch) never reaches an adopter's compiler. Constructed only by
2053
- * `attachReporterFactories`.
2054
- */
2055
- export declare interface ReporterStage {
2056
- readonly [ReporterStageTypeId]: typeof ReporterStageTypeId;
2057
- }
2058
-
2059
- declare const ReporterStageTypeId: unique symbol;
2060
-
2061
- export declare type ReporterWorkerClient = RpcClient.RpcClient<RpcGroup.Rpcs<typeof ReporterRpcs>, RpcClientError>;
2062
-
2063
- export declare const reporterWorkerFactory: (client: ReporterWorkerClient) => ReporterFactory;
2064
-
2065
- export declare interface ResolvedMode {
2066
- readonly mode: OutputMode;
2067
- readonly signal: ModeSignal;
2068
- readonly stdoutIsTTY: boolean;
2069
- }
2070
-
2071
- export declare interface ResolvedModeInput {
2072
- readonly mode: 'machine' | 'human';
2073
- readonly signal: 'flag' | 'env' | 'tty' | 'agent' | 'tool';
2074
- }
2075
-
2076
- export declare function resolveExitCode(pending: Iterable<ExitClass>, signal: number | null): number;
2077
-
2078
- declare interface ReturnStatement$1 extends Span$1 {
2079
- type: "ReturnStatement";
2080
- argument: Expression$1 | null;
2081
- parent?: Node$1;
2082
- }
2083
-
2084
- export declare const RUN_EVENTS_QUEUE_BOUND = 256;
2085
-
2086
- export declare class RunEnvironment extends RunEnvironment_base {}
2087
-
2088
- declare const RunEnvironment_base: Context.ServiceClass<RunEnvironment, "@systemfsoftware/stryker-js/run/RunEnvironment", RunEnvironmentShape>;
2089
-
2090
- export declare interface RunEnvironmentShape {
2091
- readonly runId: string;
2092
- readonly resolvedMode: ResolvedMode;
2093
- readonly runStartedAt: number;
2094
- readonly basePath: string;
2095
- readonly builtinReporters: Readonly<Record<string, ReporterFactory>>;
2096
- readonly allowConsoleColors: boolean;
2097
- }
2098
-
2099
- export declare const RunEvent: S.Union<readonly [typeof RunStarted, typeof PhaseEntered, typeof PlanKnown, typeof RunMutantTested, typeof Heartbeat, typeof VerdictReached, typeof RunFailed, typeof HelpRendered]>;
2100
-
2101
- export declare type RunEvent = typeof RunEvent.Type;
2102
-
2103
- export declare class RunEventDrain extends RunEventDrain_base {}
2104
-
2105
- declare const RunEventDrain_base: Context.ServiceClass<RunEventDrain, "@systemfsoftware/stryker-js/run-event-stream/RunEventDrain", RunEventDrainShape>;
2106
-
2107
- export declare const RunEventDrainLive: Layer.Layer<RunEventDrain, never, Stdio.Stdio>;
2108
-
2109
- declare interface RunEventDrainShape {
2110
- readonly drainFramed: FramedDrain;
2111
- readonly setProgressStreamFile: (fileName: string) => Effect.Effect<void, never, never>;
2112
- }
2113
-
2114
- export declare class RunEvents extends RunEvents_base {}
2115
-
2116
- declare const RunEvents_base: Context.ServiceClass<RunEvents, "@systemfsoftware/stryker-js/RunEvents", Queue.Queue<Heartbeat | HelpRendered | PhaseEntered | PlanKnown | RunFailed | RunMutantTested | RunStarted | VerdictReached, Cause.Done<void>>>;
2117
-
2118
- export declare interface RunEventStream {
2119
- readonly queue: Queue.Queue<RunEvent, Cause.Done>;
2120
- readonly runId: string;
2121
- readonly startedAt: number;
2122
- readonly isOpen: Effect.Effect<boolean, never, never>;
2123
- readonly ensureOpen: (openResolved: ResolvedModeInput) => Effect.Effect<void, never, never>;
2124
- readonly open: Effect.Effect<void, never, never>;
2125
- readonly closeAndDrain: Effect.Effect<void, never, never>;
2126
- }
2127
-
2128
- export declare const RunEventWireLine: S.decodeTo<S.fromJsonString<S.Union<readonly [typeof RunStarted, typeof PhaseEntered, typeof PlanKnown, typeof RunMutantTested, typeof Heartbeat, typeof VerdictReached, typeof RunFailed, typeof HelpRendered]>>, S.String, never, never>;
2129
-
2130
- export declare type RunEventWireLine = typeof RunEventWireLine.Type;
2131
-
2132
- export declare class RunFailed extends RunFailed_base {}
2133
-
2134
- declare const RunFailed_base: S.Class<RunFailed, S.TaggedStruct<"error", {
2135
- readonly schemaVersion: S.String;
2136
- readonly code: S.Finite;
2137
- readonly error: S.String;
2138
- readonly remediation: S.String;
2139
- }>, {}>;
2140
-
2141
- export declare class RunIdentity extends RunIdentity_base {}
2142
-
2143
- declare const RunIdentity_base: Context.ServiceClass<RunIdentity, "@systemfsoftware/stryker-js/RunEvents/RunIdentity", RunIdentityShape>;
2144
-
2145
- export declare interface RunIdentityShape {
2146
- readonly runId: string;
2147
- readonly basePath: string;
2148
- }
2149
-
2150
- export declare type RunMutantResult = Mutant & {
2151
- readonly status: MutantStatus;
2152
- readonly statusReason?: string | undefined;
2153
- readonly testsCompleted?: number | undefined;
2154
- readonly killedBy?: readonly string[] | undefined;
2155
- readonly coveredBy?: readonly string[] | undefined;
2156
- readonly static?: boolean | undefined;
2157
- };
2158
-
2159
- export declare class RunMutantTested extends RunMutantTested_base {}
2160
-
2161
- declare const RunMutantTested_base: S.Class<RunMutantTested, S.TaggedStruct<"mutant", {
2162
- readonly id: S.String;
2163
- readonly status: S.Literals<readonly ["Killed", "Survived", "NoCoverage", "CompileError", "RuntimeError", "Timeout", "Ignored", "Pending"]>;
2164
- readonly file: S.String;
2165
- readonly location: S.Struct<{
2166
- readonly start: S.Struct<{
2167
- readonly line: S.Finite;
2168
- readonly column: S.Finite;
2169
- }>;
2170
- readonly end: S.Struct<{
2171
- readonly line: S.Finite;
2172
- readonly column: S.Finite;
2173
- }>;
2174
- }>;
2175
- readonly mutator: S.String;
2176
- readonly replacement: S.NullOr<S.String>;
2177
- readonly completed: S.Int;
2178
- readonly total: S.Int;
2179
- }>, {}>;
2180
-
2181
- export declare interface RunOptions {
2182
- readonly timeout: number;
2183
- readonly disableBail: boolean;
2184
- }
2185
-
2186
- export declare const RunPhase: S.Literals<readonly ["prepare", "instrument", "dry-run", "mutation-test"]>;
2187
-
2188
- export declare type RunPhase = typeof RunPhase.Type;
2189
-
2190
- export declare interface RunPlan {
2191
- readonly plan: 'Run';
2192
- readonly mutant: Mutant;
2193
- readonly runOptions: MutantRunOptions;
2194
- readonly netTime: number;
2195
- }
2196
-
2197
- export declare type RunStageServices = RunEnvironment | RunEvents | IdGenerator | Scope.Scope;
2198
-
2199
- export declare class RunStarted extends RunStarted_base {}
2200
-
2201
- declare const RunStarted_base: S.Class<RunStarted, S.TaggedStruct<"stream", {
2202
- readonly schemaVersion: S.String;
2203
- readonly runId: S.String;
2204
- readonly mode: S.Literals<readonly ["human", "machine"]>;
2205
- readonly signal: S.Literals<readonly ["flag", "env", "tty", "agent", "tool"]>;
2206
- }>, {}>;
2207
-
2208
- export declare type RunTerminalEvent = VerdictReached | RunFailed | HelpRendered;
2209
-
2210
- export { S }
2211
-
2212
- export declare interface SandboxHandle {
2213
- readonly workingDirectory: string;
2214
- readonly sandboxFileFor: (fileName: string) => string;
2215
- readonly originalFileFor: (sandboxFileName: string) => string;
2216
- }
2217
-
2218
- declare interface SequenceExpression$1 extends Span$1 {
2219
- type: "SequenceExpression";
2220
- expressions: Array<Expression$1>;
2221
- parent?: Node$1;
2222
- }
2223
-
2224
- export declare const shouldKeepTempDir: <A = unknown, E = unknown>(exit: Exit.Exit<A, E>, cleanTempDir: 'always' | boolean) => boolean;
2225
-
2226
- declare type SimpleAssignmentTarget$1 = IdentifierReference$1 | TSAsExpression$1 | TSSatisfiesExpression$1 | TSNonNullExpression$1 | TSTypeAssertion$1 | MemberExpression$1;
2227
-
2228
- declare type Simplify<T> = { [K in keyof T]: T[K]; } & {};
2229
-
2230
- export declare interface SkippedTestResult extends BaseTestResult {
2231
- readonly status: 'skipped';
2232
- }
2233
-
2234
- declare interface Span$1 {
2235
- start: number;
2236
- end: number;
2237
- range?: [number, number];
2238
- }
2239
-
2240
- export declare interface SpawnedSocketWorker {
2241
- readonly pid: number;
2242
- readonly clientLayer: Layer.Layer<RpcClient.Protocol, Socket.SocketError>;
2243
- readonly exited: Effect.Effect<never, WorkerExit>;
2244
- }
2245
-
2246
- export declare const spawnReporterWorker: (params: SpawnReporterWorkerParams) => Effect.Effect<ReporterWorkerClient, WorkerBootError, Scope.Scope | WorkerLauncher>;
2247
-
2248
- export declare interface SpawnReporterWorkerParams {
2249
- readonly entrypoint: string;
2250
- readonly projectBasePath: string;
2251
- readonly execArgv: readonly string[];
2252
- readonly options: StrykerOptions;
2253
- readonly tempDirPrefix: string;
2254
- }
2255
-
2256
- declare interface SpreadElement$1 extends Span$1 {
2257
- type: "SpreadElement";
2258
- argument: Expression$1;
2259
- parent?: Node$1;
2260
- }
2261
-
2262
- export declare class StageError extends StageError_base {
2263
- readonly [TypeId]: "~stryker/mutation-run/StageError";
2264
- get exitClass(): ExitClass;
2265
- get message(): string;
2266
- }
2267
-
2268
- declare const StageError_base: S.Class<StageError, S.TaggedStruct<"StageError", {
2269
- readonly stage: S.Literals<readonly ["prepare", "instrument", "dryRun", "dryRunNoTests", "mutationTest"]>;
2270
- readonly reason: S.String;
2271
- readonly cause: S.optional<S.Defect>;
2272
- readonly command: S.optional<S.String>;
2273
- }>, YieldableError>;
2274
-
2275
- export declare type StageServices = ChildProcessSpawner.ChildProcessSpawner | FileSystem.FileSystem | IdGenerator | Path.Path | RunEnvironment | RunEvents | Scope.Scope | Stdio.Stdio | WorkerLauncher;
2276
-
2277
- declare type Statement$1 = BlockStatement$1 | BreakStatement$1 | ContinueStatement$1 | DebuggerStatement | DoWhileStatement$1 | EmptyStatement$1 | ExpressionStatement$1 | ForInStatement$1 | ForOfStatement$1 | ForStatement$1 | IfStatement$1 | LabeledStatement$1 | ReturnStatement$1 | SwitchStatement$1 | ThrowStatement$1 | TryStatement$1 | WhileStatement$1 | WithStatement$1 | Declaration | ModuleDeclaration;
2278
-
2279
- declare interface StaticBlock$1 extends Span$1 {
2280
- type: "StaticBlock";
2281
- body: Array<Statement$1>;
2282
- parent?: Node$1;
2283
- }
2284
-
2285
- declare interface StaticMemberExpression$1 extends Span$1 {
2286
- type: "MemberExpression";
2287
- object: Expression$1;
2288
- property: IdentifierName$1;
2289
- optional: boolean;
2290
- computed: false;
2291
- parent?: Node$1;
2292
- }
2293
-
2294
- declare interface StringLiteral$1 extends Span$1 {
2295
- type: "Literal";
2296
- value: string;
2297
- raw: string | null;
2298
- parent?: Node$1;
2299
- }
2300
-
2301
- export declare const strykerCell: (options: PartialStrykerOptions, targetMutatePatterns?: readonly string[]) => Effect.Effect<MutationTestDone, StageError | PlatformError, FileSystem.FileSystem | Path.Path | Stdio.Stdio>;
2302
-
2303
- export declare class StrykerError extends StrykerError_base {}
2304
-
2305
- declare const StrykerError_base: Schema.Class<StrykerError, Schema.TaggedStruct<"StrykerError", {
2306
- readonly message: Schema.String;
2307
- readonly cause: Schema.optional<Schema.Unknown>;
2308
- }>, YieldableError>;
2309
-
2310
- /** The decoded type: every defaulted option is present. */
2311
- export declare type StrykerOptions = S.Schema.Type<typeof StrykerOptionsSchema>;
2312
-
2313
- export declare const StrykerOptionsSchema: S.StructWithRest<S.Struct<{
2314
- readonly allowConsoleColors: S.withDecodingDefaultKey<S.Boolean, never>;
2315
- readonly buildCommand: S.optional<S.String>;
2316
- readonly checkers: S.withDecodingDefaultKey<S.$Array<S.Struct<{
2317
- readonly plugin: S.String;
2318
- readonly nodeArgs: S.optional<S.$Array<S.String>>;
2319
- readonly options: S.optional<S.$Record<S.String, S.Unknown>>;
2320
- }>>, never>;
2321
- readonly checkerNodeArgs: S.withDecodingDefaultKey<S.$Array<S.String>, never>;
2322
- readonly concurrency: S.optional<S.Union<readonly [S.Finite, S.String]>>;
2323
- readonly commandRunner: S.withDecodingDefaultKey<S.StructWithRest<S.Struct<{
2324
- readonly command: S.withDecodingDefaultKey<S.String, never>;
2325
- }>, readonly [S.$Record<S.String, S.Unknown>]>, never>;
2326
- readonly coverageAnalysis: S.withDecodingDefaultKey<S.Literals<readonly ["off", "all", "perTest"]>, never>;
2327
- readonly clearTextReporter: S.withDecodingDefaultKey<S.StructWithRest<S.Struct<{
2328
- readonly allowColor: S.withDecodingDefaultKey<S.Boolean, never>;
2329
- readonly allowEmojis: S.withDecodingDefaultKey<S.Boolean, never>;
2330
- readonly logTests: S.withDecodingDefaultKey<S.Boolean, never>;
2331
- readonly maxTestsToLog: S.withDecodingDefaultKey<S.Finite, never>;
2332
- readonly reportTests: S.withDecodingDefaultKey<S.Boolean, never>;
2333
- readonly reportMutants: S.withDecodingDefaultKey<S.Boolean, never>;
2334
- readonly reportScoreTable: S.withDecodingDefaultKey<S.Boolean, never>;
2335
- readonly skipFull: S.withDecodingDefaultKey<S.Boolean, never>;
2336
- }>, readonly [S.$Record<S.String, S.Unknown>]>, never>;
2337
- readonly dryRunOnly: S.withDecodingDefaultKey<S.Boolean, never>;
2338
- readonly ignorePatterns: S.withDecodingDefaultKey<S.$Array<S.String>, never>;
2339
- readonly ignoreStatic: S.withDecodingDefaultKey<S.Boolean, never>;
2340
- readonly incremental: S.withDecodingDefaultKey<S.Boolean, never>;
2341
- readonly incrementalFile: S.withDecodingDefaultKey<S.String, never>;
2342
- readonly progressStreamFile: S.withDecodingDefaultKey<S.String, never>;
2343
- readonly force: S.withDecodingDefaultKey<S.Boolean, never>;
2344
- readonly fileLogLevel: S.withDecodingDefaultKey<S.Literals<readonly ["off", "fatal", "error", "warn", "info", "debug", "trace"]>, never>;
2345
- readonly inPlace: S.withDecodingDefaultKey<S.Boolean, never>;
2346
- readonly logLevel: S.withDecodingDefaultKey<S.Literals<readonly ["off", "fatal", "error", "warn", "info", "debug", "trace"]>, never>;
2347
- readonly maxConcurrentTestRunners: S.withDecodingDefaultKey<S.Finite, never>;
2348
- readonly maxTestRunnerReuse: S.withDecodingDefaultKey<S.Finite, never>;
2349
- readonly mutate: S.withDecodingDefaultKey<S.$Array<S.String>, never>;
2350
- readonly mutator: S.withDecodingDefaultKey<S.Struct<{
2351
- readonly excludedMutations: S.withDecodingDefaultKey<S.$Array<S.String>, never>;
2352
- }>, never>;
2353
- readonly packageManager: S.optional<S.Literals<readonly ["npm", "yarn", "pnpm"]>>;
2354
- readonly plugins: S.withDecodingDefaultKey<S.$Array<S.String>, never>;
2355
- readonly appendPlugins: S.withDecodingDefaultKey<S.$Array<S.String>, never>;
2356
- readonly reporters: S.withDecodingDefaultKey<S.$Array<S.String>, never>;
2357
- readonly htmlReporter: S.withDecodingDefaultKey<S.Struct<{
2358
- readonly fileName: S.withDecodingDefaultKey<S.String, never>;
2359
- }>, never>;
2360
- readonly jsonReporter: S.withDecodingDefaultKey<S.Struct<{
2361
- readonly fileName: S.withDecodingDefaultKey<S.String, never>;
2362
- }>, never>;
2363
- readonly disableTypeChecks: S.withDecodingDefaultKey<S.Union<readonly [S.Boolean, S.String]>, never>;
2364
- readonly symlinkNodeModules: S.withDecodingDefaultKey<S.Boolean, never>;
2365
- readonly tempDirName: S.withDecodingDefaultKey<S.String, never>;
2366
- readonly cleanTempDir: S.withDecodingDefaultKey<S.Literals<readonly ["always", false, true]>, never>;
2367
- readonly testRunner: S.withDecodingDefaultKey<S.Union<readonly [S.String, S.Struct<{
2368
- readonly plugin: S.String;
2369
- readonly nodeArgs: S.optional<S.$Array<S.String>>;
2370
- readonly options: S.optional<S.$Record<S.String, S.Unknown>>;
2371
- }>]>, never>;
2372
- readonly testRunnerNodeArgs: S.withDecodingDefaultKey<S.$Array<S.String>, never>;
2373
- readonly thresholds: S.withDecodingDefaultKey<S.decodeTo<S.declare<{
2374
- readonly high: number;
2375
- readonly low: number;
2376
- readonly break: number | null;
2377
- }, {
2378
- readonly high: number;
2379
- readonly low: number;
2380
- readonly break: number | null;
2381
- }>, S.Struct<{
2382
- readonly high: S.withDecodingDefaultKey<S.Finite, never>;
2383
- readonly low: S.withDecodingDefaultKey<S.Finite, never>;
2384
- readonly break: S.withDecodingDefaultKey<S.NullOr<S.Finite>, never>;
2385
- }>, never, never>, never>;
2386
- readonly timeoutFactor: S.withDecodingDefaultKey<S.Finite, never>;
2387
- readonly timeoutMS: S.withDecodingDefaultKey<S.Finite, never>;
2388
- readonly dryRunTimeoutMinutes: S.withDecodingDefaultKey<S.Finite, never>;
2389
- readonly tsconfigFile: S.withDecodingDefaultKey<S.String, never>;
2390
- readonly warnings: S.withDecodingDefaultKey<S.Union<readonly [S.Boolean, S.StructWithRest<S.Struct<{
2391
- readonly unknownOptions: S.withDecodingDefaultKey<S.Boolean, never>;
2392
- readonly preprocessorErrors: S.withDecodingDefaultKey<S.Boolean, never>;
2393
- readonly unserializableOptions: S.withDecodingDefaultKey<S.Boolean, never>;
2394
- readonly slow: S.withDecodingDefaultKey<S.Boolean, never>;
2395
- }>, readonly [S.$Record<S.String, S.Unknown>]>]>, never>;
2396
- readonly disableBail: S.withDecodingDefaultKey<S.Boolean, never>;
2397
- readonly allowEmpty: S.withDecodingDefaultKey<S.Boolean, never>;
2398
- readonly ignorers: S.withDecodingDefaultKey<S.$Array<S.String>, never>;
2399
- readonly testFiles: S.withDecodingDefaultKey<S.$Array<S.String>, never>;
2400
- }>, readonly [S.$Record<S.String, S.Unknown>]>;
2401
-
2402
- export declare type StrykerRun = (options: PartialStrykerOptions, targetMutatePatterns?: string[]) => Effect.Effect<MutationTestDone, StageError, never>;
2403
-
2404
- export declare const strykerVersion: string;
2405
-
2406
- export declare interface SuccessTestResult extends BaseTestResult {
2407
- readonly status: 'success';
2408
- }
2409
-
2410
- declare interface Super$1 extends Span$1 {
2411
- type: "Super";
2412
- parent?: Node$1;
2413
- }
2414
-
2415
- export declare const SUPPORTED_CONFIG_FILE_NAMES: readonly string[];
2416
-
2417
- export declare interface SurvivedMutantRunResult {
2418
- readonly status: 'survived';
2419
- readonly nrOfTests: number;
2420
- }
2421
-
2422
- export declare const survivorsPriorReport: S.optionalKey<S.String>;
2423
-
2424
- declare interface SwitchCase$1 extends Span$1 {
2425
- type: "SwitchCase";
2426
- test: Expression$1 | null;
2427
- consequent: Array<Statement$1>;
2428
- parent?: Node$1;
2429
- }
2430
-
2431
- declare interface SwitchStatement$1 extends Span$1 {
2432
- type: "SwitchStatement";
2433
- discriminant: Expression$1;
2434
- cases: Array<SwitchCase$1>;
2435
- parent?: Node$1;
2436
- }
2437
-
2438
- declare interface TaggedTemplateExpression$1 extends Span$1 {
2439
- type: "TaggedTemplateExpression";
2440
- tag: Expression$1;
2441
- typeArguments?: TSTypeParameterInstantiation$1 | null;
2442
- quasi: TemplateLiteral$1;
2443
- parent?: Node$1;
2444
- }
2445
-
2446
- declare interface TemplateElement$1 extends Span$1 {
2447
- type: "TemplateElement";
2448
- value: TemplateElementValue;
2449
- tail: boolean;
2450
- parent?: Node$1;
2451
- }
2452
-
2453
- declare interface TemplateElementValue {
2454
- raw: string;
2455
- cooked: string | null;
2456
- }
2457
-
2458
- declare interface TemplateLiteral$1 extends Span$1 {
2459
- type: "TemplateLiteral";
2460
- quasis: Array<TemplateElement$1>;
2461
- expressions: Array<Expression$1>;
2462
- parent?: Node$1;
2463
- }
2464
-
2465
- export declare interface TestCoverage {
2466
- readonly testsByMutantId: MutableHashMap.MutableHashMap<string, MutableHashSet.MutableHashSet<TestResult>>;
2467
- readonly testsById: MutableHashMap.MutableHashMap<string, TestResult>;
2468
- readonly staticCoverage: CoverageData | undefined;
2469
- readonly hitsByMutantId: MutableHashMap.MutableHashMap<string, number>;
2470
- }
2471
-
2472
- export declare type TestResult = FailedTestResult | SkippedTestResult | SuccessTestResult;
2473
-
2474
- /** What building a runner for this run needs. */
2475
- export declare interface TestRunnerBuildContext {
2476
- readonly options: StrykerOptions;
2477
- readonly fileDescriptions: FileDescriptions;
2478
- readonly sandboxWorkingDirectory: string;
2479
- readonly idGenerator: IdGeneratorShape;
2480
- /**
2481
- * Retire this runner's worker. Supplied by whoever owns the worker's
2482
- * lifetime — the pool — so a combinator never restarts a process the pool
2483
- * still believes it owns.
2484
- */
2485
- readonly retire: Effect.Effect<void>;
2486
- readonly testFiles: readonly string[];
2487
- }
2488
-
2489
- export declare interface TestRunnerCapabilities {
2490
- readonly reloadEnvironment: boolean;
2491
- }
2492
-
2493
- export declare type TestRunnerConfig = typeof TestRunnerConfigSchema.Type;
2494
-
2495
- export declare const TestRunnerConfigSchema: S.Union<readonly [S.String, S.Struct<{
2496
- readonly plugin: S.String;
2497
- readonly nodeArgs: S.optional<S.$Array<S.String>>;
2498
- readonly options: S.optional<S.$Record<S.String, S.Unknown>>;
2499
- }>]>;
2500
-
2501
- export declare class TestRunnerFailed extends TestRunnerFailed_base {}
2502
-
2503
- declare const TestRunnerFailed_base: S.Class<TestRunnerFailed, S.TaggedStruct<"TestRunnerFailed", {
2504
- readonly cause: S.String;
2505
- readonly phase: S.Literals<readonly ["capabilities", "dispose", "dryRun", "init", "mutantRun"]>;
2506
- readonly runnerName: S.String;
2507
- }>, YieldableError>;
2508
-
2509
- declare interface ThisExpression$1 extends Span$1 {
2510
- type: "ThisExpression";
2511
- parent?: Node$1;
2512
- }
2513
-
2514
- declare interface ThrowStatement$1 extends Span$1 {
2515
- type: "ThrowStatement";
2516
- argument: Expression$1;
2517
- parent?: Node$1;
2518
- }
2519
-
2520
- export declare interface TimeoutDryRunResult {
2521
- readonly status: 'timeout';
2522
- readonly reason?: string;
2523
- }
2524
-
2525
- export declare interface TimeoutMutantRunResult {
2526
- readonly status: 'timeout';
2527
- readonly reason?: string;
2528
- }
2529
-
2530
- export declare const toRelativeNormalizedFileName: (fileName: string | undefined, basePath: string) => string;
2531
-
2532
- export declare class TraceContextMiddleware extends TraceContextMiddleware_base {}
2533
-
2534
- declare const TraceContextMiddleware_base: RpcMiddleware.ServiceClass<TraceContextMiddleware, "@systemfsoftware/stryker-js-plugin-interface/TraceContextMiddleware", typeof PropagatedTrace, Schema.Never, never, never, true>;
2535
-
2536
- declare interface TraceContextParts {
2537
- readonly version: string;
2538
- readonly traceId: string;
2539
- readonly spanId: string;
2540
- readonly traceFlags: number;
2541
- readonly traceState?: string | undefined;
2542
- }
2543
-
2544
- export declare type TracedRpc<Tag extends string, Payload extends Schema.Top = Schema.Void, Success extends Schema.Top = Schema.Void, Error extends Schema.Top = Schema.Never> = Rpc.Rpc<Tag, Payload, Success, Error, typeof TraceContextMiddleware, RpcMiddleware.ApplyServices<typeof TraceContextMiddleware['Identifier'], never>>;
2545
-
2546
- declare interface TryStatement$1 extends Span$1 {
2547
- type: "TryStatement";
2548
- block: BlockStatement$1;
2549
- handler: CatchClause$1 | null;
2550
- finalizer: BlockStatement$1 | null;
2551
- parent?: Node$1;
2552
- }
2553
-
2554
- declare type TSAccessibility = "private" | "protected" | "public";
2555
-
2556
- declare interface TSAnyKeyword extends Span$1 {
2557
- type: "TSAnyKeyword";
2558
- parent?: Node$1;
2559
- }
2560
-
2561
- declare interface TSArrayType$1 extends Span$1 {
2562
- type: "TSArrayType";
2563
- elementType: TSType$1;
2564
- parent?: Node$1;
2565
- }
2566
-
2567
- declare interface TSAsExpression$1 extends Span$1 {
2568
- type: "TSAsExpression";
2569
- expression: Expression$1;
2570
- typeAnnotation: TSType$1;
2571
- parent?: Node$1;
2572
- }
2573
-
2574
- declare interface TSBigIntKeyword extends Span$1 {
2575
- type: "TSBigIntKeyword";
2576
- parent?: Node$1;
2577
- }
2578
-
2579
- declare interface TSBooleanKeyword extends Span$1 {
2580
- type: "TSBooleanKeyword";
2581
- parent?: Node$1;
2582
- }
2583
-
2584
- declare interface TSCallSignatureDeclaration$1 extends Span$1 {
2585
- type: "TSCallSignatureDeclaration";
2586
- typeParameters: TSTypeParameterDeclaration$1 | null;
2587
- params: ParamPattern$1[];
2588
- returnType: TSTypeAnnotation$1 | null;
2589
- parent?: Node$1;
2590
- }
2591
-
2592
- declare interface TSClassImplements extends Span$1 {
2593
- type: "TSClassImplements";
2594
- expression: IdentifierReference$1 | ThisExpression$1 | MemberExpression$1;
2595
- typeArguments: TSTypeParameterInstantiation$1 | null;
2596
- parent?: Node$1;
2597
- }
2598
-
2599
- declare interface TSConditionalType$1 extends Span$1 {
2600
- type: "TSConditionalType";
2601
- checkType: TSType$1;
2602
- extendsType: TSType$1;
2603
- trueType: TSType$1;
2604
- falseType: TSType$1;
2605
- parent?: Node$1;
2606
- }
2607
-
2608
- declare interface TSConstructorType$1 extends Span$1 {
2609
- type: "TSConstructorType";
2610
- abstract: boolean;
2611
- typeParameters: TSTypeParameterDeclaration$1 | null;
2612
- params: ParamPattern$1[];
2613
- returnType: TSTypeAnnotation$1;
2614
- parent?: Node$1;
2615
- }
2616
-
2617
- declare interface TSConstructSignatureDeclaration$1 extends Span$1 {
2618
- type: "TSConstructSignatureDeclaration";
2619
- typeParameters: TSTypeParameterDeclaration$1 | null;
2620
- params: ParamPattern$1[];
2621
- returnType: TSTypeAnnotation$1 | null;
2622
- parent?: Node$1;
2623
- }
2624
-
2625
- declare interface TSEnumBody extends Span$1 {
2626
- type: "TSEnumBody";
2627
- members: Array<TSEnumMember>;
2628
- parent?: Node$1;
2629
- }
2630
-
2631
- declare interface TSEnumDeclaration$1 extends Span$1 {
2632
- type: "TSEnumDeclaration";
2633
- id: BindingIdentifier$1;
2634
- body: TSEnumBody;
2635
- const: boolean;
2636
- declare: boolean;
2637
- parent?: Node$1;
2638
- }
2639
-
2640
- declare interface TSEnumMember extends Span$1 {
2641
- type: "TSEnumMember";
2642
- id: TSEnumMemberName;
2643
- initializer: Expression$1 | null;
2644
- computed: boolean;
2645
- parent?: Node$1;
2646
- }
2647
-
2648
- declare type TSEnumMemberName = IdentifierName$1 | StringLiteral$1 | TemplateLiteral$1;
2649
-
2650
- declare interface TSExportAssignment$1 extends Span$1 {
2651
- type: "TSExportAssignment";
2652
- expression: Expression$1;
2653
- parent?: Node$1;
2654
- }
2655
-
2656
- declare interface TSExternalModuleReference extends Span$1 {
2657
- type: "TSExternalModuleReference";
2658
- expression: StringLiteral$1;
2659
- parent?: Node$1;
2660
- }
2661
-
2662
- declare interface TSFunctionType$1 extends Span$1 {
2663
- type: "TSFunctionType";
2664
- typeParameters: TSTypeParameterDeclaration$1 | null;
2665
- params: ParamPattern$1[];
2666
- returnType: TSTypeAnnotation$1;
2667
- parent?: Node$1;
2668
- }
2669
-
2670
- declare interface TSGlobalDeclaration extends Span$1 {
2671
- type: "TSModuleDeclaration";
2672
- id: IdentifierName$1;
2673
- body: TSModuleBlock$1;
2674
- kind: "global";
2675
- declare: boolean;
2676
- global: true;
2677
- parent?: Node$1;
2678
- }
2679
-
2680
- declare interface TSImportEqualsDeclaration$1 extends Span$1 {
2681
- type: "TSImportEqualsDeclaration";
2682
- id: BindingIdentifier$1;
2683
- moduleReference: TSModuleReference;
2684
- importKind: ImportOrExportKind;
2685
- parent?: Node$1;
2686
- }
2687
-
2688
- declare interface TSImportType$1 extends Span$1 {
2689
- type: "TSImportType";
2690
- source: StringLiteral$1;
2691
- options: ObjectExpression$1 | null;
2692
- qualifier: TSImportTypeQualifier | null;
2693
- typeArguments: TSTypeParameterInstantiation$1 | null;
2694
- parent?: Node$1;
2695
- }
2696
-
2697
- declare interface TSImportTypeQualifiedName extends Span$1 {
2698
- type: "TSQualifiedName";
2699
- left: TSImportTypeQualifier;
2700
- right: IdentifierName$1;
2701
- parent?: Node$1;
2702
- }
2703
-
2704
- declare type TSImportTypeQualifier = IdentifierName$1 | TSImportTypeQualifiedName;
2705
-
2706
- declare interface TSIndexedAccessType$1 extends Span$1 {
2707
- type: "TSIndexedAccessType";
2708
- objectType: TSType$1;
2709
- indexType: TSType$1;
2710
- parent?: Node$1;
2711
- }
2712
-
2713
- declare interface TSIndexSignature$1 extends Span$1 {
2714
- type: "TSIndexSignature";
2715
- parameters: Array<TSIndexSignatureName>;
2716
- typeAnnotation: TSTypeAnnotation$1;
2717
- readonly: boolean;
2718
- static: boolean;
2719
- accessibility: null;
2720
- parent?: Node$1;
2721
- }
2722
-
2723
- declare interface TSIndexSignatureName extends Span$1 {
2724
- type: "Identifier";
2725
- decorators: [];
2726
- name: string;
2727
- optional: false;
2728
- typeAnnotation: TSTypeAnnotation$1;
2729
- parent?: Node$1;
2730
- }
2731
-
2732
- declare interface TSInferType$1 extends Span$1 {
2733
- type: "TSInferType";
2734
- typeParameter: TSTypeParameter;
2735
- parent?: Node$1;
2736
- }
2737
-
2738
- declare interface TSInstantiationExpression$1 extends Span$1 {
2739
- type: "TSInstantiationExpression";
2740
- expression: Expression$1;
2741
- typeArguments: TSTypeParameterInstantiation$1;
2742
- parent?: Node$1;
2743
- }
2744
-
2745
- declare interface TSInterfaceBody$1 extends Span$1 {
2746
- type: "TSInterfaceBody";
2747
- body: Array<TSSignature>;
2748
- parent?: Node$1;
2749
- }
2750
-
2751
- declare interface TSInterfaceDeclaration$1 extends Span$1 {
2752
- type: "TSInterfaceDeclaration";
2753
- id: BindingIdentifier$1;
2754
- typeParameters: TSTypeParameterDeclaration$1 | null;
2755
- extends: Array<TSInterfaceHeritage>;
2756
- body: TSInterfaceBody$1;
2757
- declare: boolean;
2758
- parent?: Node$1;
2759
- }
2760
-
2761
- declare interface TSInterfaceHeritage extends Span$1 {
2762
- type: "TSInterfaceHeritage";
2763
- expression: Expression$1;
2764
- typeArguments: TSTypeParameterInstantiation$1 | null;
2765
- parent?: Node$1;
2766
- }
2767
-
2768
- declare interface TSIntersectionType$1 extends Span$1 {
2769
- type: "TSIntersectionType";
2770
- types: Array<TSType$1>;
2771
- parent?: Node$1;
2772
- }
2773
-
2774
- declare interface TSIntrinsicKeyword extends Span$1 {
2775
- type: "TSIntrinsicKeyword";
2776
- parent?: Node$1;
2777
- }
2778
-
2779
- declare type TSLiteral = BooleanLiteral$1 | NumericLiteral$1 | BigIntLiteral$1 | StringLiteral$1 | TemplateLiteral$1 | UnaryExpression$1;
2780
-
2781
- declare interface TSLiteralType$1 extends Span$1 {
2782
- type: "TSLiteralType";
2783
- literal: TSLiteral;
2784
- parent?: Node$1;
2785
- }
2786
-
2787
- declare interface TSMappedType$1 extends Span$1 {
2788
- type: "TSMappedType";
2789
- key: BindingIdentifier$1;
2790
- constraint: TSType$1;
2791
- nameType: TSType$1 | null;
2792
- typeAnnotation: TSType$1 | null;
2793
- optional: TSMappedTypeModifierOperator | false;
2794
- readonly: TSMappedTypeModifierOperator | null;
2795
- parent?: Node$1;
2796
- }
2797
-
2798
- declare type TSMappedTypeModifierOperator = true | "+" | "-";
2799
-
2800
- declare interface TSMethodSignature$1 extends Span$1 {
2801
- type: "TSMethodSignature";
2802
- key: PropertyKey_2;
2803
- computed: boolean;
2804
- optional: boolean;
2805
- kind: TSMethodSignatureKind;
2806
- typeParameters: TSTypeParameterDeclaration$1 | null;
2807
- params: ParamPattern$1[];
2808
- returnType: TSTypeAnnotation$1 | null;
2809
- accessibility: null;
2810
- readonly: false;
2811
- static: false;
2812
- parent?: Node$1;
2813
- }
2814
-
2815
- declare type TSMethodSignatureKind = "method" | "get" | "set";
2816
-
2817
- declare interface TSModuleBlock$1 extends Span$1 {
2818
- type: "TSModuleBlock";
2819
- body: Array<Directive | Statement$1>;
2820
- parent?: Node$1;
2821
- }
2822
-
2823
- declare interface TSModuleDeclaration$1 extends Span$1 {
2824
- type: "TSModuleDeclaration";
2825
- id: BindingIdentifier$1 | StringLiteral$1 | TSQualifiedName$1;
2826
- body: TSModuleBlock$1 | null;
2827
- kind: TSModuleDeclarationKind;
2828
- declare: boolean;
2829
- global: false;
2830
- parent?: Node$1;
2831
- }
2832
-
2833
- declare type TSModuleDeclarationKind = "module" | "namespace";
2834
-
2835
- declare type TSModuleReference = TSExternalModuleReference | IdentifierReference$1 | TSQualifiedName$1;
2836
-
2837
- declare interface TSNamedTupleMember$1 extends Span$1 {
2838
- type: "TSNamedTupleMember";
2839
- label: IdentifierName$1;
2840
- elementType: TSTupleElement;
2841
- optional: boolean;
2842
- parent?: Node$1;
2843
- }
2844
-
2845
- declare interface TSNamespaceExportDeclaration$1 extends Span$1 {
2846
- type: "TSNamespaceExportDeclaration";
2847
- id: IdentifierName$1;
2848
- parent?: Node$1;
2849
- }
2850
-
2851
- declare interface TSNeverKeyword extends Span$1 {
2852
- type: "TSNeverKeyword";
2853
- parent?: Node$1;
2854
- }
2855
-
2856
- declare interface TSNonNullExpression$1 extends Span$1 {
2857
- type: "TSNonNullExpression";
2858
- expression: Expression$1;
2859
- parent?: Node$1;
2860
- }
2861
-
2862
- declare interface TSNullKeyword extends Span$1 {
2863
- type: "TSNullKeyword";
2864
- parent?: Node$1;
2865
- }
2866
-
2867
- declare interface TSNumberKeyword extends Span$1 {
2868
- type: "TSNumberKeyword";
2869
- parent?: Node$1;
2870
- }
2871
-
2872
- declare interface TSObjectKeyword extends Span$1 {
2873
- type: "TSObjectKeyword";
2874
- parent?: Node$1;
2875
- }
2876
-
2877
- declare interface TSOptionalType$1 extends Span$1 {
2878
- type: "TSOptionalType";
2879
- typeAnnotation: TSType$1;
2880
- parent?: Node$1;
2881
- }
2882
-
2883
- declare interface TSParameterProperty extends Span$1 {
2884
- type: "TSParameterProperty";
2885
- accessibility: TSAccessibility | null;
2886
- decorators: Array<Decorator$1>;
2887
- override: boolean;
2888
- parameter: FormalParameter;
2889
- readonly: boolean;
2890
- static: boolean;
2891
- parent?: Node$1;
2892
- }
2893
-
2894
- declare interface TSParenthesizedType$1 extends Span$1 {
2895
- type: "TSParenthesizedType";
2896
- typeAnnotation: TSType$1;
2897
- parent?: Node$1;
2898
- }
2899
-
2900
- declare interface TSPropertySignature$1 extends Span$1 {
2901
- type: "TSPropertySignature";
2902
- computed: boolean;
2903
- optional: boolean;
2904
- readonly: boolean;
2905
- key: PropertyKey_2;
2906
- typeAnnotation: TSTypeAnnotation$1 | null;
2907
- accessibility: null;
2908
- static: false;
2909
- parent?: Node$1;
2910
- }
2911
-
2912
- declare interface TSQualifiedName$1 extends Span$1 {
2913
- type: "TSQualifiedName";
2914
- left: TSTypeName;
2915
- right: IdentifierName$1;
2916
- parent?: Node$1;
2917
- }
2918
-
2919
- declare interface TSRestType$1 extends Span$1 {
2920
- type: "TSRestType";
2921
- typeAnnotation: TSType$1;
2922
- parent?: Node$1;
2923
- }
2924
-
2925
- declare interface TSSatisfiesExpression$1 extends Span$1 {
2926
- type: "TSSatisfiesExpression";
2927
- expression: Expression$1;
2928
- typeAnnotation: TSType$1;
2929
- parent?: Node$1;
2930
- }
2931
-
2932
- declare type TSSignature = TSIndexSignature$1 | TSPropertySignature$1 | TSCallSignatureDeclaration$1 | TSConstructSignatureDeclaration$1 | TSMethodSignature$1;
2933
-
2934
- declare interface TSStringKeyword extends Span$1 {
2935
- type: "TSStringKeyword";
2936
- parent?: Node$1;
2937
- }
2938
-
2939
- declare interface TSSymbolKeyword extends Span$1 {
2940
- type: "TSSymbolKeyword";
2941
- parent?: Node$1;
2942
- }
2943
-
2944
- declare interface TSTemplateLiteralType$1 extends Span$1 {
2945
- type: "TSTemplateLiteralType";
2946
- quasis: Array<TemplateElement$1>;
2947
- types: Array<TSType$1>;
2948
- parent?: Node$1;
2949
- }
2950
-
2951
- declare interface TSThisParameter extends Span$1 {
2952
- type: "Identifier";
2953
- decorators: [];
2954
- name: "this";
2955
- optional: false;
2956
- typeAnnotation: TSTypeAnnotation$1 | null;
2957
- parent?: Node$1;
2958
- }
2959
-
2960
- declare interface TSThisType extends Span$1 {
2961
- type: "TSThisType";
2962
- parent?: Node$1;
2963
- }
2964
-
2965
- declare type TSTupleElement = TSOptionalType$1 | TSRestType$1 | TSType$1;
2966
-
2967
- declare interface TSTupleType$1 extends Span$1 {
2968
- type: "TSTupleType";
2969
- elementTypes: Array<TSTupleElement>;
2970
- parent?: Node$1;
2971
- }
2972
-
2973
- declare type TSType$1 = TSAnyKeyword | TSBigIntKeyword | TSBooleanKeyword | TSIntrinsicKeyword | TSNeverKeyword | TSNullKeyword | TSNumberKeyword | TSObjectKeyword | TSStringKeyword | TSSymbolKeyword | TSUndefinedKeyword | TSUnknownKeyword | TSVoidKeyword | TSArrayType$1 | TSConditionalType$1 | TSConstructorType$1 | TSFunctionType$1 | TSImportType$1 | TSIndexedAccessType$1 | TSInferType$1 | TSIntersectionType$1 | TSLiteralType$1 | TSMappedType$1 | TSNamedTupleMember$1 | TSTemplateLiteralType$1 | TSThisType | TSTupleType$1 | TSTypeLiteral | TSTypeOperator$1 | TSTypePredicate$1 | TSTypeQuery$1 | TSTypeReference$1 | TSUnionType$1 | TSParenthesizedType$1 | JSDocNullableType$1 | JSDocNonNullableType$1 | JSDocUnknownType;
2974
-
2975
- declare interface TSTypeAliasDeclaration$1 extends Span$1 {
2976
- type: "TSTypeAliasDeclaration";
2977
- id: BindingIdentifier$1;
2978
- typeParameters: TSTypeParameterDeclaration$1 | null;
2979
- typeAnnotation: TSType$1;
2980
- declare: boolean;
2981
- parent?: Node$1;
2982
- }
2983
-
2984
- declare interface TSTypeAnnotation$1 extends Span$1 {
2985
- type: "TSTypeAnnotation";
2986
- typeAnnotation: TSType$1;
2987
- parent?: Node$1;
2988
- }
2989
-
2990
- declare interface TSTypeAssertion$1 extends Span$1 {
2991
- type: "TSTypeAssertion";
2992
- typeAnnotation: TSType$1;
2993
- expression: Expression$1;
2994
- parent?: Node$1;
2995
- }
2996
-
2997
- declare interface TSTypeLiteral extends Span$1 {
2998
- type: "TSTypeLiteral";
2999
- members: Array<TSSignature>;
3000
- parent?: Node$1;
3001
- }
3002
-
3003
- declare type TSTypeName = IdentifierReference$1 | TSQualifiedName$1 | ThisExpression$1;
3004
-
3005
- declare interface TSTypeOperator$1 extends Span$1 {
3006
- type: "TSTypeOperator";
3007
- operator: TSTypeOperatorOperator;
3008
- typeAnnotation: TSType$1;
3009
- parent?: Node$1;
3010
- }
3011
-
3012
- declare type TSTypeOperatorOperator = "keyof" | "unique" | "readonly";
3013
-
3014
- declare interface TSTypeParameter extends Span$1 {
3015
- type: "TSTypeParameter";
3016
- name: BindingIdentifier$1;
3017
- constraint: TSType$1 | null;
3018
- default: TSType$1 | null;
3019
- in: boolean;
3020
- out: boolean;
3021
- const: boolean;
3022
- parent?: Node$1;
3023
- }
3024
-
3025
- declare interface TSTypeParameterDeclaration$1 extends Span$1 {
3026
- type: "TSTypeParameterDeclaration";
3027
- params: Array<TSTypeParameter>;
3028
- parent?: Node$1;
3029
- }
3030
-
3031
- declare interface TSTypeParameterInstantiation$1 extends Span$1 {
3032
- type: "TSTypeParameterInstantiation";
3033
- params: Array<TSType$1>;
3034
- parent?: Node$1;
3035
- }
3036
-
3037
- declare interface TSTypePredicate$1 extends Span$1 {
3038
- type: "TSTypePredicate";
3039
- parameterName: TSTypePredicateName;
3040
- asserts: boolean;
3041
- typeAnnotation: TSTypeAnnotation$1 | null;
3042
- parent?: Node$1;
3043
- }
3044
-
3045
- declare type TSTypePredicateName = IdentifierName$1 | TSThisType;
3046
-
3047
- declare interface TSTypeQuery$1 extends Span$1 {
3048
- type: "TSTypeQuery";
3049
- exprName: TSTypeQueryExprName;
3050
- typeArguments: TSTypeParameterInstantiation$1 | null;
3051
- parent?: Node$1;
3052
- }
3053
-
3054
- declare type TSTypeQueryExprName = TSImportType$1 | TSTypeName;
3055
-
3056
- declare interface TSTypeReference$1 extends Span$1 {
3057
- type: "TSTypeReference";
3058
- typeName: TSTypeName;
3059
- typeArguments: TSTypeParameterInstantiation$1 | null;
3060
- parent?: Node$1;
3061
- }
3062
-
3063
- declare interface TSUndefinedKeyword extends Span$1 {
3064
- type: "TSUndefinedKeyword";
3065
- parent?: Node$1;
3066
- }
3067
-
3068
- declare interface TSUnionType$1 extends Span$1 {
3069
- type: "TSUnionType";
3070
- types: Array<TSType$1>;
3071
- parent?: Node$1;
3072
- }
3073
-
3074
- declare interface TSUnknownKeyword extends Span$1 {
3075
- type: "TSUnknownKeyword";
3076
- parent?: Node$1;
3077
- }
3078
-
3079
- declare interface TSVoidKeyword extends Span$1 {
3080
- type: "TSVoidKeyword";
3081
- parent?: Node$1;
3082
- }
3083
-
3084
- declare const TypeId: '~stryker/mutation-run/StageError';
3085
-
3086
- declare interface UnaryExpression$1 extends Span$1 {
3087
- type: "UnaryExpression";
3088
- operator: UnaryOperator;
3089
- argument: Expression$1;
3090
- prefix: true;
3091
- parent?: Node$1;
3092
- }
3093
-
3094
- declare type UnaryOperator = "+" | "-" | "!" | "~" | "typeof" | "void" | "delete";
3095
-
3096
- export declare interface UnserializableDescription {
3097
- path: string[];
3098
- reason: string;
3099
- }
3100
-
3101
- declare interface UpdateExpression$1 extends Span$1 {
3102
- type: "UpdateExpression";
3103
- operator: UpdateOperator;
3104
- prefix: boolean;
3105
- argument: SimpleAssignmentTarget$1;
3106
- parent?: Node$1;
3107
- }
3108
-
3109
- declare type UpdateOperator = "++" | "--";
3110
-
3111
- declare interface V8IntrinsicExpression extends Span$1 {
3112
- type: "V8IntrinsicExpression";
3113
- name: IdentifierName$1;
3114
- arguments: Array<Argument$1>;
3115
- parent?: Node$1;
3116
- }
3117
-
3118
- export declare function validateOptions<A = unknown>(options: Record<string, A>, schema: ValidationSchemaDocument): Effect.Effect<StrykerOptions, ConfigError>;
3119
-
3120
- export declare type ValidationSchemaDocument<A = unknown> = {
3121
- readonly properties?: A;
3122
- readonly [key: string]: A;
3123
- };
3124
-
3125
- declare interface VariableDeclaration$1 extends Span$1 {
3126
- type: "VariableDeclaration";
3127
- kind: VariableDeclarationKind;
3128
- declarations: Array<VariableDeclarator$1>;
3129
- declare?: boolean;
3130
- parent?: Node$1;
3131
- }
3132
-
3133
- declare type VariableDeclarationKind = "var" | "let" | "const" | "using" | "await using";
3134
-
3135
- declare interface VariableDeclarator$1 extends Span$1 {
3136
- type: "VariableDeclarator";
3137
- id: BindingPattern$1;
3138
- init: Expression$1 | null;
3139
- definite?: boolean;
3140
- parent?: Node$1;
3141
- }
3142
-
3143
- export declare const VERDICT_ENVELOPE_SCHEMA_VERSION = "1.1";
3144
-
3145
- export declare type VerdictCounts = Metrics;
3146
-
3147
- export declare interface VerdictEnvelope {
3148
- readonly schemaVersion: string;
3149
- readonly runId: string;
3150
- readonly mode: OutputMode;
3151
- readonly signal: ModeSignal;
3152
- readonly score: number | null;
3153
- readonly thresholds: VerdictThresholds;
3154
- readonly counts: Metrics;
3155
- readonly reportFile: string | null;
3156
- readonly mutants: readonly VerdictMutant[];
3157
- }
3158
-
3159
- export declare function verdictExitClass(score: number | null, breakingThreshold: number | null): ExitClass | null;
3160
-
3161
- export declare interface VerdictMutant {
3162
- readonly id: string;
3163
- readonly file: string;
3164
- readonly location: Location;
3165
- readonly mutator: string;
3166
- readonly replacement: string | null;
3167
- readonly status: MutantStatus;
3168
- }
3169
-
3170
- export declare class VerdictReached extends VerdictReached_base {}
3171
-
3172
- declare const VerdictReached_base: S.Class<VerdictReached, S.TaggedStruct<"verdict", {
3173
- readonly schemaVersion: S.String;
3174
- readonly runId: S.String;
3175
- readonly mode: S.Literals<readonly ["human", "machine"]>;
3176
- readonly signal: S.Literals<readonly ["flag", "env", "tty", "agent", "tool"]>;
3177
- readonly score: S.NullOr<S.Finite>;
3178
- readonly thresholds: S.decodeTo<S.declare<{
3179
- readonly high: number;
3180
- readonly low: number;
3181
- readonly break: number | null;
3182
- }, {
3183
- readonly high: number;
3184
- readonly low: number;
3185
- readonly break: number | null;
3186
- }>, S.Struct<{
3187
- readonly high: S.Finite;
3188
- readonly low: S.Finite;
3189
- readonly break: S.NullOr<S.Finite>;
3190
- }>, never, never>;
3191
- readonly reportFile: S.NullOr<S.String>;
3192
- readonly counts: typeof Metrics;
3193
- readonly mutants: S.$Array<S.Struct<{
3194
- readonly id: S.String;
3195
- readonly file: S.String;
3196
- readonly location: S.Struct<{
3197
- readonly start: S.Struct<{
3198
- readonly line: S.Finite;
3199
- readonly column: S.Finite;
3200
- }>;
3201
- readonly end: S.Struct<{
3202
- readonly line: S.Finite;
3203
- readonly column: S.Finite;
3204
- }>;
3205
- }>;
3206
- readonly mutator: S.String;
3207
- readonly replacement: S.NullOr<S.String>;
3208
- readonly status: S.Literals<readonly ["Killed", "Survived", "NoCoverage", "CompileError", "RuntimeError", "Timeout", "Ignored", "Pending"]>;
3209
- }>>;
3210
- }>, {}>;
3211
-
3212
- export declare interface VerdictThresholds {
3213
- readonly high: number;
3214
- readonly low: number;
3215
- readonly break: number | null;
3216
- }
3217
-
3218
- declare interface VmFileUrl {
3219
- readonly href: string;
3220
- }
3221
-
3222
- export declare interface VmPlatform {
3223
- readonly moduleBuiltin: HarnessModuleBuiltin;
3224
- readonly pathToFileURL: (path: string) => VmFileUrl;
3225
- }
3226
-
3227
- export declare class VmRunner extends VmRunner_base {}
3228
-
3229
- declare const VmRunner_base: Context.ServiceClass<VmRunner, "@systemfsoftware/stryker-js/VmRunner", VmPlatform>;
3230
-
3231
- export declare const vmRunnerCapabilities: {
3232
- readonly reloadEnvironment: true;
3233
- };
3234
-
3235
- export declare const vmRunnerName = "vm";
3236
-
3237
- export declare const vmTestRunner: (config: VmTestRunnerConfig) => Effect.Effect<PooledTestRunner, TestRunnerFailed, VmRunner>;
3238
-
3239
- export declare interface VmTestRunnerConfig {
3240
- readonly testFiles: readonly string[];
3241
- readonly sandboxWorkingDirectory?: string;
3242
- }
3243
-
3244
- export declare type WarningOptions = Exclude<StrykerOptions['warnings'], boolean>;
3245
-
3246
- declare interface WhileStatement$1 extends Span$1 {
3247
- type: "WhileStatement";
3248
- test: Expression$1;
3249
- body: Statement$1;
3250
- parent?: Node$1;
3251
- }
3252
-
3253
- export declare type WiredRunLayer = Layer.Layer<RunStageServices | EnginePorts, never, never>;
3254
-
3255
- declare interface WithStatement$1 extends Span$1 {
3256
- type: "WithStatement";
3257
- object: Expression$1;
3258
- body: Statement$1;
3259
- parent?: Node$1;
3260
- }
3261
-
3262
- export declare type WorkerBootError = WorkerExit | WorkerBootTimeoutError;
3263
-
3264
- export declare class WorkerBootTimeoutError extends WorkerBootTimeoutError_base {
3265
- readonly exitClass: 'InternalError';
3266
- }
3267
-
3268
- declare const WorkerBootTimeoutError_base: Schema.Class<WorkerBootTimeoutError, Schema.TaggedStruct<"WorkerBootTimeoutError", {
3269
- readonly pid: Schema.Int;
3270
- }>, YieldableError>;
3271
-
3272
- export declare interface WorkerClientParams<Rpcs extends Rpc.Any> extends WorkerSpawnParams {
3273
- readonly rpcs: RpcGroup.RpcGroup<Rpcs>;
3274
- }
3275
-
3276
- export declare type WorkerExit = ChildProcessCrashedError | OutOfMemoryError;
3277
-
3278
- export declare class WorkerLauncher extends WorkerLauncher_base {}
3279
-
3280
- declare const WorkerLauncher_base: Context.ServiceClass<WorkerLauncher, "@systemfsoftware/stryker-js/WorkerLauncher", WorkerLauncherShape>;
3281
-
3282
- export declare interface WorkerLauncherShape {
3283
- readonly spawn: (params: WorkerSpawnParams) => Effect.Effect<SpawnedSocketWorker, ChildProcessCrashedError, Scope.Scope>;
3284
- }
3285
-
3286
- export declare interface WorkerPluginDescriptor<K extends WorkerPluginKind = WorkerPluginKind> {
3287
- readonly kind: K;
3288
- readonly name: string;
3289
- readonly workerEntry: string;
3290
- }
3291
-
3292
- export declare const WorkerPluginKind: S.Literals<readonly ["TestRunner", "Checker", "Reporter"]>;
3293
-
3294
- export declare type WorkerPluginKind = typeof WorkerPluginKind.Type;
3295
-
3296
- export declare interface WorkerPluginSource<K extends WorkerPluginKind = WorkerPluginKind> {
3297
- readonly kind: K;
3298
- readonly name: string;
3299
- readonly modulePath: string;
3300
- readonly workerEntry: string;
3301
- }
3302
-
3303
- export declare interface WorkerSpawnParams {
3304
- readonly entrypoint: string;
3305
- readonly workingDirectory: string;
3306
- readonly execArgv: readonly string[];
3307
- readonly optionsJson: string;
3308
- readonly tempDirPrefix: string;
3309
- readonly env?: Readonly<Record<string, string>> | undefined;
3310
- }
3311
-
3312
- declare interface YieldExpression$1 extends Span$1 {
3313
- type: "YieldExpression";
3314
- delegate: boolean;
3315
- argument: Expression$1 | null;
3316
- parent?: Node$1;
3317
- }
3318
-
3319
- export { }
1
+ import { c as mod_d_exports$2$2, d as Ignorer, f as Node_2, i as mod_d_exports$4$1, l as mod_d_exports$3$1, n as mod_d_exports$2$1, o as mod_d_exports$6$1, t as mod_d_exports$6, u as Framework } from "./index-CMCCQdTd.mjs";
2
+ import { a as StrykerConfig, i as Primitive, n as Immutable, r as ImmutablePrimitive } from "./stryker-config.schema-lr7GMjpY.mjs";
3
+ import { A as VerdictReached, D as SkippedReported, E as SkippedFileRow, S as RunPhase, T as RunTerminalEvent, _ as PluginsReported, a as FormatRegistryRow, b as RunFailed, c as Heartbeat, f as OutputMode, g as PluginFailureReason, i as FormatRegistryResolved, l as HelpRendered, m as PlanKnown, n as StageError, o as FrameworkContributionRow, p as PhaseEntered, r as FormatClaimShadowingRow, s as FrameworkModuleRow, u as ModeSignal, w as RunStarted, x as RunMutantTested, y as RunEvent } from "./Run.schema-CUpTIyrj.mjs";
4
+ import { $ as ConfigError, A as ReporterWorkerClient, B as ProjectFile, C as WorkerPluginSource, D as TestCoverage, E as IdGeneratorShape, F as WorkerLauncherShape, G as ResolvedModeInput, H as RunEventDrainLive, I as WorkerSpawnParams, J as OutputMode$1, K as StrykerError, L as SpawnedSocketWorker, M as reporterWorkerFactory, N as spawnReporterWorker, O as REPORTER_EVENT_BATCH_BOUND, P as WorkerLauncher, Q as RunIdentityShape, R as make, S as WorkerPluginDescriptor, T as IdGenerator, U as RunEventStream, V as RunEventDrain, W as makeRunEventStream, X as RunEvents, Y as ResolvedMode, Z as RunIdentity, _ as LoadedPlugins, a as StageServices, at as OutOfMemoryError, b as PluginKind, c as DryRunDone, ct as WorkerExit, d as PrepareExecutorArgs, et as ConfigFileInvalidError, f as AnyPluginDescriptor, g as EvaluatorPluginSource, h as EvaluatorPluginDescriptor, i as RunStageServices, it as ChildProcessCrashedError, j as SpawnReporterWorkerParams, k as ReporterStage, l as InstrumentDone, m as AnyWorkerPluginSource, n as RunEnvironmentShape, nt as ConfigFileUnreadableError, o as WiredRunLayer, ot as WorkerBootError, p as AnyWorkerPluginDescriptor, q as ModeSignal$1, r as EnginePorts, rt as ConfigFileUnsupportedError, s as MutationTestDone, st as WorkerBootTimeoutError, t as RunEnvironment, tt as ConfigFileNotFoundError, u as PrepareDone, v as PluginDescriptor, w as SandboxHandle, x as PluginSource, y as PluginDescriptorOf, z as Project } from "./RunEnvironment.service-zgwzyXpO.mjs";
5
+ import { Cell, Sandwich, Workflow } from "@systemfsoftware/effect-cell-types";
6
+ import * as S from "effect/Schema";
7
+ import * as Effect from "effect/Effect";
8
+ import { Pipeable } from "effect/Pipeable";
9
+ import * as Rpc from "effect/unstable/rpc/Rpc";
10
+ import * as RpcGroup from "effect/unstable/rpc/RpcGroup";
11
+ import "effect/Cause";
12
+ import * as Path from "effect/Path";
13
+ import * as FileSystem from "effect/FileSystem";
14
+ import * as ChildProcessSpawner from "effect/unstable/process/ChildProcessSpawner";
15
+ import * as Layer from "effect/Layer";
16
+ import "effect/Queue";
17
+ import * as Scope from "effect/Scope";
18
+ import * as RpcClient from "effect/unstable/rpc/RpcClient";
19
+ import "effect/DateTime";
20
+ import { RpcClientError } from "effect/unstable/rpc/RpcClientError";
21
+ import * as Socket from "effect/unstable/socket/Socket";
22
+ import { PlatformError } from "effect/PlatformError";
23
+ //#region src/admit-checker-answer.workflow.d.ts
24
+ declare const CheckerAnsweredUnrequested_base: S.Class<CheckerAnsweredUnrequested, S.TaggedStruct<"CheckerAnsweredUnrequested", {
25
+ readonly checkerName: S.String;
26
+ readonly phase: S.Literals<readonly ["check", "group"]>;
27
+ readonly unrequestedIds: S.$Array<S.String>;
28
+ readonly requestedIds: S.$Array<S.String>;
29
+ }>, import("effect/Cause").YieldableError>;
30
+ declare class CheckerAnsweredUnrequested extends CheckerAnsweredUnrequested_base {}
31
+ declare const CheckerSkippedRequested_base: S.Class<CheckerSkippedRequested, S.TaggedStruct<"CheckerSkippedRequested", {
32
+ readonly checkerName: S.String;
33
+ readonly phase: S.Literals<readonly ["check", "group"]>;
34
+ readonly missingIds: S.$Array<S.String>;
35
+ }>, import("effect/Cause").YieldableError>;
36
+ declare class CheckerSkippedRequested extends CheckerSkippedRequested_base {}
37
+ type CheckerContractBroken = CheckerAnsweredUnrequested | CheckerSkippedRequested;
38
+ //#endregion
39
+ //#region src/Checker/Checker.handle.d.ts
40
+ type CheckerCrash = ChildProcessCrashedError | OutOfMemoryError;
41
+ /**
42
+ * A checker held by the pool.
43
+ *
44
+ * The pool must be able to interrupt a checker mid-call when the run is
45
+ * cancelled, so the port uses Effect, which can be interrupted, where a Promise
46
+ * cannot. The error channel names both crash variants rather than `unknown`,
47
+ * which lets the retry combinator prove it handles every one of them.
48
+ */
49
+ interface CheckerResourceService {
50
+ readonly check: (checkerName: string, mutants: readonly mod_d_exports$6.CheckerMutantWire[]) => Effect.Effect<Record<string, mod_d_exports$6.CheckResult>, CheckerCrash | mod_d_exports$6.CheckerFailed>;
51
+ readonly group: (checkerName: string, mutants: readonly mod_d_exports$6.CheckerMutantWire[]) => Effect.Effect<readonly (readonly string[])[], CheckerCrash | mod_d_exports$6.CheckerFailed>;
52
+ }
53
+ //#endregion
54
+ //#region src/Checker/Checker.cell.d.ts
55
+ declare const checkGroupedPlans: {
56
+ (checker: CheckerResourceService, checkerName: string, plans: readonly mod_d_exports$3$1.RunPlan[]): Effect.Effect<readonly (readonly [mod_d_exports$3$1.RunPlan, mod_d_exports$6.CheckResult])[], CheckerCrash | mod_d_exports$6.CheckerFailed | CheckerContractBroken>;
57
+ (checkerName: string, plans: readonly mod_d_exports$3$1.RunPlan[]): (checker: CheckerResourceService) => Effect.Effect<readonly (readonly [mod_d_exports$3$1.RunPlan, mod_d_exports$6.CheckResult])[], CheckerCrash | mod_d_exports$6.CheckerFailed | CheckerContractBroken>;
58
+ };
59
+ declare namespace mod_d_exports {
60
+ export { CheckerAnsweredUnrequested, CheckerContractBroken, CheckerCrash, CheckerResourceService, CheckerSkippedRequested, checkGroupedPlans };
61
+ }
62
+ //#endregion
63
+ //#region src/Config.schema.d.ts
64
+ declare const ConfigDocumentSchema: S.$Record<S.String, S.Unknown>;
65
+ declare const ImportedModuleSchema: S.Struct<{
66
+ readonly default: S.optional<S.Unknown>;
67
+ }>;
68
+ declare const ReadConfigCommand_base: S.Class<ReadConfigCommand, S.TaggedStruct<"ReadConfigCommand", {
69
+ readonly cliOptions: S.$Record<S.String, S.Unknown>;
70
+ readonly basePath: S.String;
71
+ }>, {}>;
72
+ declare class ReadConfigCommand extends ReadConfigCommand_base {}
73
+ declare const MergeCommand_base: S.Class<MergeCommand, S.TaggedStruct<"MergeCommand", {
74
+ readonly base: S.$Record<S.String, S.Unknown>;
75
+ readonly overrides: S.$Record<S.String, S.Unknown>;
76
+ }>, {}>;
77
+ declare class MergeCommand extends MergeCommand_base {}
78
+ declare const MergeResult_base: S.Class<MergeResult, S.TaggedStruct<"MergeResult", {
79
+ readonly merged: S.$Record<S.String, S.Unknown>;
80
+ }>, {}>;
81
+ declare class MergeResult extends MergeResult_base {}
82
+ declare const ExtendsStepDocumentSchema: S.Struct<{
83
+ readonly path: S.String;
84
+ readonly options: S.$Record<S.String, S.Unknown>;
85
+ }>;
86
+ type ExtendsStepDocument = typeof ExtendsStepDocumentSchema.Type;
87
+ declare const ExtendsStepStateSchema: S.Struct<{
88
+ readonly visited: S.$Array<S.String>;
89
+ readonly documents: S.$Array<S.Struct<{
90
+ readonly path: S.String;
91
+ readonly options: S.$Record<S.String, S.Unknown>;
92
+ }>>;
93
+ }>;
94
+ type ExtendsStepState = typeof ExtendsStepStateSchema.Type;
95
+ type ExtendsRefusalReason = 'cycle' | 'non-string-extends';
96
+ declare const ExtendsStepDone_base: S.Class<ExtendsStepDone, S.TaggedStruct<"done", {
97
+ readonly options: S.$Record<S.String, S.Unknown>;
98
+ }>, {}>;
99
+ declare class ExtendsStepDone extends ExtendsStepDone_base {}
100
+ declare const ExtendsStepRead_base: S.Class<ExtendsStepRead, S.TaggedStruct<"read", {
101
+ readonly path: S.String;
102
+ readonly state: S.Struct<{
103
+ readonly visited: S.$Array<S.String>;
104
+ readonly documents: S.$Array<S.Struct<{
105
+ readonly path: S.String;
106
+ readonly options: S.$Record<S.String, S.Unknown>;
107
+ }>>;
108
+ }>;
109
+ }>, {}>;
110
+ declare class ExtendsStepRead extends ExtendsStepRead_base {}
111
+ declare const ExtendsStepResolve_base: S.Class<ExtendsStepResolve, S.TaggedStruct<"resolve", {
112
+ readonly specifier: S.String;
113
+ readonly state: S.Struct<{
114
+ readonly visited: S.$Array<S.String>;
115
+ readonly documents: S.$Array<S.Struct<{
116
+ readonly path: S.String;
117
+ readonly options: S.$Record<S.String, S.Unknown>;
118
+ }>>;
119
+ }>;
120
+ }>, {}>;
121
+ declare class ExtendsStepResolve extends ExtendsStepResolve_base {}
122
+ declare const ExtendsStepRefused_base: S.Class<ExtendsStepRefused, S.TaggedStruct<"refused", {
123
+ readonly reason: S.Literals<readonly ["cycle", "non-string-extends"]>;
124
+ readonly file: S.String;
125
+ }>, {}>;
126
+ declare class ExtendsStepRefused extends ExtendsStepRefused_base {}
127
+ type ExtendsStepDecision = ExtendsStepDone | ExtendsStepRead | ExtendsStepResolve | ExtendsStepRefused;
128
+ declare const survivorsPriorReport: S.optionalKey<S.String>;
129
+ declare const extendsPropertySchema: S.optionalKey<S.String>;
130
+ declare const forkOptionsSchema: S.StructWithRest<S.Struct<{
131
+ readonly allowConsoleColors: S.withDecodingDefaultKey<S.Boolean, never>;
132
+ readonly buildCommand: S.optionalKey<S.String>;
133
+ readonly checkers: S.withDecodingDefaultKey<S.$Array<S.Struct<{
134
+ readonly plugin: S.declare<string, string>;
135
+ readonly nodeArgs: S.optionalKey<S.$Array<S.String>>;
136
+ readonly options: S.optionalKey<S.$Record<S.String, S.Unknown>>;
137
+ }>>, never>;
138
+ readonly checkerNodeArgs: S.withDecodingDefaultKey<S.$Array<S.String>, never>;
139
+ readonly concurrency: S.optionalKey<S.Union<readonly [S.Finite, S.String]>>;
140
+ readonly commandRunner: S.withDecodingDefaultKey<S.StructWithRest<S.Struct<{
141
+ readonly command: S.withDecodingDefaultKey<S.String, never>;
142
+ }>, readonly [S.$Record<S.String, S.Unknown>]>, never>;
143
+ readonly coverageAnalysis: S.withDecodingDefaultKey<S.Literals<readonly ["off", "all", "perTest"]>, never>;
144
+ readonly clearTextReporter: S.withDecodingDefaultKey<S.StructWithRest<S.Struct<{
145
+ readonly allowColor: S.withDecodingDefaultKey<S.Boolean, never>;
146
+ readonly allowEmojis: S.withDecodingDefaultKey<S.Boolean, never>;
147
+ readonly logTests: S.withDecodingDefaultKey<S.Boolean, never>;
148
+ readonly maxTestsToLog: S.withDecodingDefaultKey<S.Finite, never>;
149
+ readonly reportTests: S.withDecodingDefaultKey<S.Boolean, never>;
150
+ readonly reportMutants: S.withDecodingDefaultKey<S.Boolean, never>;
151
+ readonly reportScoreTable: S.withDecodingDefaultKey<S.Boolean, never>;
152
+ readonly skipFull: S.withDecodingDefaultKey<S.Boolean, never>;
153
+ }>, readonly [S.$Record<S.String, S.Unknown>]>, never>;
154
+ readonly dryRunOnly: S.withDecodingDefaultKey<S.Boolean, never>;
155
+ readonly ignorePatterns: S.withDecodingDefaultKey<S.$Array<S.String>, never>;
156
+ readonly ignoreStatic: S.withDecodingDefaultKey<S.Boolean, never>;
157
+ readonly incremental: S.withDecodingDefaultKey<S.Boolean, never>;
158
+ readonly incrementalFile: S.withDecodingDefaultKey<S.String, never>;
159
+ readonly progressStreamFile: S.withDecodingDefaultKey<S.String, never>;
160
+ readonly force: S.withDecodingDefaultKey<S.Boolean, never>;
161
+ readonly fileLogLevel: S.withDecodingDefaultKey<S.Literals<readonly ["off", "fatal", "error", "warn", "info", "debug", "trace"]>, never>;
162
+ readonly inPlace: S.withDecodingDefaultKey<S.Boolean, never>;
163
+ readonly logLevel: S.withDecodingDefaultKey<S.Literals<readonly ["off", "fatal", "error", "warn", "info", "debug", "trace"]>, never>;
164
+ readonly maxConcurrentTestRunners: S.withDecodingDefaultKey<S.Finite, never>;
165
+ readonly maxTestRunnerReuse: S.withDecodingDefaultKey<S.Finite, never>;
166
+ readonly mutate: S.withDecodingDefaultKey<S.$Array<S.String>, never>;
167
+ readonly mutator: S.withDecodingDefaultKey<S.Struct<{
168
+ readonly excludedMutations: S.withDecodingDefaultKey<S.$Array<S.String>, never>;
169
+ readonly optInMutations: S.withDecodingDefaultKey<S.$Array<S.String>, never>;
170
+ }>, never>;
171
+ readonly packageManager: S.optionalKey<S.Literals<readonly ["npm", "yarn", "pnpm"]>>;
172
+ readonly plugins: S.withDecodingDefaultKey<S.$Array<S.declare<string, string>>, never>;
173
+ readonly appendPlugins: S.withDecodingDefaultKey<S.$Array<S.declare<string, string>>, never>;
174
+ readonly reporters: S.withDecodingDefaultKey<S.$Array<S.String>, never>;
175
+ readonly htmlReporter: S.withDecodingDefaultKey<S.Struct<{
176
+ readonly fileName: S.withDecodingDefaultKey<S.String, never>;
177
+ }>, never>;
178
+ readonly jsonReporter: S.withDecodingDefaultKey<S.Struct<{
179
+ readonly fileName: S.withDecodingDefaultKey<S.String, never>;
180
+ }>, never>;
181
+ readonly disableTypeChecks: S.withDecodingDefaultKey<S.Union<readonly [S.Boolean, S.String]>, never>;
182
+ readonly symlinkNodeModules: S.withDecodingDefaultKey<S.Boolean, never>;
183
+ readonly tempDirName: S.withDecodingDefaultKey<S.String, never>;
184
+ readonly cleanTempDir: S.withDecodingDefaultKey<S.Literals<readonly ["always", false, true]>, never>;
185
+ readonly testRunner: S.withDecodingDefaultKey<S.Union<readonly [S.String, S.Struct<{
186
+ readonly plugin: S.declare<string, string>;
187
+ readonly nodeArgs: S.optionalKey<S.$Array<S.String>>;
188
+ readonly options: S.optionalKey<S.$Record<S.String, S.Unknown>>;
189
+ }>]>, never>;
190
+ readonly testRunnerNodeArgs: S.withDecodingDefaultKey<S.$Array<S.String>, never>;
191
+ readonly thresholds: S.withDecodingDefaultKey<S.decodeTo<S.declare<{
192
+ readonly high: number;
193
+ readonly low: number;
194
+ readonly break: number | null;
195
+ }, {
196
+ readonly high: number;
197
+ readonly low: number;
198
+ readonly break: number | null;
199
+ }>, S.Struct<{
200
+ readonly high: S.withDecodingDefaultKey<S.Finite, never>;
201
+ readonly low: S.withDecodingDefaultKey<S.Finite, never>;
202
+ readonly break: S.withDecodingDefaultKey<S.NullOr<S.Finite>, never>;
203
+ }>, never, never>, never>;
204
+ readonly timeoutFactor: S.withDecodingDefaultKey<S.Finite, never>;
205
+ readonly timeoutMS: S.withDecodingDefaultKey<S.Finite, never>;
206
+ readonly dryRunTimeoutMinutes: S.withDecodingDefaultKey<S.Finite, never>;
207
+ readonly tsconfigFile: S.withDecodingDefaultKey<S.String, never>;
208
+ readonly warnings: S.withDecodingDefaultKey<S.Union<readonly [S.Boolean, S.StructWithRest<S.Struct<{
209
+ readonly unknownOptions: S.withDecodingDefaultKey<S.Boolean, never>;
210
+ readonly preprocessorErrors: S.withDecodingDefaultKey<S.Boolean, never>;
211
+ readonly unserializableOptions: S.withDecodingDefaultKey<S.Boolean, never>;
212
+ readonly slow: S.withDecodingDefaultKey<S.Boolean, never>;
213
+ }>, readonly [S.$Record<S.String, S.Unknown>]>]>, never>;
214
+ readonly disableBail: S.withDecodingDefaultKey<S.Boolean, never>;
215
+ readonly allowEmpty: S.withDecodingDefaultKey<S.Boolean, never>;
216
+ readonly ignorers: S.withDecodingDefaultKey<S.$Array<S.declare<string, string>>, never>;
217
+ readonly testFiles: S.withDecodingDefaultKey<S.$Array<S.String>, never>;
218
+ readonly survivorsPriorReport: S.optionalKey<S.String>;
219
+ readonly extends: S.optionalKey<S.String>;
220
+ }>, readonly [S.$Record<S.String, S.Unknown>]>;
221
+ //#endregion
222
+ //#region src/matching.schema.d.ts
223
+ declare const FileMatcher_base: S.Class<FileMatcher, S.Struct<{
224
+ readonly pattern: S.Union<readonly [S.Boolean, S.String]>;
225
+ readonly allowHiddenFiles: S.Boolean;
226
+ }>, {}>;
227
+ declare class FileMatcher extends FileMatcher_base {
228
+ matches(pathService: Path.Path, fileName: string): boolean;
229
+ }
230
+ //#endregion
231
+ //#region src/run/resolve-config.workflow.d.ts
232
+ declare const LoadConfigDecisionTypeId: unique symbol;
233
+ type LoadConfigDecisionTypeId = typeof LoadConfigDecisionTypeId;
234
+ declare const ConfigFromFile_base: S.Class<ConfigFromFile, S.TaggedStruct<"ConfigFromFile", {
235
+ readonly options: S.toType<S.StructWithRest<S.Struct<{
236
+ readonly allowConsoleColors: S.withDecodingDefaultKey<S.Boolean, never>;
237
+ readonly buildCommand: S.optionalKey<S.String>;
238
+ readonly checkers: S.withDecodingDefaultKey<S.$Array<S.Struct<{
239
+ readonly plugin: S.declare<string, string>;
240
+ readonly nodeArgs: S.optionalKey<S.$Array<S.String>>;
241
+ readonly options: S.optionalKey<S.$Record<S.String, S.Unknown>>;
242
+ }>>, never>;
243
+ readonly checkerNodeArgs: S.withDecodingDefaultKey<S.$Array<S.String>, never>;
244
+ readonly concurrency: S.optionalKey<S.Union<readonly [S.Finite, S.String]>>;
245
+ readonly commandRunner: S.withDecodingDefaultKey<S.StructWithRest<S.Struct<{
246
+ readonly command: S.withDecodingDefaultKey<S.String, never>;
247
+ }>, readonly [S.$Record<S.String, S.Unknown>]>, never>;
248
+ readonly coverageAnalysis: S.withDecodingDefaultKey<S.Literals<readonly ["off", "all", "perTest"]>, never>;
249
+ readonly clearTextReporter: S.withDecodingDefaultKey<S.StructWithRest<S.Struct<{
250
+ readonly allowColor: S.withDecodingDefaultKey<S.Boolean, never>;
251
+ readonly allowEmojis: S.withDecodingDefaultKey<S.Boolean, never>;
252
+ readonly logTests: S.withDecodingDefaultKey<S.Boolean, never>;
253
+ readonly maxTestsToLog: S.withDecodingDefaultKey<S.Finite, never>;
254
+ readonly reportTests: S.withDecodingDefaultKey<S.Boolean, never>;
255
+ readonly reportMutants: S.withDecodingDefaultKey<S.Boolean, never>;
256
+ readonly reportScoreTable: S.withDecodingDefaultKey<S.Boolean, never>;
257
+ readonly skipFull: S.withDecodingDefaultKey<S.Boolean, never>;
258
+ }>, readonly [S.$Record<S.String, S.Unknown>]>, never>;
259
+ readonly dryRunOnly: S.withDecodingDefaultKey<S.Boolean, never>;
260
+ readonly ignorePatterns: S.withDecodingDefaultKey<S.$Array<S.String>, never>;
261
+ readonly ignoreStatic: S.withDecodingDefaultKey<S.Boolean, never>;
262
+ readonly incremental: S.withDecodingDefaultKey<S.Boolean, never>;
263
+ readonly incrementalFile: S.withDecodingDefaultKey<S.String, never>;
264
+ readonly progressStreamFile: S.withDecodingDefaultKey<S.String, never>;
265
+ readonly force: S.withDecodingDefaultKey<S.Boolean, never>;
266
+ readonly fileLogLevel: S.withDecodingDefaultKey<S.Literals<readonly ["off", "fatal", "error", "warn", "info", "debug", "trace"]>, never>;
267
+ readonly inPlace: S.withDecodingDefaultKey<S.Boolean, never>;
268
+ readonly logLevel: S.withDecodingDefaultKey<S.Literals<readonly ["off", "fatal", "error", "warn", "info", "debug", "trace"]>, never>;
269
+ readonly maxConcurrentTestRunners: S.withDecodingDefaultKey<S.Finite, never>;
270
+ readonly maxTestRunnerReuse: S.withDecodingDefaultKey<S.Finite, never>;
271
+ readonly mutate: S.withDecodingDefaultKey<S.$Array<S.String>, never>;
272
+ readonly mutator: S.withDecodingDefaultKey<S.Struct<{
273
+ readonly excludedMutations: S.withDecodingDefaultKey<S.$Array<S.String>, never>;
274
+ readonly optInMutations: S.withDecodingDefaultKey<S.$Array<S.String>, never>;
275
+ }>, never>;
276
+ readonly packageManager: S.optionalKey<S.Literals<readonly ["npm", "yarn", "pnpm"]>>;
277
+ readonly plugins: S.withDecodingDefaultKey<S.$Array<S.declare<string, string>>, never>;
278
+ readonly appendPlugins: S.withDecodingDefaultKey<S.$Array<S.declare<string, string>>, never>;
279
+ readonly reporters: S.withDecodingDefaultKey<S.$Array<S.String>, never>;
280
+ readonly htmlReporter: S.withDecodingDefaultKey<S.Struct<{
281
+ readonly fileName: S.withDecodingDefaultKey<S.String, never>;
282
+ }>, never>;
283
+ readonly jsonReporter: S.withDecodingDefaultKey<S.Struct<{
284
+ readonly fileName: S.withDecodingDefaultKey<S.String, never>;
285
+ }>, never>;
286
+ readonly disableTypeChecks: S.withDecodingDefaultKey<S.Union<readonly [S.Boolean, S.String]>, never>;
287
+ readonly symlinkNodeModules: S.withDecodingDefaultKey<S.Boolean, never>;
288
+ readonly tempDirName: S.withDecodingDefaultKey<S.String, never>;
289
+ readonly cleanTempDir: S.withDecodingDefaultKey<S.Literals<readonly ["always", false, true]>, never>;
290
+ readonly testRunner: S.withDecodingDefaultKey<S.Union<readonly [S.String, S.Struct<{
291
+ readonly plugin: S.declare<string, string>;
292
+ readonly nodeArgs: S.optionalKey<S.$Array<S.String>>;
293
+ readonly options: S.optionalKey<S.$Record<S.String, S.Unknown>>;
294
+ }>]>, never>;
295
+ readonly testRunnerNodeArgs: S.withDecodingDefaultKey<S.$Array<S.String>, never>;
296
+ readonly thresholds: S.withDecodingDefaultKey<S.decodeTo<S.declare<{
297
+ readonly high: number;
298
+ readonly low: number;
299
+ readonly break: number | null;
300
+ }, {
301
+ readonly high: number;
302
+ readonly low: number;
303
+ readonly break: number | null;
304
+ }>, S.Struct<{
305
+ readonly high: S.withDecodingDefaultKey<S.Finite, never>;
306
+ readonly low: S.withDecodingDefaultKey<S.Finite, never>;
307
+ readonly break: S.withDecodingDefaultKey<S.NullOr<S.Finite>, never>;
308
+ }>, never, never>, never>;
309
+ readonly timeoutFactor: S.withDecodingDefaultKey<S.Finite, never>;
310
+ readonly timeoutMS: S.withDecodingDefaultKey<S.Finite, never>;
311
+ readonly dryRunTimeoutMinutes: S.withDecodingDefaultKey<S.Finite, never>;
312
+ readonly tsconfigFile: S.withDecodingDefaultKey<S.String, never>;
313
+ readonly warnings: S.withDecodingDefaultKey<S.Union<readonly [S.Boolean, S.StructWithRest<S.Struct<{
314
+ readonly unknownOptions: S.withDecodingDefaultKey<S.Boolean, never>;
315
+ readonly preprocessorErrors: S.withDecodingDefaultKey<S.Boolean, never>;
316
+ readonly unserializableOptions: S.withDecodingDefaultKey<S.Boolean, never>;
317
+ readonly slow: S.withDecodingDefaultKey<S.Boolean, never>;
318
+ }>, readonly [S.$Record<S.String, S.Unknown>]>]>, never>;
319
+ readonly disableBail: S.withDecodingDefaultKey<S.Boolean, never>;
320
+ readonly allowEmpty: S.withDecodingDefaultKey<S.Boolean, never>;
321
+ readonly ignorers: S.withDecodingDefaultKey<S.$Array<S.declare<string, string>>, never>;
322
+ readonly testFiles: S.withDecodingDefaultKey<S.$Array<S.String>, never>;
323
+ }>, readonly [S.$Record<S.String, S.Unknown>]>>;
324
+ }>, {}>;
325
+ declare class ConfigFromFile extends ConfigFromFile_base {
326
+ readonly [LoadConfigDecisionTypeId]: symbol;
327
+ static readonly [Workflow.InstrumentationBrand]: {};
328
+ }
329
+ declare const ConfigFromDefaults_base: S.Class<ConfigFromDefaults, S.TaggedStruct<"ConfigFromDefaults", {
330
+ readonly options: S.toType<S.StructWithRest<S.Struct<{
331
+ readonly allowConsoleColors: S.withDecodingDefaultKey<S.Boolean, never>;
332
+ readonly buildCommand: S.optionalKey<S.String>;
333
+ readonly checkers: S.withDecodingDefaultKey<S.$Array<S.Struct<{
334
+ readonly plugin: S.declare<string, string>;
335
+ readonly nodeArgs: S.optionalKey<S.$Array<S.String>>;
336
+ readonly options: S.optionalKey<S.$Record<S.String, S.Unknown>>;
337
+ }>>, never>;
338
+ readonly checkerNodeArgs: S.withDecodingDefaultKey<S.$Array<S.String>, never>;
339
+ readonly concurrency: S.optionalKey<S.Union<readonly [S.Finite, S.String]>>;
340
+ readonly commandRunner: S.withDecodingDefaultKey<S.StructWithRest<S.Struct<{
341
+ readonly command: S.withDecodingDefaultKey<S.String, never>;
342
+ }>, readonly [S.$Record<S.String, S.Unknown>]>, never>;
343
+ readonly coverageAnalysis: S.withDecodingDefaultKey<S.Literals<readonly ["off", "all", "perTest"]>, never>;
344
+ readonly clearTextReporter: S.withDecodingDefaultKey<S.StructWithRest<S.Struct<{
345
+ readonly allowColor: S.withDecodingDefaultKey<S.Boolean, never>;
346
+ readonly allowEmojis: S.withDecodingDefaultKey<S.Boolean, never>;
347
+ readonly logTests: S.withDecodingDefaultKey<S.Boolean, never>;
348
+ readonly maxTestsToLog: S.withDecodingDefaultKey<S.Finite, never>;
349
+ readonly reportTests: S.withDecodingDefaultKey<S.Boolean, never>;
350
+ readonly reportMutants: S.withDecodingDefaultKey<S.Boolean, never>;
351
+ readonly reportScoreTable: S.withDecodingDefaultKey<S.Boolean, never>;
352
+ readonly skipFull: S.withDecodingDefaultKey<S.Boolean, never>;
353
+ }>, readonly [S.$Record<S.String, S.Unknown>]>, never>;
354
+ readonly dryRunOnly: S.withDecodingDefaultKey<S.Boolean, never>;
355
+ readonly ignorePatterns: S.withDecodingDefaultKey<S.$Array<S.String>, never>;
356
+ readonly ignoreStatic: S.withDecodingDefaultKey<S.Boolean, never>;
357
+ readonly incremental: S.withDecodingDefaultKey<S.Boolean, never>;
358
+ readonly incrementalFile: S.withDecodingDefaultKey<S.String, never>;
359
+ readonly progressStreamFile: S.withDecodingDefaultKey<S.String, never>;
360
+ readonly force: S.withDecodingDefaultKey<S.Boolean, never>;
361
+ readonly fileLogLevel: S.withDecodingDefaultKey<S.Literals<readonly ["off", "fatal", "error", "warn", "info", "debug", "trace"]>, never>;
362
+ readonly inPlace: S.withDecodingDefaultKey<S.Boolean, never>;
363
+ readonly logLevel: S.withDecodingDefaultKey<S.Literals<readonly ["off", "fatal", "error", "warn", "info", "debug", "trace"]>, never>;
364
+ readonly maxConcurrentTestRunners: S.withDecodingDefaultKey<S.Finite, never>;
365
+ readonly maxTestRunnerReuse: S.withDecodingDefaultKey<S.Finite, never>;
366
+ readonly mutate: S.withDecodingDefaultKey<S.$Array<S.String>, never>;
367
+ readonly mutator: S.withDecodingDefaultKey<S.Struct<{
368
+ readonly excludedMutations: S.withDecodingDefaultKey<S.$Array<S.String>, never>;
369
+ readonly optInMutations: S.withDecodingDefaultKey<S.$Array<S.String>, never>;
370
+ }>, never>;
371
+ readonly packageManager: S.optionalKey<S.Literals<readonly ["npm", "yarn", "pnpm"]>>;
372
+ readonly plugins: S.withDecodingDefaultKey<S.$Array<S.declare<string, string>>, never>;
373
+ readonly appendPlugins: S.withDecodingDefaultKey<S.$Array<S.declare<string, string>>, never>;
374
+ readonly reporters: S.withDecodingDefaultKey<S.$Array<S.String>, never>;
375
+ readonly htmlReporter: S.withDecodingDefaultKey<S.Struct<{
376
+ readonly fileName: S.withDecodingDefaultKey<S.String, never>;
377
+ }>, never>;
378
+ readonly jsonReporter: S.withDecodingDefaultKey<S.Struct<{
379
+ readonly fileName: S.withDecodingDefaultKey<S.String, never>;
380
+ }>, never>;
381
+ readonly disableTypeChecks: S.withDecodingDefaultKey<S.Union<readonly [S.Boolean, S.String]>, never>;
382
+ readonly symlinkNodeModules: S.withDecodingDefaultKey<S.Boolean, never>;
383
+ readonly tempDirName: S.withDecodingDefaultKey<S.String, never>;
384
+ readonly cleanTempDir: S.withDecodingDefaultKey<S.Literals<readonly ["always", false, true]>, never>;
385
+ readonly testRunner: S.withDecodingDefaultKey<S.Union<readonly [S.String, S.Struct<{
386
+ readonly plugin: S.declare<string, string>;
387
+ readonly nodeArgs: S.optionalKey<S.$Array<S.String>>;
388
+ readonly options: S.optionalKey<S.$Record<S.String, S.Unknown>>;
389
+ }>]>, never>;
390
+ readonly testRunnerNodeArgs: S.withDecodingDefaultKey<S.$Array<S.String>, never>;
391
+ readonly thresholds: S.withDecodingDefaultKey<S.decodeTo<S.declare<{
392
+ readonly high: number;
393
+ readonly low: number;
394
+ readonly break: number | null;
395
+ }, {
396
+ readonly high: number;
397
+ readonly low: number;
398
+ readonly break: number | null;
399
+ }>, S.Struct<{
400
+ readonly high: S.withDecodingDefaultKey<S.Finite, never>;
401
+ readonly low: S.withDecodingDefaultKey<S.Finite, never>;
402
+ readonly break: S.withDecodingDefaultKey<S.NullOr<S.Finite>, never>;
403
+ }>, never, never>, never>;
404
+ readonly timeoutFactor: S.withDecodingDefaultKey<S.Finite, never>;
405
+ readonly timeoutMS: S.withDecodingDefaultKey<S.Finite, never>;
406
+ readonly dryRunTimeoutMinutes: S.withDecodingDefaultKey<S.Finite, never>;
407
+ readonly tsconfigFile: S.withDecodingDefaultKey<S.String, never>;
408
+ readonly warnings: S.withDecodingDefaultKey<S.Union<readonly [S.Boolean, S.StructWithRest<S.Struct<{
409
+ readonly unknownOptions: S.withDecodingDefaultKey<S.Boolean, never>;
410
+ readonly preprocessorErrors: S.withDecodingDefaultKey<S.Boolean, never>;
411
+ readonly unserializableOptions: S.withDecodingDefaultKey<S.Boolean, never>;
412
+ readonly slow: S.withDecodingDefaultKey<S.Boolean, never>;
413
+ }>, readonly [S.$Record<S.String, S.Unknown>]>]>, never>;
414
+ readonly disableBail: S.withDecodingDefaultKey<S.Boolean, never>;
415
+ readonly allowEmpty: S.withDecodingDefaultKey<S.Boolean, never>;
416
+ readonly ignorers: S.withDecodingDefaultKey<S.$Array<S.declare<string, string>>, never>;
417
+ readonly testFiles: S.withDecodingDefaultKey<S.$Array<S.String>, never>;
418
+ }>, readonly [S.$Record<S.String, S.Unknown>]>>;
419
+ }>, {}>;
420
+ declare class ConfigFromDefaults extends ConfigFromDefaults_base {
421
+ readonly [LoadConfigDecisionTypeId]: symbol;
422
+ static readonly [Workflow.InstrumentationBrand]: {};
423
+ }
424
+ declare const LoadConfigCommand_base: S.Class<LoadConfigCommand, S.TaggedStruct<"LoadConfigCommand", {
425
+ readonly document: S.$Record<S.String, S.Unknown>;
426
+ readonly fileFound: S.Boolean;
427
+ }>, {}>;
428
+ declare class LoadConfigCommand extends LoadConfigCommand_base {
429
+ static readonly [Workflow.InstrumentationBrand]: {};
430
+ }
431
+ //#endregion
432
+ //#region src/run/load-config.cell.d.ts
433
+ declare function describeErrors(error: S.SchemaError): readonly string[];
434
+ declare function importModule<A = unknown>(moduleName: string): Effect.Effect<A, StrykerError>;
435
+ declare const initialExtendsStepState: ExtendsStepState;
436
+ declare const mergeConfigs: ((child: mod_d_exports$2$1.PartialStrykerOptions) => (parent: mod_d_exports$2$1.PartialStrykerOptions) => mod_d_exports$2$1.PartialStrykerOptions) & ((parent: mod_d_exports$2$1.PartialStrykerOptions, child: mod_d_exports$2$1.PartialStrykerOptions) => mod_d_exports$2$1.PartialStrykerOptions);
437
+ declare const decideExtendsStep: ((document: mod_d_exports$2$1.PartialStrykerOptions, file: string, pathService: Path.Path) => (state: ExtendsStepState) => ExtendsStepDecision) & ((state: ExtendsStepState, document: mod_d_exports$2$1.PartialStrykerOptions, file: string, pathService: Path.Path) => ExtendsStepDecision);
438
+ type ValidationSchemaDocument<A = unknown> = {
439
+ readonly properties?: A;
440
+ readonly [key: string]: A;
441
+ };
442
+ declare const forkCoreSchema: import("effect/JsonSchema").JsonSchema;
443
+ declare const validateOptions: (<A = unknown>(schema: ValidationSchemaDocument) => (options: Record<string, A>) => Effect.Effect<mod_d_exports$2$1.StrykerOptions, ConfigError>) & (<A = unknown>(options: Record<string, A>, schema: ValidationSchemaDocument) => Effect.Effect<mod_d_exports$2$1.StrykerOptions, ConfigError>);
444
+ interface ConfigInvocation {
445
+ readonly command: 'run' | 'merge-reports';
446
+ readonly mode: OutputMode$1;
447
+ }
448
+ declare const readConfig: {
449
+ (invocation: ConfigInvocation): (cliOptions: mod_d_exports$2$1.PartialStrykerOptions) => Effect.Effect<mod_d_exports$2$1.StrykerOptions, ConfigFileNotFoundError | ConfigFileUnreadableError | ConfigFileInvalidError | ConfigFileUnsupportedError, FileSystem.FileSystem | Path.Path>;
450
+ (cliOptions: mod_d_exports$2$1.PartialStrykerOptions, invocation: ConfigInvocation): Effect.Effect<mod_d_exports$2$1.StrykerOptions, ConfigFileNotFoundError | ConfigFileUnreadableError | ConfigFileInvalidError | ConfigFileUnsupportedError, FileSystem.FileSystem | Path.Path>;
451
+ };
452
+ declare const loadConfigCell: Sandwich.WrittenFrom<{
453
+ readonly cliOptions: mod_d_exports$2$1.PartialStrykerOptions;
454
+ readonly targetMutatePatterns: readonly string[] | undefined;
455
+ }, ConfigFileInvalidError | ConfigFileNotFoundError | ConfigFileUnreadableError | ConfigFileUnsupportedError, FileSystem.FileSystem | Path.Path | RunEnvironment | RunEvents, S.Union<readonly [typeof ConfigFromFile, typeof ConfigFromDefaults]>, {
456
+ ConfigFromFile: ({ options }: {
457
+ readonly _tag: "ConfigFromFile";
458
+ readonly options: {
459
+ readonly [x: string]: unknown;
460
+ readonly allowConsoleColors: boolean;
461
+ readonly buildCommand?: string;
462
+ readonly checkers: readonly {
463
+ readonly plugin: string;
464
+ readonly nodeArgs?: readonly string[];
465
+ readonly options?: {
466
+ readonly [x: string]: unknown;
467
+ };
468
+ }[];
469
+ readonly checkerNodeArgs: readonly string[];
470
+ readonly concurrency?: string | number;
471
+ readonly commandRunner: {
472
+ readonly [x: string]: unknown;
473
+ readonly command: string;
474
+ };
475
+ readonly coverageAnalysis: "all" | "off" | "perTest";
476
+ readonly clearTextReporter: {
477
+ readonly [x: string]: unknown;
478
+ readonly allowColor: boolean;
479
+ readonly allowEmojis: boolean;
480
+ readonly logTests: boolean;
481
+ readonly maxTestsToLog: number;
482
+ readonly reportTests: boolean;
483
+ readonly reportMutants: boolean;
484
+ readonly reportScoreTable: boolean;
485
+ readonly skipFull: boolean;
486
+ };
487
+ readonly dryRunOnly: boolean;
488
+ readonly ignorePatterns: readonly string[];
489
+ readonly ignoreStatic: boolean;
490
+ readonly incremental: boolean;
491
+ readonly incrementalFile: string;
492
+ readonly progressStreamFile: string;
493
+ readonly force: boolean;
494
+ readonly fileLogLevel: "debug" | "error" | "fatal" | "info" | "off" | "trace" | "warn";
495
+ readonly inPlace: boolean;
496
+ readonly logLevel: "debug" | "error" | "fatal" | "info" | "off" | "trace" | "warn";
497
+ readonly maxConcurrentTestRunners: number;
498
+ readonly maxTestRunnerReuse: number;
499
+ readonly mutate: readonly string[];
500
+ readonly mutator: {
501
+ readonly excludedMutations: readonly string[];
502
+ readonly optInMutations: readonly string[];
503
+ };
504
+ readonly packageManager?: "npm" | "pnpm" | "yarn";
505
+ readonly plugins: readonly string[];
506
+ readonly appendPlugins: readonly string[];
507
+ readonly reporters: readonly string[];
508
+ readonly htmlReporter: {
509
+ readonly fileName: string;
510
+ };
511
+ readonly jsonReporter: {
512
+ readonly fileName: string;
513
+ };
514
+ readonly disableTypeChecks: string | boolean;
515
+ readonly symlinkNodeModules: boolean;
516
+ readonly tempDirName: string;
517
+ readonly cleanTempDir: "always" | boolean;
518
+ readonly testRunner: string | {
519
+ readonly plugin: string;
520
+ readonly nodeArgs?: readonly string[];
521
+ readonly options?: {
522
+ readonly [x: string]: unknown;
523
+ };
524
+ };
525
+ readonly testRunnerNodeArgs: readonly string[];
526
+ readonly thresholds: {
527
+ readonly high: number;
528
+ readonly low: number;
529
+ readonly break: number | null;
530
+ };
531
+ readonly timeoutFactor: number;
532
+ readonly timeoutMS: number;
533
+ readonly dryRunTimeoutMinutes: number;
534
+ readonly tsconfigFile: string;
535
+ readonly warnings: boolean | {
536
+ readonly [x: string]: unknown;
537
+ readonly unknownOptions: boolean;
538
+ readonly preprocessorErrors: boolean;
539
+ readonly unserializableOptions: boolean;
540
+ readonly slow: boolean;
541
+ };
542
+ readonly disableBail: boolean;
543
+ readonly allowEmpty: boolean;
544
+ readonly ignorers: readonly string[];
545
+ readonly testFiles: readonly string[];
546
+ };
547
+ }, raw: LoadConfigCommand & {
548
+ targetMutatePatterns: readonly string[] | undefined;
549
+ basePath: string;
550
+ }) => Effect.Effect<{
551
+ options: {
552
+ readonly [x: string]: unknown;
553
+ readonly allowConsoleColors: boolean;
554
+ readonly buildCommand?: string;
555
+ readonly checkers: readonly {
556
+ readonly plugin: string;
557
+ readonly nodeArgs?: readonly string[];
558
+ readonly options?: {
559
+ readonly [x: string]: unknown;
560
+ };
561
+ }[];
562
+ readonly checkerNodeArgs: readonly string[];
563
+ readonly concurrency?: string | number;
564
+ readonly commandRunner: {
565
+ readonly [x: string]: unknown;
566
+ readonly command: string;
567
+ };
568
+ readonly coverageAnalysis: "all" | "off" | "perTest";
569
+ readonly clearTextReporter: {
570
+ readonly [x: string]: unknown;
571
+ readonly allowColor: boolean;
572
+ readonly allowEmojis: boolean;
573
+ readonly logTests: boolean;
574
+ readonly maxTestsToLog: number;
575
+ readonly reportTests: boolean;
576
+ readonly reportMutants: boolean;
577
+ readonly reportScoreTable: boolean;
578
+ readonly skipFull: boolean;
579
+ };
580
+ readonly dryRunOnly: boolean;
581
+ readonly ignorePatterns: readonly string[];
582
+ readonly ignoreStatic: boolean;
583
+ readonly incremental: boolean;
584
+ readonly incrementalFile: string;
585
+ readonly progressStreamFile: string;
586
+ readonly force: boolean;
587
+ readonly fileLogLevel: "debug" | "error" | "fatal" | "info" | "off" | "trace" | "warn";
588
+ readonly inPlace: boolean;
589
+ readonly logLevel: "debug" | "error" | "fatal" | "info" | "off" | "trace" | "warn";
590
+ readonly maxConcurrentTestRunners: number;
591
+ readonly maxTestRunnerReuse: number;
592
+ readonly mutate: readonly string[];
593
+ readonly mutator: {
594
+ readonly excludedMutations: readonly string[];
595
+ readonly optInMutations: readonly string[];
596
+ };
597
+ readonly packageManager?: "npm" | "pnpm" | "yarn";
598
+ readonly plugins: readonly string[];
599
+ readonly appendPlugins: readonly string[];
600
+ readonly reporters: readonly string[];
601
+ readonly htmlReporter: {
602
+ readonly fileName: string;
603
+ };
604
+ readonly jsonReporter: {
605
+ readonly fileName: string;
606
+ };
607
+ readonly disableTypeChecks: string | boolean;
608
+ readonly symlinkNodeModules: boolean;
609
+ readonly tempDirName: string;
610
+ readonly cleanTempDir: "always" | boolean;
611
+ readonly testRunner: string | {
612
+ readonly plugin: string;
613
+ readonly nodeArgs?: readonly string[];
614
+ readonly options?: {
615
+ readonly [x: string]: unknown;
616
+ };
617
+ };
618
+ readonly testRunnerNodeArgs: readonly string[];
619
+ readonly thresholds: {
620
+ readonly high: number;
621
+ readonly low: number;
622
+ readonly break: number | null;
623
+ };
624
+ readonly timeoutFactor: number;
625
+ readonly timeoutMS: number;
626
+ readonly dryRunTimeoutMinutes: number;
627
+ readonly tsconfigFile: string;
628
+ readonly warnings: boolean | {
629
+ readonly [x: string]: unknown;
630
+ readonly unknownOptions: boolean;
631
+ readonly preprocessorErrors: boolean;
632
+ readonly unserializableOptions: boolean;
633
+ readonly slow: boolean;
634
+ };
635
+ readonly disableBail: boolean;
636
+ readonly allowEmpty: boolean;
637
+ readonly ignorers: readonly string[];
638
+ readonly testFiles: readonly string[];
639
+ };
640
+ targetMutatePatterns: readonly string[] | undefined;
641
+ basePath: string;
642
+ }, never, never>;
643
+ ConfigFromDefaults: ({ options }: {
644
+ readonly _tag: "ConfigFromDefaults";
645
+ readonly options: {
646
+ readonly [x: string]: unknown;
647
+ readonly allowConsoleColors: boolean;
648
+ readonly buildCommand?: string;
649
+ readonly checkers: readonly {
650
+ readonly plugin: string;
651
+ readonly nodeArgs?: readonly string[];
652
+ readonly options?: {
653
+ readonly [x: string]: unknown;
654
+ };
655
+ }[];
656
+ readonly checkerNodeArgs: readonly string[];
657
+ readonly concurrency?: string | number;
658
+ readonly commandRunner: {
659
+ readonly [x: string]: unknown;
660
+ readonly command: string;
661
+ };
662
+ readonly coverageAnalysis: "all" | "off" | "perTest";
663
+ readonly clearTextReporter: {
664
+ readonly [x: string]: unknown;
665
+ readonly allowColor: boolean;
666
+ readonly allowEmojis: boolean;
667
+ readonly logTests: boolean;
668
+ readonly maxTestsToLog: number;
669
+ readonly reportTests: boolean;
670
+ readonly reportMutants: boolean;
671
+ readonly reportScoreTable: boolean;
672
+ readonly skipFull: boolean;
673
+ };
674
+ readonly dryRunOnly: boolean;
675
+ readonly ignorePatterns: readonly string[];
676
+ readonly ignoreStatic: boolean;
677
+ readonly incremental: boolean;
678
+ readonly incrementalFile: string;
679
+ readonly progressStreamFile: string;
680
+ readonly force: boolean;
681
+ readonly fileLogLevel: "debug" | "error" | "fatal" | "info" | "off" | "trace" | "warn";
682
+ readonly inPlace: boolean;
683
+ readonly logLevel: "debug" | "error" | "fatal" | "info" | "off" | "trace" | "warn";
684
+ readonly maxConcurrentTestRunners: number;
685
+ readonly maxTestRunnerReuse: number;
686
+ readonly mutate: readonly string[];
687
+ readonly mutator: {
688
+ readonly excludedMutations: readonly string[];
689
+ readonly optInMutations: readonly string[];
690
+ };
691
+ readonly packageManager?: "npm" | "pnpm" | "yarn";
692
+ readonly plugins: readonly string[];
693
+ readonly appendPlugins: readonly string[];
694
+ readonly reporters: readonly string[];
695
+ readonly htmlReporter: {
696
+ readonly fileName: string;
697
+ };
698
+ readonly jsonReporter: {
699
+ readonly fileName: string;
700
+ };
701
+ readonly disableTypeChecks: string | boolean;
702
+ readonly symlinkNodeModules: boolean;
703
+ readonly tempDirName: string;
704
+ readonly cleanTempDir: "always" | boolean;
705
+ readonly testRunner: string | {
706
+ readonly plugin: string;
707
+ readonly nodeArgs?: readonly string[];
708
+ readonly options?: {
709
+ readonly [x: string]: unknown;
710
+ };
711
+ };
712
+ readonly testRunnerNodeArgs: readonly string[];
713
+ readonly thresholds: {
714
+ readonly high: number;
715
+ readonly low: number;
716
+ readonly break: number | null;
717
+ };
718
+ readonly timeoutFactor: number;
719
+ readonly timeoutMS: number;
720
+ readonly dryRunTimeoutMinutes: number;
721
+ readonly tsconfigFile: string;
722
+ readonly warnings: boolean | {
723
+ readonly [x: string]: unknown;
724
+ readonly unknownOptions: boolean;
725
+ readonly preprocessorErrors: boolean;
726
+ readonly unserializableOptions: boolean;
727
+ readonly slow: boolean;
728
+ };
729
+ readonly disableBail: boolean;
730
+ readonly allowEmpty: boolean;
731
+ readonly ignorers: readonly string[];
732
+ readonly testFiles: readonly string[];
733
+ };
734
+ }, raw: LoadConfigCommand & {
735
+ targetMutatePatterns: readonly string[] | undefined;
736
+ basePath: string;
737
+ }) => Effect.Effect<{
738
+ options: {
739
+ readonly [x: string]: unknown;
740
+ readonly allowConsoleColors: boolean;
741
+ readonly buildCommand?: string;
742
+ readonly checkers: readonly {
743
+ readonly plugin: string;
744
+ readonly nodeArgs?: readonly string[];
745
+ readonly options?: {
746
+ readonly [x: string]: unknown;
747
+ };
748
+ }[];
749
+ readonly checkerNodeArgs: readonly string[];
750
+ readonly concurrency?: string | number;
751
+ readonly commandRunner: {
752
+ readonly [x: string]: unknown;
753
+ readonly command: string;
754
+ };
755
+ readonly coverageAnalysis: "all" | "off" | "perTest";
756
+ readonly clearTextReporter: {
757
+ readonly [x: string]: unknown;
758
+ readonly allowColor: boolean;
759
+ readonly allowEmojis: boolean;
760
+ readonly logTests: boolean;
761
+ readonly maxTestsToLog: number;
762
+ readonly reportTests: boolean;
763
+ readonly reportMutants: boolean;
764
+ readonly reportScoreTable: boolean;
765
+ readonly skipFull: boolean;
766
+ };
767
+ readonly dryRunOnly: boolean;
768
+ readonly ignorePatterns: readonly string[];
769
+ readonly ignoreStatic: boolean;
770
+ readonly incremental: boolean;
771
+ readonly incrementalFile: string;
772
+ readonly progressStreamFile: string;
773
+ readonly force: boolean;
774
+ readonly fileLogLevel: "debug" | "error" | "fatal" | "info" | "off" | "trace" | "warn";
775
+ readonly inPlace: boolean;
776
+ readonly logLevel: "debug" | "error" | "fatal" | "info" | "off" | "trace" | "warn";
777
+ readonly maxConcurrentTestRunners: number;
778
+ readonly maxTestRunnerReuse: number;
779
+ readonly mutate: readonly string[];
780
+ readonly mutator: {
781
+ readonly excludedMutations: readonly string[];
782
+ readonly optInMutations: readonly string[];
783
+ };
784
+ readonly packageManager?: "npm" | "pnpm" | "yarn";
785
+ readonly plugins: readonly string[];
786
+ readonly appendPlugins: readonly string[];
787
+ readonly reporters: readonly string[];
788
+ readonly htmlReporter: {
789
+ readonly fileName: string;
790
+ };
791
+ readonly jsonReporter: {
792
+ readonly fileName: string;
793
+ };
794
+ readonly disableTypeChecks: string | boolean;
795
+ readonly symlinkNodeModules: boolean;
796
+ readonly tempDirName: string;
797
+ readonly cleanTempDir: "always" | boolean;
798
+ readonly testRunner: string | {
799
+ readonly plugin: string;
800
+ readonly nodeArgs?: readonly string[];
801
+ readonly options?: {
802
+ readonly [x: string]: unknown;
803
+ };
804
+ };
805
+ readonly testRunnerNodeArgs: readonly string[];
806
+ readonly thresholds: {
807
+ readonly high: number;
808
+ readonly low: number;
809
+ readonly break: number | null;
810
+ };
811
+ readonly timeoutFactor: number;
812
+ readonly timeoutMS: number;
813
+ readonly dryRunTimeoutMinutes: number;
814
+ readonly tsconfigFile: string;
815
+ readonly warnings: boolean | {
816
+ readonly [x: string]: unknown;
817
+ readonly unknownOptions: boolean;
818
+ readonly preprocessorErrors: boolean;
819
+ readonly unserializableOptions: boolean;
820
+ readonly slow: boolean;
821
+ };
822
+ readonly disableBail: boolean;
823
+ readonly allowEmpty: boolean;
824
+ readonly ignorers: readonly string[];
825
+ readonly testFiles: readonly string[];
826
+ };
827
+ targetMutatePatterns: readonly string[] | undefined;
828
+ basePath: string;
829
+ }, never, never>;
830
+ ConfigOptionsRefused: ({ message }: {
831
+ readonly _tag: "ConfigOptionsRefused";
832
+ readonly message: string;
833
+ }) => Effect.Effect<never, ConfigError, RunEnvironment | RunEvents>;
834
+ CommandRejected: ({ issue }: Sandwich.CommandRejected) => Effect.Effect<never, ConfigError, RunEnvironment | RunEvents>;
835
+ }>;
836
+ declare namespace mod_d_exports$1 {
837
+ export { ConfigDocumentSchema, ConfigError, ConfigFileInvalidError, ConfigFileNotFoundError, ConfigFileUnreadableError, ConfigFileUnsupportedError, ConfigInvocation, ExtendsRefusalReason, ExtendsStepDecision, ExtendsStepDocument, ExtendsStepDocumentSchema, ExtendsStepDone, ExtendsStepRead, ExtendsStepRefused, ExtendsStepResolve, ExtendsStepState, ExtendsStepStateSchema, FileMatcher, Immutable, ImmutablePrimitive, ImportedModuleSchema, MergeCommand, MergeResult, Primitive, ReadConfigCommand, StrykerConfig, ValidationSchemaDocument, decideExtendsStep, describeErrors, extendsPropertySchema, forkCoreSchema, forkOptionsSchema, importModule, initialExtendsStepState, loadConfigCell, mergeConfigs, readConfig, survivorsPriorReport, validateOptions };
838
+ }
839
+ //#endregion
840
+ //#region src/drivers/node.d.ts
841
+ declare const nodePlatformLayer: Layer.Layer<EnginePorts>;
842
+ //#endregion
843
+ //#region src/IncrementalReport.schema.d.ts
844
+ declare const IncrementalReportSchema: S.StructWithRest<S.Struct<{
845
+ readonly incrementalVersion: S.String;
846
+ readonly schemaVersion: S.String;
847
+ readonly thresholds: S.Struct<{
848
+ readonly high: S.Finite;
849
+ readonly low: S.Finite;
850
+ }>;
851
+ readonly files: S.$Record<S.String, S.Struct<{
852
+ readonly language: S.String;
853
+ readonly source: S.String;
854
+ readonly mutants: S.$Array<S.Struct<{
855
+ readonly id: S.String;
856
+ readonly mutatorName: S.String;
857
+ readonly replacement: S.String;
858
+ readonly location: S.Struct<{
859
+ readonly start: S.Struct<{
860
+ readonly line: S.Finite;
861
+ readonly column: S.Finite;
862
+ }>;
863
+ readonly end: S.Struct<{
864
+ readonly line: S.Finite;
865
+ readonly column: S.Finite;
866
+ }>;
867
+ }>;
868
+ readonly status: S.Literals<readonly ["Killed", "Survived", "NoCoverage", "Timeout", "CompileError", "RuntimeError", "Ignored", "Pending"]>;
869
+ readonly killedBy: S.optional<S.$Array<S.String>>;
870
+ readonly coveredBy: S.optional<S.$Array<S.String>>;
871
+ readonly static: S.optional<S.Boolean>;
872
+ readonly statusReason: S.optional<S.String>;
873
+ readonly testsCompleted: S.optional<S.Finite>;
874
+ readonly description: S.optional<S.String>;
875
+ readonly duration: S.optional<S.Finite>;
876
+ }>>;
877
+ readonly formatIdentity: S.optional<S.Struct<{
878
+ readonly formatId: S.String;
879
+ readonly ownerModule: S.String;
880
+ readonly ownerVersion: S.String;
881
+ }>>;
882
+ }>>;
883
+ readonly testFiles: S.optional<S.$Record<S.String, S.Struct<{
884
+ readonly source: S.optional<S.String>;
885
+ readonly tests: S.$Array<S.Struct<{
886
+ readonly id: S.String;
887
+ readonly name: S.String;
888
+ readonly location: S.optional<S.Struct<{
889
+ readonly start: S.Struct<{
890
+ readonly line: S.Finite;
891
+ readonly column: S.Finite;
892
+ }>;
893
+ readonly end: S.optional<S.Struct<{
894
+ readonly line: S.Finite;
895
+ readonly column: S.Finite;
896
+ }>>;
897
+ }>>;
898
+ }>>;
899
+ }>>>;
900
+ }>, readonly [S.$Record<S.String, S.Unknown>]>;
901
+ //#endregion
902
+ //#region src/run/host.service.d.ts
903
+ type StrykerRun = (options: mod_d_exports$2$1.PartialStrykerOptions, targetMutatePatterns?: string[]) => Effect.Effect<MutationTestDone, StageError, never>;
904
+ //#endregion
905
+ //#region src/run/run-stages.cell.d.ts
906
+ declare const mutationTestCell: Cell.Cell<PrepareExecutorArgs, MutationTestDone, StageError, StageServices>;
907
+ declare const strykerCell: {
908
+ (options: mod_d_exports$2$1.PartialStrykerOptions, targetMutatePatterns?: readonly string[]): Effect.Effect<MutationTestDone, StageError | PlatformError, EnginePorts>;
909
+ (targetMutatePatterns?: readonly string[]): (options: mod_d_exports$2$1.PartialStrykerOptions) => Effect.Effect<MutationTestDone, StageError | PlatformError, EnginePorts>;
910
+ };
911
+ declare namespace mod_d_exports$2 {
912
+ export { DryRunDone, EnginePorts, IdGenerator, IdGeneratorShape, IncrementalReportSchema, InstrumentDone, MutationTestDone, PrepareDone, PrepareExecutorArgs, Project, ProjectFile, RunEnvironment, RunEnvironmentShape, RunStageServices, SandboxHandle, StageError, StageServices, StrykerError, StrykerRun, TestCoverage, WiredRunLayer, mutationTestCell, nodePlatformLayer, strykerCell };
913
+ }
914
+ //#endregion
915
+ //#region src/TestRunner.schema.d.ts
916
+ type PooledTestRunnerError = mod_d_exports$6$1.TestRunnerFailed | ChildProcessCrashedError | OutOfMemoryError;
917
+ //#endregion
918
+ //#region src/pooled-test-runner.handle.d.ts
919
+ declare const TypeId: unique symbol;
920
+ type TypeId = typeof TypeId;
921
+ interface PooledTestRunner extends Pipeable {
922
+ readonly [TypeId]: typeof TypeId;
923
+ readonly capabilities: Effect.Effect<mod_d_exports$6$1.TestRunnerCapabilities, PooledTestRunnerError>;
924
+ readonly init: Effect.Effect<void, PooledTestRunnerError>;
925
+ readonly dryRun: (options: mod_d_exports$6$1.DryRunOptions) => Effect.Effect<mod_d_exports$6$1.DryRunResult, PooledTestRunnerError>;
926
+ readonly mutantRun: (options: mod_d_exports$3$1.MutantRunOptions) => Effect.Effect<mod_d_exports$6$1.MutantRunResult, PooledTestRunnerError>;
927
+ }
928
+ //#endregion
929
+ //#region src/command-runner.resource.d.ts
930
+ declare const isCommandRunner: (name: mod_d_exports$2$1.TestRunnerConfig) => name is 'command';
931
+ //#endregion
932
+ //#region src/TestRunner.resource.d.ts
933
+ interface TestRunnerBuildContext {
934
+ readonly options: mod_d_exports$2$1.StrykerOptions;
935
+ readonly fileDescriptions: mod_d_exports$2$2.FileDescriptions;
936
+ readonly sandboxWorkingDirectory: string;
937
+ readonly idGenerator: IdGeneratorShape;
938
+ readonly retire: Effect.Effect<void>;
939
+ readonly testFiles: readonly string[];
940
+ }
941
+ declare const buildTestRunner: {
942
+ <ChildRunnerError>(context: TestRunnerBuildContext, childProcessRunner: Effect.Effect<PooledTestRunner, ChildRunnerError, Scope.Scope | WorkerLauncher>): Effect.Effect<PooledTestRunner, PooledTestRunnerError | ChildRunnerError, ChildProcessSpawner.ChildProcessSpawner | FileSystem.FileSystem | Scope.Scope | WorkerLauncher>;
943
+ <ChildRunnerError>(childProcessRunner: Effect.Effect<PooledTestRunner, ChildRunnerError, Scope.Scope | WorkerLauncher>): (context: TestRunnerBuildContext) => Effect.Effect<PooledTestRunner, PooledTestRunnerError | ChildRunnerError, ChildProcessSpawner.ChildProcessSpawner | FileSystem.FileSystem | Scope.Scope | WorkerLauncher>;
944
+ };
945
+ //#endregion
946
+ //#region src/VmRunner.resource.d.ts
947
+ declare const isVmRunner: (name: mod_d_exports$2$1.TestRunnerConfig) => name is 'vm';
948
+ interface VmTestRunnerConfig {
949
+ readonly testFiles: readonly string[];
950
+ readonly sandboxWorkingDirectory: string;
951
+ }
952
+ declare const vmTestRunner: (config: VmTestRunnerConfig) => Effect.Effect<PooledTestRunner, mod_d_exports$6$1.TestRunnerFailed, Scope.Scope>;
953
+ declare namespace mod_d_exports$3 {
954
+ export { AnyPluginDescriptor, AnyWorkerPluginDescriptor, AnyWorkerPluginSource, EvaluatorPluginDescriptor, EvaluatorPluginSource, Framework, Ignorer, LoadedPlugins, Node_2 as Node, PluginDescriptor, PluginDescriptorOf, PluginKind, PluginSource, PooledTestRunner, PooledTestRunnerError, REPORTER_EVENT_BATCH_BOUND, ReporterStage, ReporterWorkerClient, SpawnReporterWorkerParams, TestRunnerBuildContext, VmTestRunnerConfig, WorkerPluginDescriptor, WorkerPluginSource, buildTestRunner, isCommandRunner, isVmRunner, reporterWorkerFactory, spawnReporterWorker, vmTestRunner };
955
+ }
956
+ //#endregion
957
+ //#region src/reporting/metrics-from-report.schema.d.ts
958
+ type Files = Readonly<Record<string, mod_d_exports$4$1.FileResult>>;
959
+ declare const MetricsResultFromReport_base: S.Class<MetricsResultFromReport, S.Struct<{
960
+ readonly name: S.String;
961
+ readonly metrics: typeof mod_d_exports$4$1.Metrics;
962
+ readonly childResults: S.$Array<S.suspend<S.Codec<mod_d_exports$4$1.MetricsResult, mod_d_exports$4$1.MetricsResultEncoded, never, never>>>;
963
+ }>, mod_d_exports$4$1.MetricsResultEncoded>;
964
+ declare class MetricsResultFromReport extends MetricsResultFromReport_base {
965
+ static readonly fromFiles: (files: Files) => MetricsResultFromReport;
966
+ }
967
+ //#endregion
968
+ //#region src/reporting/verdict-envelope.schema.d.ts
969
+ declare const VerdictMutant: S.Struct<{
970
+ readonly id: S.String;
971
+ readonly file: S.String;
972
+ readonly location: S.Struct<{
973
+ readonly start: S.Struct<{
974
+ readonly line: S.Int;
975
+ readonly column: S.Int;
976
+ }>;
977
+ readonly end: S.Struct<{
978
+ readonly line: S.Int;
979
+ readonly column: S.Int;
980
+ }>;
981
+ }>;
982
+ readonly mutator: S.String;
983
+ readonly replacement: S.NullOr<S.String>;
984
+ readonly status: S.Literals<readonly ["Killed", "Survived", "NoCoverage", "CompileError", "RuntimeError", "Timeout", "Ignored", "Pending"]>;
985
+ }>;
986
+ type VerdictMutant = typeof VerdictMutant.Type;
987
+ declare const VerdictThresholds: S.Struct<{
988
+ readonly high: S.Finite;
989
+ readonly low: S.Finite;
990
+ readonly break: S.NullOr<S.Finite>;
991
+ }>;
992
+ type VerdictThresholds = typeof VerdictThresholds.Type;
993
+ type VerdictCounts = typeof mod_d_exports$4$1.MetricsSchema.Type;
994
+ declare const VerdictEnvelope_base: S.Class<VerdictEnvelope, S.Struct<{
995
+ readonly schemaVersion: S.String;
996
+ readonly runId: S.String;
997
+ readonly mode: S.Literals<readonly ["human", "machine"]>;
998
+ readonly signal: S.Literals<readonly ["flag", "env", "tty", "agent", "tool"]>;
999
+ readonly score: S.NullOr<S.Finite>;
1000
+ readonly thresholds: S.Struct<{
1001
+ readonly high: S.Finite;
1002
+ readonly low: S.Finite;
1003
+ readonly break: S.NullOr<S.Finite>;
1004
+ }>;
1005
+ readonly counts: typeof mod_d_exports$4$1.Metrics;
1006
+ readonly reportFile: S.NullOr<S.String>;
1007
+ readonly mutants: S.$Array<S.Struct<{
1008
+ readonly id: S.String;
1009
+ readonly file: S.String;
1010
+ readonly location: S.Struct<{
1011
+ readonly start: S.Struct<{
1012
+ readonly line: S.Int;
1013
+ readonly column: S.Int;
1014
+ }>;
1015
+ readonly end: S.Struct<{
1016
+ readonly line: S.Int;
1017
+ readonly column: S.Int;
1018
+ }>;
1019
+ }>;
1020
+ readonly mutator: S.String;
1021
+ readonly replacement: S.NullOr<S.String>;
1022
+ readonly status: S.Literals<readonly ["Killed", "Survived", "NoCoverage", "CompileError", "RuntimeError", "Timeout", "Ignored", "Pending"]>;
1023
+ }>>;
1024
+ }>, {}>;
1025
+ declare class VerdictEnvelope extends VerdictEnvelope_base {
1026
+ static readonly build: ((mode: OutputMode, signal: ModeSignal, runId: string, basePath: string, pathService: Path.Path) => (report: mod_d_exports$4$1.MutationTestResult) => VerdictEnvelope) & ((report: mod_d_exports$4$1.MutationTestResult, mode: OutputMode, signal: ModeSignal, runId: string, basePath: string, pathService: Path.Path) => VerdictEnvelope);
1027
+ }
1028
+ //#endregion
1029
+ //#region src/run-event-wire.schema.d.ts
1030
+ declare const RunEventWireLine: S.decodeTo<S.fromJsonString<S.Union<readonly [typeof RunStarted, typeof PhaseEntered, typeof PlanKnown, typeof RunMutantTested, typeof Heartbeat, typeof PluginsReported, typeof FormatRegistryResolved, typeof SkippedReported, typeof VerdictReached, typeof RunFailed, typeof HelpRendered]> & {
1031
+ QUEUE_BOUND: number;
1032
+ }>, S.String, never, never>;
1033
+ type RunEventWireLine = typeof RunEventWireLine.Type;
1034
+ declare namespace mod_d_exports$4 {
1035
+ export { FormatClaimShadowingRow, FormatRegistryResolved, FormatRegistryRow, FrameworkContributionRow, FrameworkModuleRow, Heartbeat, HelpRendered, MetricsResultFromReport, ModeSignal$1 as ModeSignal, OutputMode$1 as OutputMode, PhaseEntered, PlanKnown, PluginFailureReason, PluginsReported, ResolvedMode, ResolvedModeInput, RunEvent, RunEventDrain, RunEventDrainLive, RunEventStream, RunEventWireLine, RunEvents, RunFailed, RunIdentity, RunIdentityShape, RunMutantTested, RunPhase, RunStarted, RunTerminalEvent, SkippedFileRow, SkippedReported, VerdictCounts, VerdictEnvelope, VerdictMutant, VerdictReached, VerdictThresholds, makeRunEventStream };
1036
+ }
1037
+ //#endregion
1038
+ //#region src/classify-worker-exit.workflow.d.ts
1039
+ declare const WorkerExitTypeId: unique symbol;
1040
+ type WorkerExitTypeId = typeof WorkerExitTypeId;
1041
+ declare const ClassifyWorkerExitCommand_base: S.Class<ClassifyWorkerExitCommand, S.TaggedStruct<"ClassifyWorkerExitCommand", {
1042
+ readonly pid: S.Int;
1043
+ readonly exitCode: S.Int;
1044
+ }>, {}>;
1045
+ declare class ClassifyWorkerExitCommand extends ClassifyWorkerExitCommand_base {
1046
+ static readonly [Workflow.InstrumentationBrand]: {};
1047
+ }
1048
+ declare const WorkerOutOfMemory_base: S.Class<WorkerOutOfMemory, S.TaggedStruct<"WorkerOutOfMemory", {
1049
+ readonly pid: S.Int;
1050
+ readonly exitCode: S.Int;
1051
+ }>, {}>;
1052
+ declare class WorkerOutOfMemory extends WorkerOutOfMemory_base {
1053
+ readonly [WorkerExitTypeId]: symbol;
1054
+ }
1055
+ declare const WorkerCrashed_base: S.Class<WorkerCrashed, S.TaggedStruct<"WorkerCrashed", {
1056
+ readonly pid: S.Int;
1057
+ readonly exitCode: S.Int;
1058
+ }>, {}>;
1059
+ declare class WorkerCrashed extends WorkerCrashed_base {
1060
+ readonly [WorkerExitTypeId]: symbol;
1061
+ }
1062
+ declare const ClassifyWorkerExitDecision: S.Union<readonly [typeof WorkerOutOfMemory, typeof WorkerCrashed]>;
1063
+ type ClassifyWorkerExitDecision = typeof ClassifyWorkerExitDecision.Type;
1064
+ declare const classifyWorkerExit: Workflow.MadeWorkflow<typeof ClassifyWorkerExitCommand, S.Union<readonly [typeof WorkerOutOfMemory, typeof WorkerCrashed]>, S.Never>;
1065
+ //#endregion
1066
+ //#region src/worker-client.resource.d.ts
1067
+ interface WorkerClientParams<Rpcs extends Rpc.Any> {
1068
+ readonly rpcs: RpcGroup.RpcGroup<Rpcs>;
1069
+ readonly options: mod_d_exports$2$1.StrykerOptions;
1070
+ readonly entrypoint: string;
1071
+ readonly workingDirectory: string;
1072
+ readonly execArgv: readonly string[];
1073
+ readonly tempDirPrefix: string;
1074
+ readonly env?: Readonly<Record<string, string>> | undefined;
1075
+ }
1076
+ declare const makeWorkerClient: <Rpcs extends Rpc.Any>(params: WorkerClientParams<Rpcs>) => Effect.Effect<RpcClient.RpcClient<Rpcs, RpcClientError>, WorkerBootError, Scope.Scope | WorkerLauncher>;
1077
+ //#endregion
1078
+ //#region src/worker-protocol.resource.d.ts
1079
+ declare const layerWorkerProtocol: (socket: Layer.Layer<Socket.Socket, Socket.SocketError>) => Layer.Layer<RpcClient.Protocol, Socket.SocketError>;
1080
+ declare namespace mod_d_exports$5 {
1081
+ export { ChildProcessCrashedError, ClassifyWorkerExitCommand, ClassifyWorkerExitDecision, OutOfMemoryError, SpawnedSocketWorker, WorkerBootError, WorkerBootTimeoutError, WorkerClientParams, WorkerExit, WorkerLauncher, WorkerLauncherShape, WorkerSpawnParams, classifyWorkerExit, layerWorkerProtocol, make as makeSpawnedSocketWorker, makeWorkerClient };
1082
+ }
1083
+ //#endregion
1084
+ export { mod_d_exports as Checker, mod_d_exports$1 as Configuration, mod_d_exports$2 as Engine, mod_d_exports$3 as Plugin, mod_d_exports$4 as RunEvent, mod_d_exports$5 as Worker };