executable-stories-formatters 0.7.0 → 0.7.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.cts CHANGED
@@ -1,5 +1,5 @@
1
- import { S as StoryMeta, C as CIInfo$1, a as StoryStep, D as DocEntry, O as OtelSpan, b as CIProvider, R as RawStatus, c as RawAttachment, d as RawRun, e as RawCIInfo, f as adaptJestRun, g as adaptPlaywrightRun, h as adaptVitestRun } from './index-BndkylIV.cjs';
2
- export { i as DocPhase, J as JestAdapterOptions, j as JestAggregatedResult, k as JestFileResult, l as JestTestResult, m as OtelAttributeValue, P as PlaywrightAdapterOptions, n as PlaywrightAnnotation, o as PlaywrightAttachment, p as PlaywrightError, q as PlaywrightLocation, r as PlaywrightStatus, s as PlaywrightTestCase, t as PlaywrightTestResult, u as RawStepEvent, v as RawTestCase, w as STORY_META_KEY, x as StepKeyword, y as StepMode, z as StoryFileReport, V as VitestAdapterOptions, A as VitestSerializedError, B as VitestState, E as VitestTestCase, F as VitestTestModule, G as VitestTestResult, H as toCIInfo, I as toRawCIInfo } from './index-BndkylIV.cjs';
1
+ import { S as StoryMeta, C as CIInfo$1, a as StoryStep, D as DocEntry, N as NormalizedTicket, O as OtelSpan, b as CIProvider, R as RawStatus, c as RawAttachment, d as RawRun, e as RawCIInfo, f as adaptJestRun, g as adaptPlaywrightRun, h as adaptVitestRun } from './index-C0OOaaiK.cjs';
2
+ export { i as DocPhase, J as JestAdapterOptions, j as JestAggregatedResult, k as JestFileResult, l as JestTestResult, m as OtelAttributeValue, P as PlaywrightAdapterOptions, n as PlaywrightAnnotation, o as PlaywrightAttachment, p as PlaywrightError, q as PlaywrightLocation, r as PlaywrightStatus, s as PlaywrightTestCase, t as PlaywrightTestResult, u as RawStepEvent, v as RawTestCase, w as STORY_META_KEY, x as StepKeyword, y as StepMode, z as StoryFileReport, V as VitestAdapterOptions, A as VitestSerializedError, B as VitestState, E as VitestTestCase, F as VitestTestModule, G as VitestTestResult, H as toCIInfo, I as toRawCIInfo } from './index-C0OOaaiK.cjs';
3
3
 
4
4
  /**
5
5
  * Canonical types for Layer 2: Anti-Corruption Layer output.
@@ -286,6 +286,8 @@ interface FormatterOptions {
286
286
  markdownEnabled?: boolean;
287
287
  /** Base URL for source permalinks. E.g., "https://github.com/user/repo/blob/main" */
288
288
  permalinkBaseUrl?: string;
289
+ /** URL template for ticket links. Use {ticket} as placeholder. E.g., "https://jira.example.com/browse/{ticket}" */
290
+ ticketUrlTemplate?: string;
289
291
  /** Theme name. Default: "default". Available: default, corporate, terminal, minimal, dashboard, playful */
290
292
  theme?: string;
291
293
  };
@@ -334,6 +336,10 @@ interface FormatterOptions {
334
336
  /** Generic webhook configurations */
335
337
  webhooks?: GenericWebhookNotifierOptions[];
336
338
  };
339
+ /** Asset bundling mode. "none" = no asset copying, "copy" = copy referenced assets next to HTML. Default: "none" */
340
+ assetMode?: "none" | "copy";
341
+ /** When true, warn on missing assets instead of throwing. Default: false */
342
+ allowMissingAssets?: boolean;
337
343
  /** Logger for warnings and info. Default: console */
338
344
  logger?: Logger;
339
345
  /** File writer function. Default: fs.promises.writeFile */
@@ -425,6 +431,7 @@ interface ResolvedFormatterOptions {
425
431
  mermaidEnabled: boolean;
426
432
  markdownEnabled: boolean;
427
433
  permalinkBaseUrl?: string;
434
+ ticketUrlTemplate?: string;
428
435
  theme: string;
429
436
  };
430
437
  junit: {
@@ -449,6 +456,8 @@ interface ResolvedFormatterOptions {
449
456
  includeSourceLinks: boolean;
450
457
  customRenderers?: MarkdownRenderers;
451
458
  };
459
+ assetMode: "none" | "copy";
460
+ allowMissingAssets: boolean;
452
461
  }
453
462
 
454
463
  type ScenarioChangeKind = "added" | "removed" | "regressed" | "fixed" | "changed" | "unchanged";
@@ -475,7 +484,7 @@ interface ScenarioSnapshot {
475
484
  titlePath: string[];
476
485
  steps: StoryStep[];
477
486
  docs: DocEntry[];
478
- tickets: string[];
487
+ tickets: NormalizedTicket[];
479
488
  attachments: Attachment[];
480
489
  errorMessage?: string;
481
490
  }
@@ -722,6 +731,7 @@ interface RenderScenarioDeps {
722
731
  renderTraceView: (args: RenderTraceViewArgs, deps: RenderTraceViewDeps) => string;
723
732
  embedScreenshots: boolean;
724
733
  permalinkBaseUrl?: string;
734
+ ticketUrlTemplate?: string;
725
735
  }
726
736
 
727
737
  interface RenderFeatureArgs {
@@ -1159,6 +1169,8 @@ interface HtmlOptions {
1159
1169
  markdownEnabled?: boolean;
1160
1170
  /** Base URL for source permalinks. E.g., "https://github.com/user/repo/blob/main" */
1161
1171
  permalinkBaseUrl?: string;
1172
+ /** URL template for ticket links. Use {ticket} as placeholder. E.g., "https://jira.example.com/browse/{ticket}" */
1173
+ ticketUrlTemplate?: string;
1162
1174
  /** Theme name or custom theme object. Default: "default" */
1163
1175
  theme?: string | HtmlTheme;
1164
1176
  }
@@ -2122,6 +2134,24 @@ declare function createPrCommentSummary(diff: RunDiffResult, maxScenarios?: numb
2122
2134
 
2123
2135
  declare function diffRuns(baseline: TestRunResult, current: TestRunResult): RunDiffResult;
2124
2136
 
2137
+ interface BundleOptions {
2138
+ /** If true, warn about missing assets instead of throwing. Default: false. */
2139
+ allowMissing?: boolean;
2140
+ }
2141
+ interface BundleResult {
2142
+ /** Number of assets successfully copied */
2143
+ copiedCount: number;
2144
+ /** Number of missing assets */
2145
+ missingCount: number;
2146
+ /** Paths of missing assets (original references) */
2147
+ missing: string[];
2148
+ }
2149
+ /**
2150
+ * Post-process an HTML report file: copy referenced local assets into
2151
+ * an `assets/` directory beside it and rewrite paths in the HTML.
2152
+ */
2153
+ declare function bundleAssets(htmlPath: string, options?: BundleOptions): BundleResult;
2154
+
2125
2155
  /**
2126
2156
  * @executable-stories/formatters
2127
2157
  *
@@ -2223,4 +2253,4 @@ declare function normalizeVitestResults(testModules: Parameters<typeof adaptVite
2223
2253
  */
2224
2254
  declare function normalizePlaywrightResults(testResults: Parameters<typeof adaptPlaywrightRun>[0], adapterOptions?: Parameters<typeof adaptPlaywrightRun>[1], canonicalizeOptions?: CanonicalizeOptions): TestRunResult;
2225
2255
 
2226
- export { type Attachment, type CIInfo, CIProvider, type CanonicalizeOptions, type ColocatedStyle, type CompareFormat, type CompareFormatterOptions, type CoverageSummary, CucumberHtmlFormatter, type CucumberHtmlOptions, CucumberJsonFormatter, type CucumberJsonOptions, CucumberMessagesFormatter, type CucumberMessagesOptions, DocEntry, type FlakinessLevel, type FormatterOptions, type GenerateArgs, type GenerateCompareResult, type GenerateDeps, type GenerateResult, type GenericWebhookNotifierOptions, type HistoryEntry, type HistoryStore, HtmlFormatter, type HtmlOptions, type HtmlTheme, type HtmlThemeName, type IJsonDataTable, type IJsonDocString, type IJsonEmbedding, type IJsonFeature, type IJsonScenario, type IJsonStep, type IJsonStepArgument, type IJsonStepResult, type IJsonTableRow, type IJsonTag, JUnitFormatter, type JUnitOptions, type ListScenariosArgs, type ListScenariosDeps, type Logger, MIN_FLAKINESS_SAMPLES, MIN_METRIC_SAMPLES, MIN_PERF_SAMPLES, MarkdownFormatter, type MarkdownFormatterOptions, type MarkdownOptions, type MarkdownRenderers, type NotificationSummary, type NotifyCondition, OtelSpan, type OtelTraceContext, type OutputConfig, type OutputFormat, type OutputMode, type OutputRule, type PerformanceTrend, RawAttachment, RawCIInfo, RawRun, RawStatus, ReportGenerator, type ResolvedFormatterOptions, RunDiffHtmlFormatter, type RunDiffHtmlOptions, RunDiffMarkdownFormatter, type RunDiffMarkdownOptions, type RunDiffResult, type RunDiffSummary, type ScenarioChangeFlags, type ScenarioChangeKind, type ScenarioDiff, type ScenarioSnapshot, type SortTestCasesMode, type StabilityGrade, type StepResult, StoryMeta, StoryStep, type TestCaseAttempt, type TestCaseResult, type TestHistory, type TestMetrics, type TestRunResult, type TestStatus, CIInfo$1 as TypedCIInfo, type ValidationResult, type WebhookPayload, type WebhookSignerHmac, type WriteFile, adaptJestRun, adaptPlaywrightRun, adaptVitestRun, assertValidRun, calculateFlakiness, calculateStability, canonicalizeRun, clearVersionCache, computeTestMetrics, createPrCommentSummary, createReportGenerator, deriveStepResults, detectCI, detectPerformanceTrend, diffRuns, findGitDir, formatDuration, generateRunComparison, generateRunId, generateTestCaseId, getAvailableThemes, hasSufficientHistory, listScenarios, loadHistory, mergeStepResults, msToNanoseconds, nanosecondsToMs, normalizeJestResults, normalizePlaywrightResults, normalizeStatus, normalizeVitestResults, parseEnvelopes, parseNdjson, readBranchName, readGitSha, readPackageVersion, resolveAttachment, resolveAttachments, resolveTheme, resolveTraceUrl, saveHistory, sendNotifications, sendSlackNotification, sendTeamsNotification, sendWebhookNotification, signBody, slugify, stripAnsi, tryGetActiveOtelContext, updateHistory, validateCanonicalRun };
2256
+ export { type Attachment, type BundleOptions, type BundleResult, type CIInfo, CIProvider, type CanonicalizeOptions, type ColocatedStyle, type CompareFormat, type CompareFormatterOptions, type CoverageSummary, CucumberHtmlFormatter, type CucumberHtmlOptions, CucumberJsonFormatter, type CucumberJsonOptions, CucumberMessagesFormatter, type CucumberMessagesOptions, DocEntry, type FlakinessLevel, type FormatterOptions, type GenerateArgs, type GenerateCompareResult, type GenerateDeps, type GenerateResult, type GenericWebhookNotifierOptions, type HistoryEntry, type HistoryStore, HtmlFormatter, type HtmlOptions, type HtmlTheme, type HtmlThemeName, type IJsonDataTable, type IJsonDocString, type IJsonEmbedding, type IJsonFeature, type IJsonScenario, type IJsonStep, type IJsonStepArgument, type IJsonStepResult, type IJsonTableRow, type IJsonTag, JUnitFormatter, type JUnitOptions, type ListScenariosArgs, type ListScenariosDeps, type Logger, MIN_FLAKINESS_SAMPLES, MIN_METRIC_SAMPLES, MIN_PERF_SAMPLES, MarkdownFormatter, type MarkdownFormatterOptions, type MarkdownOptions, type MarkdownRenderers, NormalizedTicket, type NotificationSummary, type NotifyCondition, OtelSpan, type OtelTraceContext, type OutputConfig, type OutputFormat, type OutputMode, type OutputRule, type PerformanceTrend, RawAttachment, RawCIInfo, RawRun, RawStatus, ReportGenerator, type ResolvedFormatterOptions, RunDiffHtmlFormatter, type RunDiffHtmlOptions, RunDiffMarkdownFormatter, type RunDiffMarkdownOptions, type RunDiffResult, type RunDiffSummary, type ScenarioChangeFlags, type ScenarioChangeKind, type ScenarioDiff, type ScenarioSnapshot, type SortTestCasesMode, type StabilityGrade, type StepResult, StoryMeta, StoryStep, type TestCaseAttempt, type TestCaseResult, type TestHistory, type TestMetrics, type TestRunResult, type TestStatus, CIInfo$1 as TypedCIInfo, type ValidationResult, type WebhookPayload, type WebhookSignerHmac, type WriteFile, adaptJestRun, adaptPlaywrightRun, adaptVitestRun, assertValidRun, bundleAssets, calculateFlakiness, calculateStability, canonicalizeRun, clearVersionCache, computeTestMetrics, createPrCommentSummary, createReportGenerator, deriveStepResults, detectCI, detectPerformanceTrend, diffRuns, findGitDir, formatDuration, generateRunComparison, generateRunId, generateTestCaseId, getAvailableThemes, hasSufficientHistory, listScenarios, loadHistory, mergeStepResults, msToNanoseconds, nanosecondsToMs, normalizeJestResults, normalizePlaywrightResults, normalizeStatus, normalizeVitestResults, parseEnvelopes, parseNdjson, readBranchName, readGitSha, readPackageVersion, resolveAttachment, resolveAttachments, resolveTheme, resolveTraceUrl, saveHistory, sendNotifications, sendSlackNotification, sendTeamsNotification, sendWebhookNotification, signBody, slugify, stripAnsi, tryGetActiveOtelContext, updateHistory, validateCanonicalRun };
package/dist/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
- import { S as StoryMeta, C as CIInfo$1, a as StoryStep, D as DocEntry, O as OtelSpan, b as CIProvider, R as RawStatus, c as RawAttachment, d as RawRun, e as RawCIInfo, f as adaptJestRun, g as adaptPlaywrightRun, h as adaptVitestRun } from './index-BndkylIV.js';
2
- export { i as DocPhase, J as JestAdapterOptions, j as JestAggregatedResult, k as JestFileResult, l as JestTestResult, m as OtelAttributeValue, P as PlaywrightAdapterOptions, n as PlaywrightAnnotation, o as PlaywrightAttachment, p as PlaywrightError, q as PlaywrightLocation, r as PlaywrightStatus, s as PlaywrightTestCase, t as PlaywrightTestResult, u as RawStepEvent, v as RawTestCase, w as STORY_META_KEY, x as StepKeyword, y as StepMode, z as StoryFileReport, V as VitestAdapterOptions, A as VitestSerializedError, B as VitestState, E as VitestTestCase, F as VitestTestModule, G as VitestTestResult, H as toCIInfo, I as toRawCIInfo } from './index-BndkylIV.js';
1
+ import { S as StoryMeta, C as CIInfo$1, a as StoryStep, D as DocEntry, N as NormalizedTicket, O as OtelSpan, b as CIProvider, R as RawStatus, c as RawAttachment, d as RawRun, e as RawCIInfo, f as adaptJestRun, g as adaptPlaywrightRun, h as adaptVitestRun } from './index-C0OOaaiK.js';
2
+ export { i as DocPhase, J as JestAdapterOptions, j as JestAggregatedResult, k as JestFileResult, l as JestTestResult, m as OtelAttributeValue, P as PlaywrightAdapterOptions, n as PlaywrightAnnotation, o as PlaywrightAttachment, p as PlaywrightError, q as PlaywrightLocation, r as PlaywrightStatus, s as PlaywrightTestCase, t as PlaywrightTestResult, u as RawStepEvent, v as RawTestCase, w as STORY_META_KEY, x as StepKeyword, y as StepMode, z as StoryFileReport, V as VitestAdapterOptions, A as VitestSerializedError, B as VitestState, E as VitestTestCase, F as VitestTestModule, G as VitestTestResult, H as toCIInfo, I as toRawCIInfo } from './index-C0OOaaiK.js';
3
3
 
4
4
  /**
5
5
  * Canonical types for Layer 2: Anti-Corruption Layer output.
@@ -286,6 +286,8 @@ interface FormatterOptions {
286
286
  markdownEnabled?: boolean;
287
287
  /** Base URL for source permalinks. E.g., "https://github.com/user/repo/blob/main" */
288
288
  permalinkBaseUrl?: string;
289
+ /** URL template for ticket links. Use {ticket} as placeholder. E.g., "https://jira.example.com/browse/{ticket}" */
290
+ ticketUrlTemplate?: string;
289
291
  /** Theme name. Default: "default". Available: default, corporate, terminal, minimal, dashboard, playful */
290
292
  theme?: string;
291
293
  };
@@ -334,6 +336,10 @@ interface FormatterOptions {
334
336
  /** Generic webhook configurations */
335
337
  webhooks?: GenericWebhookNotifierOptions[];
336
338
  };
339
+ /** Asset bundling mode. "none" = no asset copying, "copy" = copy referenced assets next to HTML. Default: "none" */
340
+ assetMode?: "none" | "copy";
341
+ /** When true, warn on missing assets instead of throwing. Default: false */
342
+ allowMissingAssets?: boolean;
337
343
  /** Logger for warnings and info. Default: console */
338
344
  logger?: Logger;
339
345
  /** File writer function. Default: fs.promises.writeFile */
@@ -425,6 +431,7 @@ interface ResolvedFormatterOptions {
425
431
  mermaidEnabled: boolean;
426
432
  markdownEnabled: boolean;
427
433
  permalinkBaseUrl?: string;
434
+ ticketUrlTemplate?: string;
428
435
  theme: string;
429
436
  };
430
437
  junit: {
@@ -449,6 +456,8 @@ interface ResolvedFormatterOptions {
449
456
  includeSourceLinks: boolean;
450
457
  customRenderers?: MarkdownRenderers;
451
458
  };
459
+ assetMode: "none" | "copy";
460
+ allowMissingAssets: boolean;
452
461
  }
453
462
 
454
463
  type ScenarioChangeKind = "added" | "removed" | "regressed" | "fixed" | "changed" | "unchanged";
@@ -475,7 +484,7 @@ interface ScenarioSnapshot {
475
484
  titlePath: string[];
476
485
  steps: StoryStep[];
477
486
  docs: DocEntry[];
478
- tickets: string[];
487
+ tickets: NormalizedTicket[];
479
488
  attachments: Attachment[];
480
489
  errorMessage?: string;
481
490
  }
@@ -722,6 +731,7 @@ interface RenderScenarioDeps {
722
731
  renderTraceView: (args: RenderTraceViewArgs, deps: RenderTraceViewDeps) => string;
723
732
  embedScreenshots: boolean;
724
733
  permalinkBaseUrl?: string;
734
+ ticketUrlTemplate?: string;
725
735
  }
726
736
 
727
737
  interface RenderFeatureArgs {
@@ -1159,6 +1169,8 @@ interface HtmlOptions {
1159
1169
  markdownEnabled?: boolean;
1160
1170
  /** Base URL for source permalinks. E.g., "https://github.com/user/repo/blob/main" */
1161
1171
  permalinkBaseUrl?: string;
1172
+ /** URL template for ticket links. Use {ticket} as placeholder. E.g., "https://jira.example.com/browse/{ticket}" */
1173
+ ticketUrlTemplate?: string;
1162
1174
  /** Theme name or custom theme object. Default: "default" */
1163
1175
  theme?: string | HtmlTheme;
1164
1176
  }
@@ -2122,6 +2134,24 @@ declare function createPrCommentSummary(diff: RunDiffResult, maxScenarios?: numb
2122
2134
 
2123
2135
  declare function diffRuns(baseline: TestRunResult, current: TestRunResult): RunDiffResult;
2124
2136
 
2137
+ interface BundleOptions {
2138
+ /** If true, warn about missing assets instead of throwing. Default: false. */
2139
+ allowMissing?: boolean;
2140
+ }
2141
+ interface BundleResult {
2142
+ /** Number of assets successfully copied */
2143
+ copiedCount: number;
2144
+ /** Number of missing assets */
2145
+ missingCount: number;
2146
+ /** Paths of missing assets (original references) */
2147
+ missing: string[];
2148
+ }
2149
+ /**
2150
+ * Post-process an HTML report file: copy referenced local assets into
2151
+ * an `assets/` directory beside it and rewrite paths in the HTML.
2152
+ */
2153
+ declare function bundleAssets(htmlPath: string, options?: BundleOptions): BundleResult;
2154
+
2125
2155
  /**
2126
2156
  * @executable-stories/formatters
2127
2157
  *
@@ -2223,4 +2253,4 @@ declare function normalizeVitestResults(testModules: Parameters<typeof adaptVite
2223
2253
  */
2224
2254
  declare function normalizePlaywrightResults(testResults: Parameters<typeof adaptPlaywrightRun>[0], adapterOptions?: Parameters<typeof adaptPlaywrightRun>[1], canonicalizeOptions?: CanonicalizeOptions): TestRunResult;
2225
2255
 
2226
- export { type Attachment, type CIInfo, CIProvider, type CanonicalizeOptions, type ColocatedStyle, type CompareFormat, type CompareFormatterOptions, type CoverageSummary, CucumberHtmlFormatter, type CucumberHtmlOptions, CucumberJsonFormatter, type CucumberJsonOptions, CucumberMessagesFormatter, type CucumberMessagesOptions, DocEntry, type FlakinessLevel, type FormatterOptions, type GenerateArgs, type GenerateCompareResult, type GenerateDeps, type GenerateResult, type GenericWebhookNotifierOptions, type HistoryEntry, type HistoryStore, HtmlFormatter, type HtmlOptions, type HtmlTheme, type HtmlThemeName, type IJsonDataTable, type IJsonDocString, type IJsonEmbedding, type IJsonFeature, type IJsonScenario, type IJsonStep, type IJsonStepArgument, type IJsonStepResult, type IJsonTableRow, type IJsonTag, JUnitFormatter, type JUnitOptions, type ListScenariosArgs, type ListScenariosDeps, type Logger, MIN_FLAKINESS_SAMPLES, MIN_METRIC_SAMPLES, MIN_PERF_SAMPLES, MarkdownFormatter, type MarkdownFormatterOptions, type MarkdownOptions, type MarkdownRenderers, type NotificationSummary, type NotifyCondition, OtelSpan, type OtelTraceContext, type OutputConfig, type OutputFormat, type OutputMode, type OutputRule, type PerformanceTrend, RawAttachment, RawCIInfo, RawRun, RawStatus, ReportGenerator, type ResolvedFormatterOptions, RunDiffHtmlFormatter, type RunDiffHtmlOptions, RunDiffMarkdownFormatter, type RunDiffMarkdownOptions, type RunDiffResult, type RunDiffSummary, type ScenarioChangeFlags, type ScenarioChangeKind, type ScenarioDiff, type ScenarioSnapshot, type SortTestCasesMode, type StabilityGrade, type StepResult, StoryMeta, StoryStep, type TestCaseAttempt, type TestCaseResult, type TestHistory, type TestMetrics, type TestRunResult, type TestStatus, CIInfo$1 as TypedCIInfo, type ValidationResult, type WebhookPayload, type WebhookSignerHmac, type WriteFile, adaptJestRun, adaptPlaywrightRun, adaptVitestRun, assertValidRun, calculateFlakiness, calculateStability, canonicalizeRun, clearVersionCache, computeTestMetrics, createPrCommentSummary, createReportGenerator, deriveStepResults, detectCI, detectPerformanceTrend, diffRuns, findGitDir, formatDuration, generateRunComparison, generateRunId, generateTestCaseId, getAvailableThemes, hasSufficientHistory, listScenarios, loadHistory, mergeStepResults, msToNanoseconds, nanosecondsToMs, normalizeJestResults, normalizePlaywrightResults, normalizeStatus, normalizeVitestResults, parseEnvelopes, parseNdjson, readBranchName, readGitSha, readPackageVersion, resolveAttachment, resolveAttachments, resolveTheme, resolveTraceUrl, saveHistory, sendNotifications, sendSlackNotification, sendTeamsNotification, sendWebhookNotification, signBody, slugify, stripAnsi, tryGetActiveOtelContext, updateHistory, validateCanonicalRun };
2256
+ export { type Attachment, type BundleOptions, type BundleResult, type CIInfo, CIProvider, type CanonicalizeOptions, type ColocatedStyle, type CompareFormat, type CompareFormatterOptions, type CoverageSummary, CucumberHtmlFormatter, type CucumberHtmlOptions, CucumberJsonFormatter, type CucumberJsonOptions, CucumberMessagesFormatter, type CucumberMessagesOptions, DocEntry, type FlakinessLevel, type FormatterOptions, type GenerateArgs, type GenerateCompareResult, type GenerateDeps, type GenerateResult, type GenericWebhookNotifierOptions, type HistoryEntry, type HistoryStore, HtmlFormatter, type HtmlOptions, type HtmlTheme, type HtmlThemeName, type IJsonDataTable, type IJsonDocString, type IJsonEmbedding, type IJsonFeature, type IJsonScenario, type IJsonStep, type IJsonStepArgument, type IJsonStepResult, type IJsonTableRow, type IJsonTag, JUnitFormatter, type JUnitOptions, type ListScenariosArgs, type ListScenariosDeps, type Logger, MIN_FLAKINESS_SAMPLES, MIN_METRIC_SAMPLES, MIN_PERF_SAMPLES, MarkdownFormatter, type MarkdownFormatterOptions, type MarkdownOptions, type MarkdownRenderers, NormalizedTicket, type NotificationSummary, type NotifyCondition, OtelSpan, type OtelTraceContext, type OutputConfig, type OutputFormat, type OutputMode, type OutputRule, type PerformanceTrend, RawAttachment, RawCIInfo, RawRun, RawStatus, ReportGenerator, type ResolvedFormatterOptions, RunDiffHtmlFormatter, type RunDiffHtmlOptions, RunDiffMarkdownFormatter, type RunDiffMarkdownOptions, type RunDiffResult, type RunDiffSummary, type ScenarioChangeFlags, type ScenarioChangeKind, type ScenarioDiff, type ScenarioSnapshot, type SortTestCasesMode, type StabilityGrade, type StepResult, StoryMeta, StoryStep, type TestCaseAttempt, type TestCaseResult, type TestHistory, type TestMetrics, type TestRunResult, type TestStatus, CIInfo$1 as TypedCIInfo, type ValidationResult, type WebhookPayload, type WebhookSignerHmac, type WriteFile, adaptJestRun, adaptPlaywrightRun, adaptVitestRun, assertValidRun, bundleAssets, calculateFlakiness, calculateStability, canonicalizeRun, clearVersionCache, computeTestMetrics, createPrCommentSummary, createReportGenerator, deriveStepResults, detectCI, detectPerformanceTrend, diffRuns, findGitDir, formatDuration, generateRunComparison, generateRunId, generateTestCaseId, getAvailableThemes, hasSufficientHistory, listScenarios, loadHistory, mergeStepResults, msToNanoseconds, nanosecondsToMs, normalizeJestResults, normalizePlaywrightResults, normalizeStatus, normalizeVitestResults, parseEnvelopes, parseNdjson, readBranchName, readGitSha, readPackageVersion, resolveAttachment, resolveAttachments, resolveTheme, resolveTraceUrl, saveHistory, sendNotifications, sendSlackNotification, sendTeamsNotification, sendWebhookNotification, signBody, slugify, stripAnsi, tryGetActiveOtelContext, updateHistory, validateCanonicalRun };