@xpert-ai/contracts 3.33.0 → 3.34.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 (51) hide show
  1. package/index.cjs.js +79 -61
  2. package/index.esm.js +75 -62
  3. package/package.json +2 -2
  4. package/src/ai/ai.model.d.ts +1 -1
  5. package/src/ai/chat-group-entity.model.d.ts +1 -1
  6. package/src/ai/chat-group.model.d.ts +116 -3
  7. package/src/ai/evolution/baseline.d.ts +12 -0
  8. package/src/ai/evolution/candidate.d.ts +20 -0
  9. package/src/ai/evolution/capability-version.d.ts +12 -0
  10. package/src/ai/evolution/change.d.ts +40 -2
  11. package/src/ai/evolution/evaluation.d.ts +26 -0
  12. package/src/ai/evolution/example.d.ts +5 -0
  13. package/src/ai/evolution/experience.d.ts +3 -0
  14. package/src/ai/evolution/governance.d.ts +29 -3
  15. package/src/ai/evolution/index.d.ts +1 -0
  16. package/src/ai/evolution/learning-event.d.ts +13 -0
  17. package/src/ai/evolution/learning-review.d.ts +61 -0
  18. package/src/ai/evolution/persistence.d.ts +7 -2
  19. package/src/ai/evolution/provider.d.ts +38 -0
  20. package/src/ai/evolution/release.d.ts +24 -6
  21. package/src/ai/evolution/runtime.d.ts +19 -0
  22. package/src/ai/evolution/strategy.d.ts +10 -0
  23. package/src/ai/evolution/target.d.ts +34 -6
  24. package/src/ai/execution-control-evidence.schema.d.ts +42 -0
  25. package/src/ai/index.d.ts +2 -0
  26. package/src/ai/project-pipeline/analytics.d.ts +5 -33
  27. package/src/ai/project-pipeline/model-usage-statistics.d.ts +4 -24
  28. package/src/ai/project-pipeline/operation.schema.d.ts +330 -0
  29. package/src/ai/project-pipeline/portfolio.schema.d.ts +14 -86
  30. package/src/ai/project-pipeline/statistics.d.ts +5 -33
  31. package/src/ai/xpert-agent-execution.model.d.ts +16 -2
  32. package/src/ai/xpert.model.d.ts +2 -0
  33. package/src/app-platform.d.ts +36 -36
  34. package/src/artifact-group-reference.model.d.ts +71 -0
  35. package/src/artifact-use-grant-command.d.ts +54 -0
  36. package/src/artifact-use-grant.model.d.ts +62 -0
  37. package/src/content-resource.model.d.ts +3 -0
  38. package/src/conversation-resource.model.d.ts +63 -0
  39. package/src/desktop-shell.model.d.ts +13 -1
  40. package/src/icon-definition.schema.d.ts +24 -0
  41. package/src/index.d.ts +6 -0
  42. package/src/plugin-management.d.ts +28 -0
  43. package/src/plugin.d.ts +7 -0
  44. package/src/resource-analysis.model.d.ts +140 -0
  45. package/src/runtime-control.d.ts +6 -0
  46. package/src/types.d.ts +1 -2
  47. package/src/user.model.d.ts +11 -0
  48. package/src/view-extension/client-commands.d.ts +176 -0
  49. package/src/view-extension/index.d.ts +1 -0
  50. package/src/view-extension/model.d.ts +2 -158
  51. package/src/view-extension/workbench-open.d.ts +17 -2
@@ -1,6 +1,7 @@
1
1
  import { LearningEvent, LearningEventInput } from './learning-event';
2
2
  import { CapabilityVersion, CapabilityVersionBundle } from './capability-version';
3
3
  import { EvolutionChannel, EvolutionExecutionMode, EvolutionScope } from './target';
4
+ /** Outcome of one target decision, attributable to the execution, version bundle and channel that produced it. */
4
5
  export interface EvolutionRuntimeObservationInput {
5
6
  observationId?: string;
6
7
  targetId: string;
@@ -10,6 +11,8 @@ export interface EvolutionRuntimeObservationInput {
10
11
  deploymentId?: string;
11
12
  subjectKey: string;
12
13
  channel: EvolutionChannel;
14
+ /** Production baseline outcome on the same input. Omit when unknown; false means an observed failure. */
15
+ baselineSuccess?: boolean;
13
16
  success: boolean;
14
17
  severeError: boolean;
15
18
  latencyMs: number;
@@ -17,26 +20,32 @@ export interface EvolutionRuntimeObservationInput {
17
20
  correctionRequired?: boolean;
18
21
  observedAt: string;
19
22
  }
23
+ /** Recorded decision outcome; creation time is distinct from the time the outcome was observed. */
20
24
  export interface EvolutionRuntimeObservation extends EvolutionRuntimeObservationInput {
21
25
  observationId: string;
22
26
  createdAt: string;
23
27
  }
28
+ /** Selects versions for one execution in its trusted tenant and resource scope. */
24
29
  export interface ResolveCapabilityExecutionPlanRequest {
25
30
  tenantId: string;
26
31
  organizationId?: string | null;
27
32
  scope: EvolutionScope;
28
33
  targetIds: string[];
34
+ /** Stable cohort identity within a deployment; distinct from the ID of an individual execution. */
29
35
  subjectKey: string;
30
36
  executionId: string;
31
37
  }
38
+ /** Version and channel selected for one target; a deployment ID attributes the assignment to a rollout. */
32
39
  export interface CapabilityExecutionAssignment {
33
40
  targetId: string;
34
41
  channel: EvolutionChannel;
35
42
  versionId: string;
36
43
  deploymentId?: string;
44
+ /** Present for an explicit test assignment, distinct from ordinary canary allocation. */
37
45
  selectionReason?: 'manual_test_override';
38
46
  manualTestOverrideId?: string;
39
47
  }
48
+ /** Audit record binding a consumed single-use canary assignment to its target and deployment. */
40
49
  export interface CapabilityExecutionManualTestOverride {
41
50
  overrideId: string;
42
51
  releasePackageId: string;
@@ -44,35 +53,45 @@ export interface CapabilityExecutionManualTestOverride {
44
53
  targetId: string;
45
54
  consumedAt: string;
46
55
  }
56
+ /** Pins the versions for one execution. Only the primary assignments determine the served decision. */
47
57
  export interface CapabilityExecutionPlan {
48
58
  executionId: string;
59
+ /** Mode of the overall plan; a particular target's channel is given by its own assignment. */
49
60
  executionMode: EvolutionExecutionMode;
50
61
  subjectKey: string;
62
+ /** Version bindings for the primary assignments, including any selected canary versions. */
51
63
  bundle: CapabilityVersionBundle;
52
64
  assignments: CapabilityExecutionAssignment[];
53
65
  /** Explicit audit marker; never present for normal deterministic Canary routing. */
54
66
  manualTestOverrides?: CapabilityExecutionManualTestOverride[];
67
+ /** Separate bindings for observation only; shadow results must not change the served decision. */
55
68
  shadowBundle?: CapabilityVersionBundle;
56
69
  shadowAssignments?: CapabilityExecutionAssignment[];
57
70
  resolvedAt: string;
58
71
  }
72
+ /** Plugin-facing contract for scoped evidence, runtime version resolution and observed outcomes. */
59
73
  export interface EvolutionRuntimeApi {
74
+ /** Records evidence under its idempotency key; accepting evidence does not change the active version. */
60
75
  ingestLearningEvent(input: {
61
76
  tenantId: string;
62
77
  organizationId?: string | null;
63
78
  event: LearningEventInput;
64
79
  }): Promise<LearningEvent>;
80
+ /** Resolves the primary and optional shadow bindings for the specified execution. */
65
81
  resolveExecutionPlan(request: ResolveCapabilityExecutionPlanRequest): Promise<CapabilityExecutionPlan>;
82
+ /** Returns the recorded bindings by bundle ID, independent of later pointer changes. */
66
83
  getCapabilityBundle(input: {
67
84
  tenantId: string;
68
85
  organizationId?: string | null;
69
86
  bundleId: string;
70
87
  }): Promise<CapabilityVersionBundle>;
88
+ /** Returns the immutable version and artifact reference identified by version ID within the supplied identity. */
71
89
  getCapabilityVersion(input: {
72
90
  tenantId: string;
73
91
  organizationId?: string | null;
74
92
  versionId: string;
75
93
  }): Promise<CapabilityVersion>;
94
+ /** Attributes an observed outcome to the execution and bundle that produced it. */
76
95
  recordRuntimeObservation(input: {
77
96
  tenantId: string;
78
97
  organizationId?: string | null;
@@ -1,10 +1,15 @@
1
1
  import type { I18nText } from '../../i18n.model';
2
2
  import type { EvolutionEvidenceRef } from './change';
3
3
  import type { EvolutionRiskLevel } from './target';
4
+ /** Origin of a change request; it does not by itself choose the evaluation or publication path. */
4
5
  export type EvolutionInputKind = 'learning_events' | 'business_evidence' | 'manual';
6
+ /** Distinct governance stages, including whether a published change has taken effect. */
5
7
  export type EvolutionStageKey = 'learning' | 'candidate' | 'evaluation' | 'approval' | 'publication' | 'effect';
8
+ /** Progress of a stage; not_applicable is distinct from a stage that ran and passed. */
6
9
  export type EvolutionStageStatus = 'pending' | 'running' | 'passed' | 'failed' | 'not_applicable';
10
+ /** Named assessment of the candidate; required checks specify the evidence needed for coverage. */
7
11
  export interface EvolutionEvaluationStep {
12
+ /** Stable identity within the strategy, including for dataset bindings. */
8
13
  key: string;
9
14
  kind: 'target_checks' | 'golden_replay';
10
15
  requiredChecks: Array<{
@@ -19,6 +24,7 @@ export interface EvolutionStrategy {
19
24
  version: string;
20
25
  label: I18nText;
21
26
  inputs: EvolutionInputKind[];
27
+ /** Evidence eligibility requirements, distinct from whether an evaluation is required. */
22
28
  learning: {
23
29
  mode: 'none';
24
30
  } | {
@@ -34,18 +40,22 @@ export interface EvolutionStrategy {
34
40
  };
35
41
  evaluations: EvolutionEvaluationStep[];
36
42
  approval: 'human';
43
+ /** Distinguishes how a version is published from how it takes effect: by activation or by explicit adoption. */
37
44
  publication: {
38
45
  mode: 'staged_rollout' | 'version_write';
39
46
  effect: 'activation' | 'explicit_adoption';
40
47
  };
41
48
  }
49
+ /** Strategy, provider version and risk level frozen for a particular change. */
42
50
  export interface EvolutionStrategySnapshot {
43
51
  definition: EvolutionStrategy;
44
52
  riskLevel: EvolutionRiskLevel;
53
+ /** Fingerprint of the frozen strategy snapshot used to bind evaluations and approvals. */
45
54
  hash: string;
46
55
  providerKey: string;
47
56
  providerVersion: string;
48
57
  }
58
+ /** Outcome of a strategy stage with references to any runs supporting that outcome. */
49
59
  export interface EvolutionStageRecord {
50
60
  key: EvolutionStageKey;
51
61
  status: EvolutionStageStatus;
@@ -1,32 +1,42 @@
1
1
  import type { I18nText } from '../../i18n.model';
2
+ /** Provider-defined family of targets; the target ID identifies a particular target. */
2
3
  export type EvolutionTargetType = string;
4
+ /** Resource boundary within which a target's versions may take effect. */
3
5
  export type EvolutionScopeType = 'tenant' | 'organization' | 'workspace' | 'project';
6
+ /** Distinguishes offline replay from executions serving or observing live decisions. */
4
7
  export type EvolutionExecutionMode = 'production' | 'replay' | 'shadow' | 'canary';
8
+ /** Role of a deployed version: normal traffic, a served canary cohort, or observation only. */
5
9
  export type EvolutionChannel = 'production' | 'shadow' | 'canary';
10
+ /** Governance risk tier of a target or change, independent of its measured accuracy. */
6
11
  export type EvolutionRiskLevel = 'R1' | 'R2' | 'R3' | 'R4';
7
- /** Provider-owned scope dimensions; the platform compares the complete frozen map. */
12
+ /** Additional provider-defined dimensions of scope identity; equality includes the complete map. */
8
13
  export interface EvolutionScopeDimensions {
9
14
  [key: string]: string | undefined;
10
15
  }
16
+ /** Identifies the resource boundary to which evidence, candidates and version assignments belong. */
11
17
  export interface EvolutionScope {
12
18
  type: EvolutionScopeType;
13
19
  key: string;
14
20
  dimensions?: EvolutionScopeDimensions;
15
21
  }
22
+ /** Identity responsible for an operation; an audit attribution, not a permission grant. */
16
23
  export interface EvolutionActor {
17
24
  actorId: string;
18
25
  actorType: 'human' | 'agent' | 'system';
19
26
  actorRole?: string;
20
27
  }
28
+ /** Identity and resource scope of a provider operation. Domain input must not override this context. */
21
29
  export interface EvolutionProviderContext {
22
30
  tenantId: string;
23
31
  organizationId?: string | null;
24
32
  targetId: string;
25
33
  scope: EvolutionScope;
34
+ /** Groups related work for tracing even when no Agent execution is involved. */
26
35
  correlationId: string;
27
36
  executionId?: string;
28
37
  actor: EvolutionActor;
29
38
  }
39
+ /** Declares which evolution operations a target supports; support does not authorize an actor to perform them. */
30
40
  export interface EvolutionTargetCapabilities {
31
41
  candidateBuild: boolean;
32
42
  replay: boolean;
@@ -35,7 +45,9 @@ export interface EvolutionTargetCapabilities {
35
45
  install: boolean;
36
46
  rollback: boolean;
37
47
  }
48
+ /** Value category of a provider-defined change field; a select value is an option key. */
38
49
  export type EvolutionCandidateChangeFieldType = 'string' | 'number' | 'boolean' | 'string_array' | 'select';
50
+ /** Names and constrains one entry in the target's change set; its key has provider-defined meaning. */
39
51
  export interface EvolutionCandidateChangeFieldDescriptor {
40
52
  key: string;
41
53
  label: I18nText;
@@ -49,38 +61,54 @@ export interface EvolutionCandidateChangeFieldDescriptor {
49
61
  value: string;
50
62
  }>;
51
63
  }
52
- /**
53
- * Optional, provider-owned description used by the platform to render a
54
- * domain-neutral Candidate Change Set editor. The platform never interprets
55
- * the field keys or embeds domain rules of its own.
56
- */
64
+ /** Provider-owned description of candidate inputs. The provider owns the meaning and validation of the field keys. */
57
65
  export interface EvolutionCandidateFormDescriptor {
58
66
  description?: I18nText;
59
67
  fields: EvolutionCandidateChangeFieldDescriptor[];
60
68
  }
69
+ /** Declares a target's identity, compatible artifact format and supported evolution strategies. */
61
70
  export interface EvolutionTargetDescriptor {
62
71
  strategies: import('./strategy').EvolutionStrategy[];
63
72
  category?: {
64
73
  key: string;
65
74
  label: I18nText;
66
75
  };
76
+ /** Stable identity shared by the target's evidence, versions and releases. */
67
77
  targetId: string;
68
78
  targetType: EvolutionTargetType;
69
79
  displayName: string;
80
+ /** Provider-owned localized name of the same registered capability. */
81
+ label?: I18nText;
82
+ /** Registration key of the implementation responsible for this target. */
70
83
  providerKey: string;
84
+ /** Version of the provider implementation, independent of any capability version it produces. */
71
85
  providerVersion: string;
86
+ /** Version of the artifact format declared by the provider. */
72
87
  artifactSchemaVersion: string;
73
88
  supportedScopes: EvolutionScopeType[];
74
89
  riskLevel: EvolutionRiskLevel;
75
90
  metricSetId: string;
76
91
  relatedTargetIds?: string[];
92
+ /** Provider vocabulary for feedback emitted by this target, including previously recorded events. */
93
+ feedbackVocabulary?: {
94
+ /** Stable reason codes that denote a correction to a prediction. */
95
+ correctionReasons: string[];
96
+ /** Localized labels for exact scalar prediction and outcome values. */
97
+ values?: Record<string, I18nText>;
98
+ /** Localized labels for provider-owned reason codes. */
99
+ reasons?: Record<string, I18nText>;
100
+ };
77
101
  candidateForm?: EvolutionCandidateFormDescriptor;
78
102
  capabilities: EvolutionTargetCapabilities;
79
103
  status: 'active' | 'disabled' | 'provider_unavailable';
80
104
  }
105
+ /** Identifies a provider-defined artifact by its content and schema, independent of how it is stored. */
81
106
  export interface EvolutionArtifactRef {
107
+ /** Provider-defined content location or inline representation. */
82
108
  uri: string;
109
+ /** Identity of the artifact content; a different payload must not be substituted under the same hash. */
83
110
  hash: string;
111
+ /** Format of this payload, independent of the provider and capability versions. */
84
112
  schemaVersion: string;
85
113
  mediaType: 'application/json';
86
114
  }
@@ -247,6 +247,48 @@ export declare const executionControlEvidenceSchema: z.ZodDiscriminatedUnion<"so
247
247
  version: 1;
248
248
  generation: string;
249
249
  } | undefined;
250
+ }>, z.ZodObject<{
251
+ source: z.ZodLiteral<"native_graph">;
252
+ subject: z.ZodObject<{
253
+ kind: z.ZodLiteral<"invocation">;
254
+ id: z.ZodString;
255
+ }, "strict", z.ZodTypeAny, {
256
+ kind: "invocation";
257
+ id: string;
258
+ }, {
259
+ kind: "invocation";
260
+ id: string;
261
+ }>;
262
+ scope: z.ZodLiteral<"operation">;
263
+ state: z.ZodLiteral<"settled">;
264
+ outcome: z.ZodLiteral<"cancelled">;
265
+ executionId: z.ZodString;
266
+ version: z.ZodLiteral<1>;
267
+ observedAt: z.ZodString;
268
+ }, "strict", z.ZodTypeAny, {
269
+ subject: {
270
+ kind: "invocation";
271
+ id: string;
272
+ };
273
+ outcome: "cancelled";
274
+ source: "native_graph";
275
+ version: 1;
276
+ scope: "operation";
277
+ state: "settled";
278
+ observedAt: string;
279
+ executionId: string;
280
+ }, {
281
+ subject: {
282
+ kind: "invocation";
283
+ id: string;
284
+ };
285
+ outcome: "cancelled";
286
+ source: "native_graph";
287
+ version: 1;
288
+ scope: "operation";
289
+ state: "settled";
290
+ observedAt: string;
291
+ executionId: string;
250
292
  }>, z.ZodObject<{
251
293
  source: z.ZodLiteral<"host_admission">;
252
294
  subject: z.ZodObject<{
package/src/ai/index.d.ts CHANGED
@@ -22,6 +22,7 @@ export { createResourceCardContent, isResourceCardContent, parseResourceCard, pa
22
22
  export type { ConversationResourceCard, ResourceCardImage, ResourceCardOpenTarget, ResourceCardScalar, TMessageContentResourceCard } from './resource-card';
23
23
  export * from './thread-goal.model';
24
24
  export * from './chat.model';
25
+ export type { IChatConversationUnreadXpertSummary } from './chat-activity.model';
25
26
  export * from './chat-recovery.model';
26
27
  export * from './chat-message.model';
27
28
  export * from './chat-task-summary.model';
@@ -113,6 +114,7 @@ export * from './assistant-task-context.model';
113
114
  export * from './project-task-runtime.model';
114
115
  export * from './project-pipeline';
115
116
  export * from './realtime-voice.model';
117
+ export type { VoiceServerControl } from './realtime-voice.transport';
116
118
  export * from './chat-group.model';
117
119
  export * from './chat-group-entity.model';
118
120
  export * from './conversation-entry.model';
@@ -732,19 +732,7 @@ export declare const projectPipelineAnalyticsSchema: z.ZodObject<{
732
732
  outputTokens: z.ZodNullable<z.ZodNumber>;
733
733
  totalTokens: z.ZodNullable<z.ZodNumber>;
734
734
  unpricedCalls: z.ZodNumber;
735
- costs: z.ZodArray<z.ZodObject<{
736
- currency: z.ZodString;
737
- amount: z.ZodNumber;
738
- calls: z.ZodNumber;
739
- }, "strict", z.ZodTypeAny, {
740
- calls: number;
741
- currency: string;
742
- amount: number;
743
- }, {
744
- calls: number;
745
- currency: string;
746
- amount: number;
747
- }>, "many">;
735
+ chargedPoints: z.ZodNullable<z.ZodNumber>;
748
736
  byModel: z.ZodArray<z.ZodObject<{
749
737
  provider: z.ZodString;
750
738
  model: z.ZodString;
@@ -778,11 +766,7 @@ export declare const projectPipelineAnalyticsSchema: z.ZodObject<{
778
766
  outputTokens: number | null;
779
767
  totalTokens: number | null;
780
768
  unpricedCalls: number;
781
- costs: {
782
- calls: number;
783
- currency: string;
784
- amount: number;
785
- }[];
769
+ chargedPoints: number | null;
786
770
  byModel: {
787
771
  provider: string;
788
772
  calls: number;
@@ -802,11 +786,7 @@ export declare const projectPipelineAnalyticsSchema: z.ZodObject<{
802
786
  outputTokens: number | null;
803
787
  totalTokens: number | null;
804
788
  unpricedCalls: number;
805
- costs: {
806
- calls: number;
807
- currency: string;
808
- amount: number;
809
- }[];
789
+ chargedPoints: number | null;
810
790
  byModel: {
811
791
  provider: string;
812
792
  calls: number;
@@ -1340,11 +1320,7 @@ export declare const projectPipelineAnalyticsSchema: z.ZodObject<{
1340
1320
  outputTokens: number | null;
1341
1321
  totalTokens: number | null;
1342
1322
  unpricedCalls: number;
1343
- costs: {
1344
- calls: number;
1345
- currency: string;
1346
- amount: number;
1347
- }[];
1323
+ chargedPoints: number | null;
1348
1324
  byModel: {
1349
1325
  provider: string;
1350
1326
  calls: number;
@@ -1576,11 +1552,7 @@ export declare const projectPipelineAnalyticsSchema: z.ZodObject<{
1576
1552
  outputTokens: number | null;
1577
1553
  totalTokens: number | null;
1578
1554
  unpricedCalls: number;
1579
- costs: {
1580
- calls: number;
1581
- currency: string;
1582
- amount: number;
1583
- }[];
1555
+ chargedPoints: number | null;
1584
1556
  byModel: {
1585
1557
  provider: string;
1586
1558
  calls: number;
@@ -10,19 +10,7 @@ export declare const pipelineModelUsageStatisticsSchema: z.ZodObject<{
10
10
  outputTokens: z.ZodNullable<z.ZodNumber>;
11
11
  totalTokens: z.ZodNullable<z.ZodNumber>;
12
12
  unpricedCalls: z.ZodNumber;
13
- costs: z.ZodArray<z.ZodObject<{
14
- currency: z.ZodString;
15
- amount: z.ZodNumber;
16
- calls: z.ZodNumber;
17
- }, "strict", z.ZodTypeAny, {
18
- calls: number;
19
- currency: string;
20
- amount: number;
21
- }, {
22
- calls: number;
23
- currency: string;
24
- amount: number;
25
- }>, "many">;
13
+ chargedPoints: z.ZodNullable<z.ZodNumber>;
26
14
  byModel: z.ZodArray<z.ZodObject<{
27
15
  provider: z.ZodString;
28
16
  model: z.ZodString;
@@ -56,11 +44,7 @@ export declare const pipelineModelUsageStatisticsSchema: z.ZodObject<{
56
44
  outputTokens: number | null;
57
45
  totalTokens: number | null;
58
46
  unpricedCalls: number;
59
- costs: {
60
- calls: number;
61
- currency: string;
62
- amount: number;
63
- }[];
47
+ chargedPoints: number | null;
64
48
  byModel: {
65
49
  provider: string;
66
50
  calls: number;
@@ -80,11 +64,7 @@ export declare const pipelineModelUsageStatisticsSchema: z.ZodObject<{
80
64
  outputTokens: number | null;
81
65
  totalTokens: number | null;
82
66
  unpricedCalls: number;
83
- costs: {
84
- calls: number;
85
- currency: string;
86
- amount: number;
87
- }[];
67
+ chargedPoints: number | null;
88
68
  byModel: {
89
69
  provider: string;
90
70
  calls: number;
@@ -140,4 +120,4 @@ export declare const pipelineModelUsageFactSchema: z.ZodObject<{
140
120
  priceAmount: number | null;
141
121
  }>;
142
122
  export type PipelineModelUsageFact = z.output<typeof pipelineModelUsageFactSchema>;
143
- export declare function pipelineModelUsageStatistics(facts: readonly PipelineModelUsageFact[], coverage: Pick<PipelineModelUsageStatistics, 'requestedExecutions' | 'executionsWithRecords' | 'truncated' | 'rejectedRecords'>): PipelineModelUsageStatistics;
123
+ export declare function pipelineModelUsageStatistics(facts: readonly PipelineModelUsageFact[], coverage: Pick<PipelineModelUsageStatistics, 'requestedExecutions' | 'executionsWithRecords' | 'truncated' | 'rejectedRecords'>, chargedPoints?: number | null): PipelineModelUsageStatistics;