@proj-airi/trace-kit 0.0.0-stage → 0.15.2

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.
@@ -0,0 +1,782 @@
1
+ import { $ as TraceSpanUpdate, A as TraceAttributes, B as TraceRecordBase, C as TraceText, D as TraceAnnotation, E as Localizable, F as TraceIds, G as TraceSampleChunk, H as TraceRecordType, I as TraceInstant, J as TraceSourceStarted, K as TraceSourceLost, L as TraceLink, M as TraceClockSnapshot, N as TraceDefinitionKind, O as TraceAnnotator, P as TraceDefinitionRecord, Q as TraceSpanEnd, R as TraceLog, S as TraceScoreDefinition, T as TraceTrackRender, U as TraceRef, V as TraceRecordInput, W as TraceSample, X as TraceSpanBegin, Y as TraceSourceStopped, Z as TraceSpanComplete, _ as TraceMetricValue, a as measureClockOffset, at as TraceTrackedRecord, b as TracePresetDefinition, c as TraceSeriesMessage, d as TraceAttributeDefinition, et as TraceState, f as TraceClockDefinition, g as TraceMetricDefinition, h as TraceLinkDefinition, i as ClockPingSample, it as TraceSystemRecord, j as TraceClockDiscontinuity, k as TraceAssetRef, l as TraceActivity, m as TraceIdKeyDefinition, n as ClockGraph, nt as TraceStreamStarted, o as TraceFeedMessage, ot as TraceUntrackedRecordBase, p as TraceEndReasonDefinition, q as TraceSourceLostReason, r as ClockGraphOptions, rt as TraceStreamStopped, s as TraceFeedSource, st as TraceValue, t as ClockConversion, tt as TraceStatus, u as TraceAggregate, v as TracePipelineDefinition, w as TraceTrackDefinition, x as TraceProfileDefinition, y as TracePipelineStage, z as TraceRecord } from "./clock-CewQJzn8.mjs";
2
+ import { $ as ATTR_GEN_AI_RETRIEVAL_QUERY_TEXT, $n as METRIC_GEN_AI_SERVER_TIME_TO_FIRST_TOKEN, $t as GEN_AI_OUTPUT_TYPE_VALUE_IMAGE, A as ATTR_GEN_AI_PROVIDER_NAME, An as GEN_AI_TRANSFER_MODE_VALUE_PASS_CONTROL, At as ATTR_GEN_AI_USAGE_TEXT_INPUT_TOKENS, B as ATTR_GEN_AI_REQUEST_SEED, Bn as METRIC_GEN_AI_CLIENT_INFERENCE_USAGE_CACHE_WRITE_INPUT_TOKENS, Bt as GEN_AI_OPERATION_NAME_VALUE_FETCH_RESPONSE, C as ATTR_GEN_AI_OPERATION_NAME, Cn as GEN_AI_RESPONSE_STATUS_VALUE_INCOMPLETE, Ct as ATTR_GEN_AI_USAGE_IMAGE_CACHE_READ_INPUT_TOKENS, D as ATTR_GEN_AI_PROMPT_NAME, Dn as GEN_AI_TOKEN_MODALITY_VALUE_IMAGE, Dt as ATTR_GEN_AI_USAGE_OUTPUT_TOKENS, E as ATTR_GEN_AI_OUTPUT_TYPE, En as GEN_AI_TOKEN_MODALITY_VALUE_AUDIO, Et as ATTR_GEN_AI_USAGE_INPUT_TOKENS, F as ATTR_GEN_AI_REQUEST_MAX_TOKENS, Fn as METRIC_GEN_AI_CLIENT_INFERENCE_OPERATION_INPUT_TOKENS, Ft as GEN_AI_OPERATION_NAME_VALUE_CREATE_MEMORY_STORE, G as ATTR_GEN_AI_REQUEST_TOP_K, Gn as METRIC_GEN_AI_CLIENT_OPERATION_DURATION, Gt as GEN_AI_OPERATION_NAME_VALUE_PLAN, H as ATTR_GEN_AI_REQUEST_STREAM, Hn as METRIC_GEN_AI_CLIENT_INFERENCE_USAGE_OUTPUT_TOKENS, Ht as GEN_AI_OPERATION_NAME_VALUE_INVOKE_AGENT, I as ATTR_GEN_AI_REQUEST_MODEL, In as METRIC_GEN_AI_CLIENT_INFERENCE_OPERATION_OUTPUT_TOKENS, It as GEN_AI_OPERATION_NAME_VALUE_DELETE_MEMORY, J as ATTR_GEN_AI_RESPONSE_ID, Jn as METRIC_GEN_AI_INVOKE_AGENT_INFERENCE_CALLS, Jt as GEN_AI_OPERATION_NAME_VALUE_SEARCH_MEMORY, K as ATTR_GEN_AI_REQUEST_TOP_P, Kn as METRIC_GEN_AI_EXECUTE_TOOL_DURATION, Kt as GEN_AI_OPERATION_NAME_VALUE_REALTIME_INFERENCE, L as ATTR_GEN_AI_REQUEST_PRESENCE_PENALTY, Ln as METRIC_GEN_AI_CLIENT_INFERENCE_TIME_PER_OUTPUT_CHUNK, Lt as GEN_AI_OPERATION_NAME_VALUE_DELETE_MEMORY_STORE, M as ATTR_GEN_AI_REQUEST_CHOICE_COUNT, Mn as METRIC_GEN_AI_CLIENT_EMBEDDINGS_DURATION, Mt as GEN_AI_OPERATION_NAME_VALUE_CHAT, N as ATTR_GEN_AI_REQUEST_ENCODING_FORMATS, Nn as METRIC_GEN_AI_CLIENT_EMBEDDINGS_OPERATION_INPUT_TOKENS, Nt as GEN_AI_OPERATION_NAME_VALUE_CREATE_AGENT, O as ATTR_GEN_AI_PROMPT_VARIABLE, On as GEN_AI_TOKEN_MODALITY_VALUE_TEXT, Ot as ATTR_GEN_AI_USAGE_REASONING_OUTPUT_TOKENS, P as ATTR_GEN_AI_REQUEST_FREQUENCY_PENALTY, Pn as METRIC_GEN_AI_CLIENT_INFERENCE_DURATION, Pt as GEN_AI_OPERATION_NAME_VALUE_CREATE_MEMORY, Q as ATTR_GEN_AI_RETRIEVAL_DOCUMENTS, Qn as METRIC_GEN_AI_SERVER_TIME_PER_OUTPUT_TOKEN, Qt as GEN_AI_OPERATION_NAME_VALUE_USER_SPEECH, R as ATTR_GEN_AI_REQUEST_PREVIOUS_RESPONSE_ID, Rn as METRIC_GEN_AI_CLIENT_INFERENCE_TIME_TO_FIRST_CHUNK, Rt as GEN_AI_OPERATION_NAME_VALUE_EMBEDDINGS, S as ATTR_GEN_AI_MEMORY_STORE_ID, Sn as GEN_AI_RESPONSE_STATUS_VALUE_FAILED, St as ATTR_GEN_AI_USAGE_CACHE_WRITE_INPUT_TOKENS, T as ATTR_GEN_AI_OUTPUT_MESSAGES_REF, Tn as GEN_AI_RESPONSE_STATUS_VALUE_QUEUED, Tt as ATTR_GEN_AI_USAGE_IMAGE_OUTPUT_TOKENS, U as ATTR_GEN_AI_REQUEST_STREAM_CURSOR, Un as METRIC_GEN_AI_CLIENT_INFERENCE_USAGE_REASONING_OUTPUT_TOKENS, Ut as GEN_AI_OPERATION_NAME_VALUE_INVOKE_RUNNER, V as ATTR_GEN_AI_REQUEST_STOP_SEQUENCES, Vn as METRIC_GEN_AI_CLIENT_INFERENCE_USAGE_INPUT_TOKENS, Vt as GEN_AI_OPERATION_NAME_VALUE_GENERATE_CONTENT, W as ATTR_GEN_AI_REQUEST_TEMPERATURE, Wn as METRIC_GEN_AI_CLIENT_INVOKE_AGENT_DURATION, Wt as GEN_AI_OPERATION_NAME_VALUE_INVOKE_WORKFLOW, X as ATTR_GEN_AI_RESPONSE_STATUS, Xn as METRIC_GEN_AI_RETRIEVAL_DURATION, Xt as GEN_AI_OPERATION_NAME_VALUE_UPDATE_MEMORY, Y as ATTR_GEN_AI_RESPONSE_MODEL, Yn as METRIC_GEN_AI_INVOKE_AGENT_TOOL_CALLS, Yt as GEN_AI_OPERATION_NAME_VALUE_TEXT_COMPLETION, Z as ATTR_GEN_AI_RESPONSE_TIME_TO_FIRST_CHUNK, Zn as METRIC_GEN_AI_SERVER_REQUEST_DURATION, Zt as GEN_AI_OPERATION_NAME_VALUE_UPSERT_MEMORY, _ as ATTR_GEN_AI_MAIN_AGENT_NAME, _n as GEN_AI_PROVIDER_NAME_VALUE_OPENAI, _t as ATTR_GEN_AI_TRANSFER_TARGET_NAME, a as ATTR_GEN_AI_CONVERSATION_COMPACTED, an as GEN_AI_PROVIDER_NAME_VALUE_AZURE_AI_INFERENCE, at as ATTR_GEN_AI_SYSTEM_INSTRUCTIONS, b as ATTR_GEN_AI_MEMORY_RECORD_COUNT, bn as GEN_AI_RESPONSE_STATUS_VALUE_CANCELLED, bt as ATTR_GEN_AI_USAGE_AUDIO_OUTPUT_TOKENS, c as ATTR_GEN_AI_EMBEDDINGS_DIMENSION_COUNT, cn as GEN_AI_PROVIDER_NAME_VALUE_DEEPSEEK, ct as ATTR_GEN_AI_TOOL_CALL_ARGUMENTS, d as ATTR_GEN_AI_EVALUATION_SCORE_LABEL, dn as GEN_AI_PROVIDER_NAME_VALUE_GCP_VERTEX_AI, dt as ATTR_GEN_AI_TOOL_DEFINITIONS, en as GEN_AI_OUTPUT_TYPE_VALUE_JSON, er as SEMCONV_GENAI_COMMIT, et as ATTR_GEN_AI_RETRIEVAL_TOP_K, f as ATTR_GEN_AI_EVALUATION_SCORE_VALUE, fn as GEN_AI_PROVIDER_NAME_VALUE_GROQ, ft as ATTR_GEN_AI_TOOL_DEFINITIONS_REF, g as ATTR_GEN_AI_MAIN_AGENT_ID, gn as GEN_AI_PROVIDER_NAME_VALUE_OLLAMA, gt as ATTR_GEN_AI_TRANSFER_MODE, h as ATTR_GEN_AI_MAIN_AGENT_DESCRIPTION, hn as GEN_AI_PROVIDER_NAME_VALUE_MOONSHOT_AI, ht as ATTR_GEN_AI_TOOL_TYPE, i as ATTR_GEN_AI_AGENT_VERSION, in as GEN_AI_PROVIDER_NAME_VALUE_AWS_BEDROCK, it as ATTR_GEN_AI_SKILL_SOURCE_URI, j as ATTR_GEN_AI_REALTIME_SESSION_ID, jn as GEN_AI_TRANSFER_MODE_VALUE_RETURN_TO_CALLER, jt as ATTR_GEN_AI_USAGE_TEXT_OUTPUT_TOKENS, k as ATTR_GEN_AI_PROMPT_VERSION, kn as GEN_AI_TOKEN_MODALITY_VALUE_UNKNOWN, kt as ATTR_GEN_AI_USAGE_TEXT_CACHE_READ_INPUT_TOKENS, l as ATTR_GEN_AI_EVALUATION_EXPLANATION, ln as GEN_AI_PROVIDER_NAME_VALUE_GCP_GEMINI, lt as ATTR_GEN_AI_TOOL_CALL_ID, m as ATTR_GEN_AI_INPUT_MESSAGES_REF, mn as GEN_AI_PROVIDER_NAME_VALUE_MISTRAL, mt as ATTR_GEN_AI_TOOL_NAME, n as ATTR_GEN_AI_AGENT_ID, nn as GEN_AI_OUTPUT_TYPE_VALUE_TEXT, nt as ATTR_GEN_AI_SKILL_NAME, o as ATTR_GEN_AI_CONVERSATION_ID, on as GEN_AI_PROVIDER_NAME_VALUE_AZURE_AI_OPENAI, ot as ATTR_GEN_AI_SYSTEM_INSTRUCTIONS_REF, p as ATTR_GEN_AI_INPUT_MESSAGES, pn as GEN_AI_PROVIDER_NAME_VALUE_IBM_WATSONX_AI, pt as ATTR_GEN_AI_TOOL_DESCRIPTION, q as ATTR_GEN_AI_RESPONSE_FINISH_REASONS, qn as METRIC_GEN_AI_INVOKE_AGENT_DURATION, qt as GEN_AI_OPERATION_NAME_VALUE_RETRIEVAL, r as ATTR_GEN_AI_AGENT_NAME, rn as GEN_AI_PROVIDER_NAME_VALUE_ANTHROPIC, rt as ATTR_GEN_AI_SKILL_RESOURCE_NAME, s as ATTR_GEN_AI_DATA_SOURCE_ID, sn as GEN_AI_PROVIDER_NAME_VALUE_COHERE, st as ATTR_GEN_AI_TOKEN_MODALITY, t as ATTR_GEN_AI_AGENT_DESCRIPTION, tn as GEN_AI_OUTPUT_TYPE_VALUE_SPEECH, tt as ATTR_GEN_AI_SKILL_DESCRIPTION, u as ATTR_GEN_AI_EVALUATION_NAME, un as GEN_AI_PROVIDER_NAME_VALUE_GCP_GEN_AI, ut as ATTR_GEN_AI_TOOL_CALL_RESULT, v as ATTR_GEN_AI_MEMORY_QUERY_TEXT, vn as GEN_AI_PROVIDER_NAME_VALUE_PERPLEXITY, vt as ATTR_GEN_AI_USAGE_AUDIO_CACHE_READ_INPUT_TOKENS, w as ATTR_GEN_AI_OUTPUT_MESSAGES, wn as GEN_AI_RESPONSE_STATUS_VALUE_IN_PROGRESS, wt as ATTR_GEN_AI_USAGE_IMAGE_INPUT_TOKENS, x as ATTR_GEN_AI_MEMORY_RECORD_ID, xn as GEN_AI_RESPONSE_STATUS_VALUE_COMPLETED, xt as ATTR_GEN_AI_USAGE_CACHE_READ_INPUT_TOKENS, y as ATTR_GEN_AI_MEMORY_RECORDS, yn as GEN_AI_PROVIDER_NAME_VALUE_X_AI, yt as ATTR_GEN_AI_USAGE_AUDIO_INPUT_TOKENS, z as ATTR_GEN_AI_REQUEST_REASONING_LEVEL, zn as METRIC_GEN_AI_CLIENT_INFERENCE_USAGE_CACHE_READ_INPUT_TOKENS, zt as GEN_AI_OPERATION_NAME_VALUE_EXECUTE_TOOL } from "./semconv-BOVWnou1.mjs";
3
+ //#region src/conventions/index.d.ts
4
+ /** Version of the conventions. Exports write it into their metadata. */
5
+ declare const TRACE_CONVENTIONS_VERSION = "1";
6
+ /** Relations between records. Profiles add more. */
7
+ declare const TraceLinkRelations: {
8
+ readonly CausedBy: "caused-by";
9
+ readonly CancelledBy: "cancelled-by";
10
+ readonly RetryOf: "retry-of";
11
+ readonly Supersedes: "supersedes";
12
+ readonly Revises: "revises";
13
+ readonly FollowsFrom: "follows-from";
14
+ readonly SameEntity: "same-entity";
15
+ };
16
+ /** Common values of `span.end.reason`. The field is open. */
17
+ declare const TraceEndReasons: {
18
+ readonly Interrupted: "interrupted";
19
+ readonly Timeout: "timeout";
20
+ readonly Superseded: "superseded";
21
+ readonly Aborted: "aborted";
22
+ readonly NoAudio: "no-audio";
23
+ };
24
+ /** Kinds of pipeline edges. The field is open. */
25
+ declare const TraceEdgeKinds: {
26
+ readonly Command: "cmd";
27
+ readonly Data: "data";
28
+ readonly Audio: "audio";
29
+ readonly Signal: "signal";
30
+ };
31
+ /** Attribute names of AIRI that apply to any domain. The `gen_ai.*` names are in `./semconv`. */
32
+ declare const ATTR_PROVIDER_REQUEST_ID: "provider.request_id";
33
+ declare const ATTR_PROVIDER_RESPONSE_ID: "provider.response_id";
34
+ declare const ATTR_PROVIDER_ITEM_ID: "provider.item_id";
35
+ declare const ATTR_RETRY_COUNT: "retry.count";
36
+ declare const ATTR_FALLBACK_INDEX: "fallback.index";
37
+ /** An interruption cut the measurement short. Percentiles leave it out. */
38
+ declare const ATTR_CENSORED: "censored";
39
+ /** A cold start. Percentiles leave it out. */
40
+ declare const ATTR_WARMUP: "warmup";
41
+ declare const ATTR_DECISION_CHOICES: "decision.choices";
42
+ declare const ATTR_DECISION_VERDICT: "decision.verdict";
43
+ declare const ATTR_DECISION_P: "decision.p";
44
+ declare const ATTR_DECISION_THRESHOLD: "decision.threshold";
45
+ declare const ATTR_DECISION_REASON: "decision.reason";
46
+ declare const ATTR_DECISION_LATENCY_MS: "decision.latency_ms";
47
+ declare const ATTR_DECIDER: "decider";
48
+ declare const ATTR_MSG_KIND: "msg.kind";
49
+ declare const ATTR_MSG_NAME: "msg.name";
50
+ declare const ATTR_MSG_TO: "msg.to";
51
+ declare const ATTR_WORK_INTERRUPTIBLE: "work.interruptible";
52
+ declare const ATTR_STREAM_ID: "stream.id";
53
+ declare const ATTR_STREAM_START_FRAME: "stream.start_frame";
54
+ declare const ATTR_STREAM_END_FRAME: "stream.end_frame";
55
+ /** The rule that decided a state change. */
56
+ declare const ATTR_RULE: "rule";
57
+ /** An external input to a policy. A replay harness feeds it to a new policy. */
58
+ declare const ATTR_REPLAY_INPUT: "replay.input";
59
+ /** Only the `conversation` ID key maps to `gen_ai.conversation.id`. The `topic` ID key maps to this attribute. */
60
+ declare const ATTR_AIRI_TOPIC_ID: "airi.topic.id";
61
+ /** Attribute definitions of the conventions. The content policy reads their sensitivity. */
62
+ declare const conventionAttributes: TraceAttributeDefinition[];
63
+ interface ContentPolicy {
64
+ /** Keeps `content` attributes. A developer setting turns it on for files on disk and exports. */
65
+ keepContent: boolean;
66
+ /** The sensitivity of an attribute key. A key without a definition counts as `none`. */
67
+ sensitivityOf: (key: string) => TraceAttributeDefinition['sensitivity'] | undefined;
68
+ }
69
+ /**
70
+ * Removes secrets from a string.
71
+ *
72
+ * @example
73
+ * scrubSecrets('Authorization: Bearer abcdefghijklmnop1234')
74
+ * // => 'Authorization: [secret]'
75
+ */
76
+ declare function scrubSecrets(text: string): string;
77
+ /**
78
+ * Applies the content policy to one record. The collector applies it before the buffer and before the disk.
79
+ *
80
+ * Returns the same object when nothing changes, so the common path does not copy.
81
+ */
82
+ declare function applyContentPolicy<T extends TraceRecord>(record: T, policy: ContentPolicy): T;
83
+ /**
84
+ * Computes the nearest-rank percentile of measurements.
85
+ * Returns `undefined` for an empty list, and for p95 and p99 with fewer than 100 samples.
86
+ */
87
+ declare function percentile(values: readonly number[], p: number): number | undefined;
88
+ /** Aggregates measurements. A ratio metric gives sums, so its ratio is a ratio of sums, not a mean of ratios. */
89
+ declare function aggregate(values: readonly number[], kinds: readonly TraceAggregate[]): Partial<Record<TraceAggregate, number>>;
90
+ //#endregion
91
+ //#region src/core/define.d.ts
92
+ declare function defineTrack(definition: TraceTrackDefinition): TraceTrackDefinition;
93
+ declare function defineAttribute(definition: TraceAttributeDefinition): TraceAttributeDefinition;
94
+ declare function defineIdKey(definition: TraceIdKeyDefinition): TraceIdKeyDefinition;
95
+ declare function defineLink(definition: TraceLinkDefinition): TraceLinkDefinition;
96
+ declare function defineEndReason(definition: TraceEndReasonDefinition): TraceEndReasonDefinition;
97
+ declare function defineClock(definition: TraceClockDefinition): TraceClockDefinition;
98
+ declare function defineMetric(definition: TraceMetricDefinition): TraceMetricDefinition;
99
+ declare function defineScore(definition: TraceScoreDefinition): TraceScoreDefinition;
100
+ declare function definePipeline(definition: TracePipelineDefinition): TracePipelineDefinition;
101
+ declare function definePreset(definition: TracePresetDefinition): TracePresetDefinition;
102
+ declare function defineProfile(definition: TraceProfileDefinition): TraceProfileDefinition;
103
+ /**
104
+ * The definition records that announce a profile, in the order that a viewer needs them:
105
+ * the profile first, then each of its definitions.
106
+ */
107
+ declare function definitionRecordsOf(profile: TraceProfileDefinition, ts: number): TraceRecordInput[];
108
+ /**
109
+ * Matches a track path against a path pattern.
110
+ *
111
+ * Returns the values of the `{key}` segments, or `undefined` when the path does not match.
112
+ * A literal segment matches only itself. A `{key}` segment matches exactly one segment, and so does `*`, without a name.
113
+ *
114
+ * @example
115
+ * matchTrackPath('participants/{actor}/speech', 'participants/user/speech')
116
+ * // => { actor: 'user' }
117
+ */
118
+ declare function matchTrackPath(pattern: string, path: string): Record<string, string> | undefined;
119
+ /**
120
+ * Fills the `{key}` segments of a track path pattern.
121
+ *
122
+ * @example
123
+ * trackPath('participants/{actor}/speech', { actor: 'user' })
124
+ * // => 'participants/user/speech'
125
+ */
126
+ declare function trackPath(pattern: string, params: Record<string, string | number>): string;
127
+ /** Returns the text for a locale, then English, then the first entry. */
128
+ declare function localize(text: Localizable | undefined, locale: string): string | undefined;
129
+ //#endregion
130
+ //#region src/core/keys.d.ts
131
+ /**
132
+ * Key of one epoch of a source: `source/epoch`. The cursor of `caughtUp` uses it. A source and an epoch do not
133
+ * contain `/`, so the key is unambiguous.
134
+ */
135
+ declare function epochKeyOf(source: string, epoch: string): string;
136
+ /** Stable key of a record: `source/epoch/seq`. */
137
+ declare function recordKey(ref: TraceRef): string;
138
+ /**
139
+ * Stable key of a span: `source/epoch/spanId`. A span ID is unique only inside one epoch of one source.
140
+ *
141
+ * @example
142
+ * spanKeyOf('window:main', 'e1', 'llm-1')
143
+ * // => 'window:main/e1/llm-1'
144
+ */
145
+ declare function spanKeyOf(source: string, epoch: string, spanId: string): string;
146
+ /**
147
+ * The clock of a media stream. Its values are frame positions, and its snapshots pair them with a monotonic clock.
148
+ *
149
+ * @example
150
+ * streamClockOf('capture:mic')
151
+ * // => 'audio:capture:mic'
152
+ */
153
+ declare function streamClockOf(streamId: string): string;
154
+ //#endregion
155
+ //#region src/core/records.d.ts
156
+ /**
157
+ * Version of the record format. A reader upcasts an older minor format and rejects a newer major format.
158
+ * `source.started.format` carries it.
159
+ */
160
+ declare const TRACE_FORMAT = 1;
161
+ declare function isSystemRecord(record: TraceRecord): record is TraceSystemRecord;
162
+ declare function isTrackedRecord(record: TraceRecord): record is TraceTrackedRecord;
163
+ //#endregion
164
+ //#region src/core/schema.d.ts
165
+ /**
166
+ * The most points in one `sample.chunk`, over all its series. A chunk holds about one second, so this is above 4 kHz
167
+ * for one series. Series rings sit outside the byte limit of the buffer, so an untrusted chunk must be bounded here.
168
+ */
169
+ declare const MAX_CHUNK_POINTS = 4096;
170
+ /**
171
+ * Validates one trace record at a trust boundary, such as IPC from a window or `trace:emit` from a plugin.
172
+ * Producers inside one process do not validate their own records.
173
+ */
174
+ declare const traceRecordSchema: import("valibot").VariantSchema<"type", [import("valibot").ObjectSchema<{
175
+ readonly type: import("valibot").LiteralSchema<"source.started", undefined>;
176
+ readonly format: import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>]>;
177
+ readonly runtime: import("valibot").StringSchema<undefined>;
178
+ readonly profiles: import("valibot").ArraySchema<import("valibot").ObjectSchema<{
179
+ readonly key: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>]>;
180
+ readonly version: import("valibot").StringSchema<undefined>;
181
+ }, undefined>, undefined>;
182
+ readonly source: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").RegexAction<string, "A source or an epoch must not contain \"/\".">]>;
183
+ readonly epoch: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").RegexAction<string, "A source or an epoch must not contain \"/\".">]>;
184
+ readonly seq: import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>;
185
+ readonly ts: import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").FiniteAction<number, undefined>]>;
186
+ readonly clock: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>]>;
187
+ readonly observedTs: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").FiniteAction<number, undefined>]>, undefined>;
188
+ readonly ids: import("valibot").OptionalSchema<import("valibot").RecordSchema<import("valibot").StringSchema<undefined>, import("valibot").UnionSchema<[import("valibot").StringSchema<undefined>, import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").FiniteAction<number, undefined>]>], undefined>, undefined>, undefined>;
189
+ readonly attrs: import("valibot").OptionalSchema<import("valibot").RecordSchema<import("valibot").StringSchema<undefined>, import("valibot").UnionSchema<[import("valibot").StringSchema<undefined>, import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").FiniteAction<number, undefined>]>, import("valibot").BooleanSchema<undefined>, import("valibot").ArraySchema<import("valibot").StringSchema<undefined>, undefined>, import("valibot").ArraySchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").FiniteAction<number, undefined>]>, undefined>, import("valibot").ObjectSchema<{
190
+ readonly $asset: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>]>;
191
+ readonly mediaType: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>]>;
192
+ readonly bytes: import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>;
193
+ }, undefined>], undefined>, undefined>, undefined>;
194
+ }, undefined>, import("valibot").ObjectSchema<{
195
+ readonly type: import("valibot").LiteralSchema<"source.stopped", undefined>;
196
+ readonly source: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").RegexAction<string, "A source or an epoch must not contain \"/\".">]>;
197
+ readonly epoch: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").RegexAction<string, "A source or an epoch must not contain \"/\".">]>;
198
+ readonly seq: import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>;
199
+ readonly ts: import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").FiniteAction<number, undefined>]>;
200
+ readonly clock: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>]>;
201
+ readonly observedTs: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").FiniteAction<number, undefined>]>, undefined>;
202
+ readonly ids: import("valibot").OptionalSchema<import("valibot").RecordSchema<import("valibot").StringSchema<undefined>, import("valibot").UnionSchema<[import("valibot").StringSchema<undefined>, import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").FiniteAction<number, undefined>]>], undefined>, undefined>, undefined>;
203
+ readonly attrs: import("valibot").OptionalSchema<import("valibot").RecordSchema<import("valibot").StringSchema<undefined>, import("valibot").UnionSchema<[import("valibot").StringSchema<undefined>, import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").FiniteAction<number, undefined>]>, import("valibot").BooleanSchema<undefined>, import("valibot").ArraySchema<import("valibot").StringSchema<undefined>, undefined>, import("valibot").ArraySchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").FiniteAction<number, undefined>]>, undefined>, import("valibot").ObjectSchema<{
204
+ readonly $asset: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>]>;
205
+ readonly mediaType: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>]>;
206
+ readonly bytes: import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>;
207
+ }, undefined>], undefined>, undefined>, undefined>;
208
+ }, undefined>, import("valibot").ObjectSchema<{
209
+ readonly type: import("valibot").LiteralSchema<"source.lost", undefined>;
210
+ readonly of: import("valibot").ObjectSchema<{
211
+ readonly source: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").RegexAction<string, "A source or an epoch must not contain \"/\".">]>;
212
+ readonly epoch: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").RegexAction<string, "A source or an epoch must not contain \"/\".">]>;
213
+ readonly lastSeq: import("valibot").NumberSchema<undefined>;
214
+ }, undefined>;
215
+ readonly reason: import("valibot").PicklistSchema<["ipc-closed", "heartbeat-timeout", "epoch-replaced"], undefined>;
216
+ readonly source: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").RegexAction<string, "A source or an epoch must not contain \"/\".">]>;
217
+ readonly epoch: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").RegexAction<string, "A source or an epoch must not contain \"/\".">]>;
218
+ readonly seq: import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>;
219
+ readonly ts: import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").FiniteAction<number, undefined>]>;
220
+ readonly clock: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>]>;
221
+ readonly observedTs: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").FiniteAction<number, undefined>]>, undefined>;
222
+ readonly ids: import("valibot").OptionalSchema<import("valibot").RecordSchema<import("valibot").StringSchema<undefined>, import("valibot").UnionSchema<[import("valibot").StringSchema<undefined>, import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").FiniteAction<number, undefined>]>], undefined>, undefined>, undefined>;
223
+ readonly attrs: import("valibot").OptionalSchema<import("valibot").RecordSchema<import("valibot").StringSchema<undefined>, import("valibot").UnionSchema<[import("valibot").StringSchema<undefined>, import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").FiniteAction<number, undefined>]>, import("valibot").BooleanSchema<undefined>, import("valibot").ArraySchema<import("valibot").StringSchema<undefined>, undefined>, import("valibot").ArraySchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").FiniteAction<number, undefined>]>, undefined>, import("valibot").ObjectSchema<{
224
+ readonly $asset: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>]>;
225
+ readonly mediaType: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>]>;
226
+ readonly bytes: import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>;
227
+ }, undefined>], undefined>, undefined>, undefined>;
228
+ }, undefined>, import("valibot").ObjectSchema<{
229
+ readonly type: import("valibot").LiteralSchema<"clock.snapshot", undefined>;
230
+ readonly values: import("valibot").ArraySchema<import("valibot").ObjectSchema<{
231
+ readonly clock: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>]>;
232
+ readonly value: import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").FiniteAction<number, undefined>]>;
233
+ }, undefined>, undefined>;
234
+ readonly uncertaintyMs: import("valibot").SchemaWithPipe<readonly [import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").FiniteAction<number, undefined>]>, import("valibot").MinValueAction<number, 0, undefined>]>;
235
+ readonly source: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").RegexAction<string, "A source or an epoch must not contain \"/\".">]>;
236
+ readonly epoch: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").RegexAction<string, "A source or an epoch must not contain \"/\".">]>;
237
+ readonly seq: import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>;
238
+ readonly ts: import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").FiniteAction<number, undefined>]>;
239
+ readonly clock: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>]>;
240
+ readonly observedTs: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").FiniteAction<number, undefined>]>, undefined>;
241
+ readonly ids: import("valibot").OptionalSchema<import("valibot").RecordSchema<import("valibot").StringSchema<undefined>, import("valibot").UnionSchema<[import("valibot").StringSchema<undefined>, import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").FiniteAction<number, undefined>]>], undefined>, undefined>, undefined>;
242
+ readonly attrs: import("valibot").OptionalSchema<import("valibot").RecordSchema<import("valibot").StringSchema<undefined>, import("valibot").UnionSchema<[import("valibot").StringSchema<undefined>, import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").FiniteAction<number, undefined>]>, import("valibot").BooleanSchema<undefined>, import("valibot").ArraySchema<import("valibot").StringSchema<undefined>, undefined>, import("valibot").ArraySchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").FiniteAction<number, undefined>]>, undefined>, import("valibot").ObjectSchema<{
243
+ readonly $asset: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>]>;
244
+ readonly mediaType: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>]>;
245
+ readonly bytes: import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>;
246
+ }, undefined>], undefined>, undefined>, undefined>;
247
+ }, undefined>, import("valibot").ObjectSchema<{
248
+ readonly type: import("valibot").LiteralSchema<"clock.discontinuity", undefined>;
249
+ readonly of: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>]>;
250
+ readonly reason: import("valibot").StringSchema<undefined>;
251
+ readonly source: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").RegexAction<string, "A source or an epoch must not contain \"/\".">]>;
252
+ readonly epoch: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").RegexAction<string, "A source or an epoch must not contain \"/\".">]>;
253
+ readonly seq: import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>;
254
+ readonly ts: import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").FiniteAction<number, undefined>]>;
255
+ readonly clock: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>]>;
256
+ readonly observedTs: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").FiniteAction<number, undefined>]>, undefined>;
257
+ readonly ids: import("valibot").OptionalSchema<import("valibot").RecordSchema<import("valibot").StringSchema<undefined>, import("valibot").UnionSchema<[import("valibot").StringSchema<undefined>, import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").FiniteAction<number, undefined>]>], undefined>, undefined>, undefined>;
258
+ readonly attrs: import("valibot").OptionalSchema<import("valibot").RecordSchema<import("valibot").StringSchema<undefined>, import("valibot").UnionSchema<[import("valibot").StringSchema<undefined>, import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").FiniteAction<number, undefined>]>, import("valibot").BooleanSchema<undefined>, import("valibot").ArraySchema<import("valibot").StringSchema<undefined>, undefined>, import("valibot").ArraySchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").FiniteAction<number, undefined>]>, undefined>, import("valibot").ObjectSchema<{
259
+ readonly $asset: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>]>;
260
+ readonly mediaType: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>]>;
261
+ readonly bytes: import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>;
262
+ }, undefined>], undefined>, undefined>, undefined>;
263
+ }, undefined>, import("valibot").ObjectSchema<{
264
+ readonly type: import("valibot").LiteralSchema<"stream.started", undefined>;
265
+ readonly streamId: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>]>;
266
+ readonly mediaType: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>]>;
267
+ readonly rate: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").FiniteAction<number, undefined>]>, undefined>;
268
+ readonly channels: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>]>, undefined>;
269
+ readonly uri: import("valibot").OptionalSchema<import("valibot").StringSchema<undefined>, undefined>;
270
+ readonly source: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").RegexAction<string, "A source or an epoch must not contain \"/\".">]>;
271
+ readonly epoch: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").RegexAction<string, "A source or an epoch must not contain \"/\".">]>;
272
+ readonly seq: import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>;
273
+ readonly ts: import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").FiniteAction<number, undefined>]>;
274
+ readonly clock: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>]>;
275
+ readonly observedTs: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").FiniteAction<number, undefined>]>, undefined>;
276
+ readonly ids: import("valibot").OptionalSchema<import("valibot").RecordSchema<import("valibot").StringSchema<undefined>, import("valibot").UnionSchema<[import("valibot").StringSchema<undefined>, import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").FiniteAction<number, undefined>]>], undefined>, undefined>, undefined>;
277
+ readonly attrs: import("valibot").OptionalSchema<import("valibot").RecordSchema<import("valibot").StringSchema<undefined>, import("valibot").UnionSchema<[import("valibot").StringSchema<undefined>, import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").FiniteAction<number, undefined>]>, import("valibot").BooleanSchema<undefined>, import("valibot").ArraySchema<import("valibot").StringSchema<undefined>, undefined>, import("valibot").ArraySchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").FiniteAction<number, undefined>]>, undefined>, import("valibot").ObjectSchema<{
278
+ readonly $asset: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>]>;
279
+ readonly mediaType: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>]>;
280
+ readonly bytes: import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>;
281
+ }, undefined>], undefined>, undefined>, undefined>;
282
+ }, undefined>, import("valibot").ObjectSchema<{
283
+ readonly type: import("valibot").LiteralSchema<"stream.stopped", undefined>;
284
+ readonly streamId: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>]>;
285
+ readonly source: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").RegexAction<string, "A source or an epoch must not contain \"/\".">]>;
286
+ readonly epoch: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").RegexAction<string, "A source or an epoch must not contain \"/\".">]>;
287
+ readonly seq: import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>;
288
+ readonly ts: import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").FiniteAction<number, undefined>]>;
289
+ readonly clock: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>]>;
290
+ readonly observedTs: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").FiniteAction<number, undefined>]>, undefined>;
291
+ readonly ids: import("valibot").OptionalSchema<import("valibot").RecordSchema<import("valibot").StringSchema<undefined>, import("valibot").UnionSchema<[import("valibot").StringSchema<undefined>, import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").FiniteAction<number, undefined>]>], undefined>, undefined>, undefined>;
292
+ readonly attrs: import("valibot").OptionalSchema<import("valibot").RecordSchema<import("valibot").StringSchema<undefined>, import("valibot").UnionSchema<[import("valibot").StringSchema<undefined>, import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").FiniteAction<number, undefined>]>, import("valibot").BooleanSchema<undefined>, import("valibot").ArraySchema<import("valibot").StringSchema<undefined>, undefined>, import("valibot").ArraySchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").FiniteAction<number, undefined>]>, undefined>, import("valibot").ObjectSchema<{
293
+ readonly $asset: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>]>;
294
+ readonly mediaType: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>]>;
295
+ readonly bytes: import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>;
296
+ }, undefined>], undefined>, undefined>, undefined>;
297
+ }, undefined>, import("valibot").ObjectSchema<{
298
+ readonly type: import("valibot").LiteralSchema<"span.begin", undefined>;
299
+ readonly spanId: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>]>;
300
+ readonly parentSpanId: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>]>, undefined>;
301
+ readonly name: import("valibot").StringSchema<undefined>;
302
+ readonly deadlineMs: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").FiniteAction<number, undefined>]>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
303
+ readonly track: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>]>;
304
+ readonly links: import("valibot").OptionalSchema<import("valibot").ArraySchema<import("valibot").ObjectSchema<{
305
+ readonly to: import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
306
+ readonly source: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").RegexAction<string, "A source or an epoch must not contain \"/\".">]>;
307
+ readonly epoch: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").RegexAction<string, "A source or an epoch must not contain \"/\".">]>;
308
+ readonly seq: import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>;
309
+ }, undefined>, import("valibot").ObjectSchema<{
310
+ readonly spanId: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>]>;
311
+ }, undefined>, import("valibot").ObjectSchema<{
312
+ readonly key: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>]>;
313
+ readonly id: import("valibot").UnionSchema<[import("valibot").StringSchema<undefined>, import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").FiniteAction<number, undefined>]>], undefined>;
314
+ }, undefined>], undefined>;
315
+ readonly rel: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>]>;
316
+ }, undefined>, undefined>, undefined>;
317
+ readonly evidence: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["reported", "observed"], undefined>, undefined>;
318
+ readonly source: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").RegexAction<string, "A source or an epoch must not contain \"/\".">]>;
319
+ readonly epoch: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").RegexAction<string, "A source or an epoch must not contain \"/\".">]>;
320
+ readonly seq: import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>;
321
+ readonly ts: import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").FiniteAction<number, undefined>]>;
322
+ readonly clock: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>]>;
323
+ readonly observedTs: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").FiniteAction<number, undefined>]>, undefined>;
324
+ readonly ids: import("valibot").OptionalSchema<import("valibot").RecordSchema<import("valibot").StringSchema<undefined>, import("valibot").UnionSchema<[import("valibot").StringSchema<undefined>, import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").FiniteAction<number, undefined>]>], undefined>, undefined>, undefined>;
325
+ readonly attrs: import("valibot").OptionalSchema<import("valibot").RecordSchema<import("valibot").StringSchema<undefined>, import("valibot").UnionSchema<[import("valibot").StringSchema<undefined>, import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").FiniteAction<number, undefined>]>, import("valibot").BooleanSchema<undefined>, import("valibot").ArraySchema<import("valibot").StringSchema<undefined>, undefined>, import("valibot").ArraySchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").FiniteAction<number, undefined>]>, undefined>, import("valibot").ObjectSchema<{
326
+ readonly $asset: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>]>;
327
+ readonly mediaType: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>]>;
328
+ readonly bytes: import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>;
329
+ }, undefined>], undefined>, undefined>, undefined>;
330
+ }, undefined>, import("valibot").ObjectSchema<{
331
+ readonly type: import("valibot").LiteralSchema<"span.update", undefined>;
332
+ readonly spanId: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>]>;
333
+ readonly track: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>]>;
334
+ readonly links: import("valibot").OptionalSchema<import("valibot").ArraySchema<import("valibot").ObjectSchema<{
335
+ readonly to: import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
336
+ readonly source: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").RegexAction<string, "A source or an epoch must not contain \"/\".">]>;
337
+ readonly epoch: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").RegexAction<string, "A source or an epoch must not contain \"/\".">]>;
338
+ readonly seq: import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>;
339
+ }, undefined>, import("valibot").ObjectSchema<{
340
+ readonly spanId: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>]>;
341
+ }, undefined>, import("valibot").ObjectSchema<{
342
+ readonly key: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>]>;
343
+ readonly id: import("valibot").UnionSchema<[import("valibot").StringSchema<undefined>, import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").FiniteAction<number, undefined>]>], undefined>;
344
+ }, undefined>], undefined>;
345
+ readonly rel: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>]>;
346
+ }, undefined>, undefined>, undefined>;
347
+ readonly evidence: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["reported", "observed"], undefined>, undefined>;
348
+ readonly source: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").RegexAction<string, "A source or an epoch must not contain \"/\".">]>;
349
+ readonly epoch: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").RegexAction<string, "A source or an epoch must not contain \"/\".">]>;
350
+ readonly seq: import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>;
351
+ readonly ts: import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").FiniteAction<number, undefined>]>;
352
+ readonly clock: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>]>;
353
+ readonly observedTs: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").FiniteAction<number, undefined>]>, undefined>;
354
+ readonly ids: import("valibot").OptionalSchema<import("valibot").RecordSchema<import("valibot").StringSchema<undefined>, import("valibot").UnionSchema<[import("valibot").StringSchema<undefined>, import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").FiniteAction<number, undefined>]>], undefined>, undefined>, undefined>;
355
+ readonly attrs: import("valibot").OptionalSchema<import("valibot").RecordSchema<import("valibot").StringSchema<undefined>, import("valibot").UnionSchema<[import("valibot").StringSchema<undefined>, import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").FiniteAction<number, undefined>]>, import("valibot").BooleanSchema<undefined>, import("valibot").ArraySchema<import("valibot").StringSchema<undefined>, undefined>, import("valibot").ArraySchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").FiniteAction<number, undefined>]>, undefined>, import("valibot").ObjectSchema<{
356
+ readonly $asset: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>]>;
357
+ readonly mediaType: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>]>;
358
+ readonly bytes: import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>;
359
+ }, undefined>], undefined>, undefined>, undefined>;
360
+ }, undefined>, import("valibot").ObjectSchema<{
361
+ readonly type: import("valibot").LiteralSchema<"span.end", undefined>;
362
+ readonly spanId: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>]>;
363
+ readonly status: import("valibot").PicklistSchema<["ok", "error", "cancelled"], undefined>;
364
+ readonly reason: import("valibot").OptionalSchema<import("valibot").StringSchema<undefined>, undefined>;
365
+ readonly message: import("valibot").OptionalSchema<import("valibot").StringSchema<undefined>, undefined>;
366
+ readonly track: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>]>;
367
+ readonly links: import("valibot").OptionalSchema<import("valibot").ArraySchema<import("valibot").ObjectSchema<{
368
+ readonly to: import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
369
+ readonly source: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").RegexAction<string, "A source or an epoch must not contain \"/\".">]>;
370
+ readonly epoch: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").RegexAction<string, "A source or an epoch must not contain \"/\".">]>;
371
+ readonly seq: import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>;
372
+ }, undefined>, import("valibot").ObjectSchema<{
373
+ readonly spanId: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>]>;
374
+ }, undefined>, import("valibot").ObjectSchema<{
375
+ readonly key: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>]>;
376
+ readonly id: import("valibot").UnionSchema<[import("valibot").StringSchema<undefined>, import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").FiniteAction<number, undefined>]>], undefined>;
377
+ }, undefined>], undefined>;
378
+ readonly rel: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>]>;
379
+ }, undefined>, undefined>, undefined>;
380
+ readonly evidence: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["reported", "observed"], undefined>, undefined>;
381
+ readonly source: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").RegexAction<string, "A source or an epoch must not contain \"/\".">]>;
382
+ readonly epoch: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").RegexAction<string, "A source or an epoch must not contain \"/\".">]>;
383
+ readonly seq: import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>;
384
+ readonly ts: import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").FiniteAction<number, undefined>]>;
385
+ readonly clock: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>]>;
386
+ readonly observedTs: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").FiniteAction<number, undefined>]>, undefined>;
387
+ readonly ids: import("valibot").OptionalSchema<import("valibot").RecordSchema<import("valibot").StringSchema<undefined>, import("valibot").UnionSchema<[import("valibot").StringSchema<undefined>, import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").FiniteAction<number, undefined>]>], undefined>, undefined>, undefined>;
388
+ readonly attrs: import("valibot").OptionalSchema<import("valibot").RecordSchema<import("valibot").StringSchema<undefined>, import("valibot").UnionSchema<[import("valibot").StringSchema<undefined>, import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").FiniteAction<number, undefined>]>, import("valibot").BooleanSchema<undefined>, import("valibot").ArraySchema<import("valibot").StringSchema<undefined>, undefined>, import("valibot").ArraySchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").FiniteAction<number, undefined>]>, undefined>, import("valibot").ObjectSchema<{
389
+ readonly $asset: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>]>;
390
+ readonly mediaType: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>]>;
391
+ readonly bytes: import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>;
392
+ }, undefined>], undefined>, undefined>, undefined>;
393
+ }, undefined>, import("valibot").ObjectSchema<{
394
+ readonly type: import("valibot").LiteralSchema<"span.complete", undefined>;
395
+ readonly spanId: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>]>;
396
+ readonly parentSpanId: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>]>, undefined>;
397
+ readonly name: import("valibot").StringSchema<undefined>;
398
+ readonly durationMs: import("valibot").SchemaWithPipe<readonly [import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").FiniteAction<number, undefined>]>, import("valibot").MinValueAction<number, 0, undefined>]>;
399
+ readonly status: import("valibot").PicklistSchema<["ok", "error", "cancelled"], undefined>;
400
+ readonly reason: import("valibot").OptionalSchema<import("valibot").StringSchema<undefined>, undefined>;
401
+ readonly track: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>]>;
402
+ readonly links: import("valibot").OptionalSchema<import("valibot").ArraySchema<import("valibot").ObjectSchema<{
403
+ readonly to: import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
404
+ readonly source: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").RegexAction<string, "A source or an epoch must not contain \"/\".">]>;
405
+ readonly epoch: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").RegexAction<string, "A source or an epoch must not contain \"/\".">]>;
406
+ readonly seq: import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>;
407
+ }, undefined>, import("valibot").ObjectSchema<{
408
+ readonly spanId: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>]>;
409
+ }, undefined>, import("valibot").ObjectSchema<{
410
+ readonly key: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>]>;
411
+ readonly id: import("valibot").UnionSchema<[import("valibot").StringSchema<undefined>, import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").FiniteAction<number, undefined>]>], undefined>;
412
+ }, undefined>], undefined>;
413
+ readonly rel: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>]>;
414
+ }, undefined>, undefined>, undefined>;
415
+ readonly evidence: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["reported", "observed"], undefined>, undefined>;
416
+ readonly source: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").RegexAction<string, "A source or an epoch must not contain \"/\".">]>;
417
+ readonly epoch: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").RegexAction<string, "A source or an epoch must not contain \"/\".">]>;
418
+ readonly seq: import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>;
419
+ readonly ts: import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").FiniteAction<number, undefined>]>;
420
+ readonly clock: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>]>;
421
+ readonly observedTs: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").FiniteAction<number, undefined>]>, undefined>;
422
+ readonly ids: import("valibot").OptionalSchema<import("valibot").RecordSchema<import("valibot").StringSchema<undefined>, import("valibot").UnionSchema<[import("valibot").StringSchema<undefined>, import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").FiniteAction<number, undefined>]>], undefined>, undefined>, undefined>;
423
+ readonly attrs: import("valibot").OptionalSchema<import("valibot").RecordSchema<import("valibot").StringSchema<undefined>, import("valibot").UnionSchema<[import("valibot").StringSchema<undefined>, import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").FiniteAction<number, undefined>]>, import("valibot").BooleanSchema<undefined>, import("valibot").ArraySchema<import("valibot").StringSchema<undefined>, undefined>, import("valibot").ArraySchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").FiniteAction<number, undefined>]>, undefined>, import("valibot").ObjectSchema<{
424
+ readonly $asset: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>]>;
425
+ readonly mediaType: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>]>;
426
+ readonly bytes: import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>;
427
+ }, undefined>], undefined>, undefined>, undefined>;
428
+ }, undefined>, import("valibot").ObjectSchema<{
429
+ readonly type: import("valibot").LiteralSchema<"instant", undefined>;
430
+ readonly name: import("valibot").StringSchema<undefined>;
431
+ readonly spanId: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>]>, undefined>;
432
+ readonly track: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>]>;
433
+ readonly links: import("valibot").OptionalSchema<import("valibot").ArraySchema<import("valibot").ObjectSchema<{
434
+ readonly to: import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
435
+ readonly source: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").RegexAction<string, "A source or an epoch must not contain \"/\".">]>;
436
+ readonly epoch: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").RegexAction<string, "A source or an epoch must not contain \"/\".">]>;
437
+ readonly seq: import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>;
438
+ }, undefined>, import("valibot").ObjectSchema<{
439
+ readonly spanId: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>]>;
440
+ }, undefined>, import("valibot").ObjectSchema<{
441
+ readonly key: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>]>;
442
+ readonly id: import("valibot").UnionSchema<[import("valibot").StringSchema<undefined>, import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").FiniteAction<number, undefined>]>], undefined>;
443
+ }, undefined>], undefined>;
444
+ readonly rel: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>]>;
445
+ }, undefined>, undefined>, undefined>;
446
+ readonly evidence: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["reported", "observed"], undefined>, undefined>;
447
+ readonly source: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").RegexAction<string, "A source or an epoch must not contain \"/\".">]>;
448
+ readonly epoch: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").RegexAction<string, "A source or an epoch must not contain \"/\".">]>;
449
+ readonly seq: import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>;
450
+ readonly ts: import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").FiniteAction<number, undefined>]>;
451
+ readonly clock: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>]>;
452
+ readonly observedTs: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").FiniteAction<number, undefined>]>, undefined>;
453
+ readonly ids: import("valibot").OptionalSchema<import("valibot").RecordSchema<import("valibot").StringSchema<undefined>, import("valibot").UnionSchema<[import("valibot").StringSchema<undefined>, import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").FiniteAction<number, undefined>]>], undefined>, undefined>, undefined>;
454
+ readonly attrs: import("valibot").OptionalSchema<import("valibot").RecordSchema<import("valibot").StringSchema<undefined>, import("valibot").UnionSchema<[import("valibot").StringSchema<undefined>, import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").FiniteAction<number, undefined>]>, import("valibot").BooleanSchema<undefined>, import("valibot").ArraySchema<import("valibot").StringSchema<undefined>, undefined>, import("valibot").ArraySchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").FiniteAction<number, undefined>]>, undefined>, import("valibot").ObjectSchema<{
455
+ readonly $asset: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>]>;
456
+ readonly mediaType: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>]>;
457
+ readonly bytes: import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>;
458
+ }, undefined>], undefined>, undefined>, undefined>;
459
+ }, undefined>, import("valibot").ObjectSchema<{
460
+ readonly type: import("valibot").LiteralSchema<"state", undefined>;
461
+ readonly value: import("valibot").StringSchema<undefined>;
462
+ readonly from: import("valibot").OptionalSchema<import("valibot").StringSchema<undefined>, undefined>;
463
+ readonly track: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>]>;
464
+ readonly links: import("valibot").OptionalSchema<import("valibot").ArraySchema<import("valibot").ObjectSchema<{
465
+ readonly to: import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
466
+ readonly source: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").RegexAction<string, "A source or an epoch must not contain \"/\".">]>;
467
+ readonly epoch: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").RegexAction<string, "A source or an epoch must not contain \"/\".">]>;
468
+ readonly seq: import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>;
469
+ }, undefined>, import("valibot").ObjectSchema<{
470
+ readonly spanId: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>]>;
471
+ }, undefined>, import("valibot").ObjectSchema<{
472
+ readonly key: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>]>;
473
+ readonly id: import("valibot").UnionSchema<[import("valibot").StringSchema<undefined>, import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").FiniteAction<number, undefined>]>], undefined>;
474
+ }, undefined>], undefined>;
475
+ readonly rel: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>]>;
476
+ }, undefined>, undefined>, undefined>;
477
+ readonly evidence: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["reported", "observed"], undefined>, undefined>;
478
+ readonly source: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").RegexAction<string, "A source or an epoch must not contain \"/\".">]>;
479
+ readonly epoch: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").RegexAction<string, "A source or an epoch must not contain \"/\".">]>;
480
+ readonly seq: import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>;
481
+ readonly ts: import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").FiniteAction<number, undefined>]>;
482
+ readonly clock: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>]>;
483
+ readonly observedTs: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").FiniteAction<number, undefined>]>, undefined>;
484
+ readonly ids: import("valibot").OptionalSchema<import("valibot").RecordSchema<import("valibot").StringSchema<undefined>, import("valibot").UnionSchema<[import("valibot").StringSchema<undefined>, import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").FiniteAction<number, undefined>]>], undefined>, undefined>, undefined>;
485
+ readonly attrs: import("valibot").OptionalSchema<import("valibot").RecordSchema<import("valibot").StringSchema<undefined>, import("valibot").UnionSchema<[import("valibot").StringSchema<undefined>, import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").FiniteAction<number, undefined>]>, import("valibot").BooleanSchema<undefined>, import("valibot").ArraySchema<import("valibot").StringSchema<undefined>, undefined>, import("valibot").ArraySchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").FiniteAction<number, undefined>]>, undefined>, import("valibot").ObjectSchema<{
486
+ readonly $asset: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>]>;
487
+ readonly mediaType: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>]>;
488
+ readonly bytes: import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>;
489
+ }, undefined>], undefined>, undefined>, undefined>;
490
+ }, undefined>, import("valibot").ObjectSchema<{
491
+ readonly type: import("valibot").LiteralSchema<"sample", undefined>;
492
+ readonly values: import("valibot").RecordSchema<import("valibot").StringSchema<undefined>, import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").FiniteAction<number, undefined>]>, undefined>;
493
+ readonly track: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>]>;
494
+ readonly links: import("valibot").OptionalSchema<import("valibot").ArraySchema<import("valibot").ObjectSchema<{
495
+ readonly to: import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
496
+ readonly source: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").RegexAction<string, "A source or an epoch must not contain \"/\".">]>;
497
+ readonly epoch: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").RegexAction<string, "A source or an epoch must not contain \"/\".">]>;
498
+ readonly seq: import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>;
499
+ }, undefined>, import("valibot").ObjectSchema<{
500
+ readonly spanId: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>]>;
501
+ }, undefined>, import("valibot").ObjectSchema<{
502
+ readonly key: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>]>;
503
+ readonly id: import("valibot").UnionSchema<[import("valibot").StringSchema<undefined>, import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").FiniteAction<number, undefined>]>], undefined>;
504
+ }, undefined>], undefined>;
505
+ readonly rel: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>]>;
506
+ }, undefined>, undefined>, undefined>;
507
+ readonly evidence: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["reported", "observed"], undefined>, undefined>;
508
+ readonly source: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").RegexAction<string, "A source or an epoch must not contain \"/\".">]>;
509
+ readonly epoch: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").RegexAction<string, "A source or an epoch must not contain \"/\".">]>;
510
+ readonly seq: import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>;
511
+ readonly ts: import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").FiniteAction<number, undefined>]>;
512
+ readonly clock: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>]>;
513
+ readonly observedTs: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").FiniteAction<number, undefined>]>, undefined>;
514
+ readonly ids: import("valibot").OptionalSchema<import("valibot").RecordSchema<import("valibot").StringSchema<undefined>, import("valibot").UnionSchema<[import("valibot").StringSchema<undefined>, import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").FiniteAction<number, undefined>]>], undefined>, undefined>, undefined>;
515
+ readonly attrs: import("valibot").OptionalSchema<import("valibot").RecordSchema<import("valibot").StringSchema<undefined>, import("valibot").UnionSchema<[import("valibot").StringSchema<undefined>, import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").FiniteAction<number, undefined>]>, import("valibot").BooleanSchema<undefined>, import("valibot").ArraySchema<import("valibot").StringSchema<undefined>, undefined>, import("valibot").ArraySchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").FiniteAction<number, undefined>]>, undefined>, import("valibot").ObjectSchema<{
516
+ readonly $asset: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>]>;
517
+ readonly mediaType: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>]>;
518
+ readonly bytes: import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>;
519
+ }, undefined>], undefined>, undefined>, undefined>;
520
+ }, undefined>, import("valibot").ObjectSchema<{
521
+ readonly type: import("valibot").LiteralSchema<"sample.chunk", undefined>;
522
+ readonly intervalMs: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").FiniteAction<number, undefined>]>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
523
+ readonly offsetsMs: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").ArraySchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").FiniteAction<number, undefined>]>, undefined>, import("valibot").MaxLengthAction<number[], 4096, undefined>]>, undefined>;
524
+ readonly values: import("valibot").SchemaWithPipe<readonly [import("valibot").RecordSchema<import("valibot").StringSchema<undefined>, import("valibot").ArraySchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").FiniteAction<number, undefined>]>, undefined>, undefined>, import("valibot").CheckAction<{
525
+ [x: string]: number[];
526
+ }, "A sample chunk holds at most 4096 points.">]>;
527
+ readonly track: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>]>;
528
+ readonly links: import("valibot").OptionalSchema<import("valibot").ArraySchema<import("valibot").ObjectSchema<{
529
+ readonly to: import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
530
+ readonly source: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").RegexAction<string, "A source or an epoch must not contain \"/\".">]>;
531
+ readonly epoch: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").RegexAction<string, "A source or an epoch must not contain \"/\".">]>;
532
+ readonly seq: import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>;
533
+ }, undefined>, import("valibot").ObjectSchema<{
534
+ readonly spanId: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>]>;
535
+ }, undefined>, import("valibot").ObjectSchema<{
536
+ readonly key: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>]>;
537
+ readonly id: import("valibot").UnionSchema<[import("valibot").StringSchema<undefined>, import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").FiniteAction<number, undefined>]>], undefined>;
538
+ }, undefined>], undefined>;
539
+ readonly rel: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>]>;
540
+ }, undefined>, undefined>, undefined>;
541
+ readonly evidence: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["reported", "observed"], undefined>, undefined>;
542
+ readonly source: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").RegexAction<string, "A source or an epoch must not contain \"/\".">]>;
543
+ readonly epoch: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").RegexAction<string, "A source or an epoch must not contain \"/\".">]>;
544
+ readonly seq: import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>;
545
+ readonly ts: import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").FiniteAction<number, undefined>]>;
546
+ readonly clock: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>]>;
547
+ readonly observedTs: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").FiniteAction<number, undefined>]>, undefined>;
548
+ readonly ids: import("valibot").OptionalSchema<import("valibot").RecordSchema<import("valibot").StringSchema<undefined>, import("valibot").UnionSchema<[import("valibot").StringSchema<undefined>, import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").FiniteAction<number, undefined>]>], undefined>, undefined>, undefined>;
549
+ readonly attrs: import("valibot").OptionalSchema<import("valibot").RecordSchema<import("valibot").StringSchema<undefined>, import("valibot").UnionSchema<[import("valibot").StringSchema<undefined>, import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").FiniteAction<number, undefined>]>, import("valibot").BooleanSchema<undefined>, import("valibot").ArraySchema<import("valibot").StringSchema<undefined>, undefined>, import("valibot").ArraySchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").FiniteAction<number, undefined>]>, undefined>, import("valibot").ObjectSchema<{
550
+ readonly $asset: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>]>;
551
+ readonly mediaType: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>]>;
552
+ readonly bytes: import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>;
553
+ }, undefined>], undefined>, undefined>, undefined>;
554
+ }, undefined>, import("valibot").ObjectSchema<{
555
+ readonly type: import("valibot").LiteralSchema<"log", undefined>;
556
+ readonly level: import("valibot").PicklistSchema<["debug", "info", "warn", "error"], undefined>;
557
+ readonly message: import("valibot").StringSchema<undefined>;
558
+ readonly track: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>]>;
559
+ readonly links: import("valibot").OptionalSchema<import("valibot").ArraySchema<import("valibot").ObjectSchema<{
560
+ readonly to: import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
561
+ readonly source: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").RegexAction<string, "A source or an epoch must not contain \"/\".">]>;
562
+ readonly epoch: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").RegexAction<string, "A source or an epoch must not contain \"/\".">]>;
563
+ readonly seq: import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>;
564
+ }, undefined>, import("valibot").ObjectSchema<{
565
+ readonly spanId: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>]>;
566
+ }, undefined>, import("valibot").ObjectSchema<{
567
+ readonly key: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>]>;
568
+ readonly id: import("valibot").UnionSchema<[import("valibot").StringSchema<undefined>, import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").FiniteAction<number, undefined>]>], undefined>;
569
+ }, undefined>], undefined>;
570
+ readonly rel: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>]>;
571
+ }, undefined>, undefined>, undefined>;
572
+ readonly evidence: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["reported", "observed"], undefined>, undefined>;
573
+ readonly source: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").RegexAction<string, "A source or an epoch must not contain \"/\".">]>;
574
+ readonly epoch: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").RegexAction<string, "A source or an epoch must not contain \"/\".">]>;
575
+ readonly seq: import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>;
576
+ readonly ts: import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").FiniteAction<number, undefined>]>;
577
+ readonly clock: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>]>;
578
+ readonly observedTs: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").FiniteAction<number, undefined>]>, undefined>;
579
+ readonly ids: import("valibot").OptionalSchema<import("valibot").RecordSchema<import("valibot").StringSchema<undefined>, import("valibot").UnionSchema<[import("valibot").StringSchema<undefined>, import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").FiniteAction<number, undefined>]>], undefined>, undefined>, undefined>;
580
+ readonly attrs: import("valibot").OptionalSchema<import("valibot").RecordSchema<import("valibot").StringSchema<undefined>, import("valibot").UnionSchema<[import("valibot").StringSchema<undefined>, import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").FiniteAction<number, undefined>]>, import("valibot").BooleanSchema<undefined>, import("valibot").ArraySchema<import("valibot").StringSchema<undefined>, undefined>, import("valibot").ArraySchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").FiniteAction<number, undefined>]>, undefined>, import("valibot").ObjectSchema<{
581
+ readonly $asset: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>]>;
582
+ readonly mediaType: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>]>;
583
+ readonly bytes: import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>;
584
+ }, undefined>], undefined>, undefined>, undefined>;
585
+ }, undefined>, import("valibot").ObjectSchema<{
586
+ readonly type: import("valibot").LiteralSchema<"definition", undefined>;
587
+ readonly kind: import("valibot").PicklistSchema<["track", "attribute", "id-key", "link", "end-reason", "clock", "metric", "score", "pipeline", "preset", "profile"], undefined>;
588
+ readonly key: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>]>;
589
+ readonly data: import("valibot").UnknownSchema;
590
+ readonly source: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").RegexAction<string, "A source or an epoch must not contain \"/\".">]>;
591
+ readonly epoch: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").RegexAction<string, "A source or an epoch must not contain \"/\".">]>;
592
+ readonly seq: import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>;
593
+ readonly ts: import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").FiniteAction<number, undefined>]>;
594
+ readonly clock: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>]>;
595
+ readonly observedTs: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").FiniteAction<number, undefined>]>, undefined>;
596
+ readonly ids: import("valibot").OptionalSchema<import("valibot").RecordSchema<import("valibot").StringSchema<undefined>, import("valibot").UnionSchema<[import("valibot").StringSchema<undefined>, import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").FiniteAction<number, undefined>]>], undefined>, undefined>, undefined>;
597
+ readonly attrs: import("valibot").OptionalSchema<import("valibot").RecordSchema<import("valibot").StringSchema<undefined>, import("valibot").UnionSchema<[import("valibot").StringSchema<undefined>, import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").FiniteAction<number, undefined>]>, import("valibot").BooleanSchema<undefined>, import("valibot").ArraySchema<import("valibot").StringSchema<undefined>, undefined>, import("valibot").ArraySchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").FiniteAction<number, undefined>]>, undefined>, import("valibot").ObjectSchema<{
598
+ readonly $asset: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>]>;
599
+ readonly mediaType: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>]>;
600
+ readonly bytes: import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>;
601
+ }, undefined>], undefined>, undefined>, undefined>;
602
+ }, undefined>, import("valibot").ObjectSchema<{
603
+ readonly type: import("valibot").LiteralSchema<"annotation", undefined>;
604
+ readonly target: import("valibot").ObjectSchema<{
605
+ readonly ref: import("valibot").OptionalSchema<import("valibot").ObjectSchema<{
606
+ readonly source: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").RegexAction<string, "A source or an epoch must not contain \"/\".">]>;
607
+ readonly epoch: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").RegexAction<string, "A source or an epoch must not contain \"/\".">]>;
608
+ readonly seq: import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>;
609
+ }, undefined>, undefined>;
610
+ readonly spanId: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>]>, undefined>;
611
+ readonly ids: import("valibot").OptionalSchema<import("valibot").RecordSchema<import("valibot").StringSchema<undefined>, import("valibot").UnionSchema<[import("valibot").StringSchema<undefined>, import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").FiniteAction<number, undefined>]>], undefined>, undefined>, undefined>;
612
+ }, undefined>;
613
+ readonly name: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>]>;
614
+ readonly value: import("valibot").OptionalSchema<import("valibot").UnionSchema<[import("valibot").StringSchema<undefined>, import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").FiniteAction<number, undefined>]>, import("valibot").BooleanSchema<undefined>, import("valibot").ArraySchema<import("valibot").StringSchema<undefined>, undefined>, import("valibot").ArraySchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").FiniteAction<number, undefined>]>, undefined>, import("valibot").ObjectSchema<{
615
+ readonly $asset: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>]>;
616
+ readonly mediaType: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>]>;
617
+ readonly bytes: import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>;
618
+ }, undefined>], undefined>, undefined>;
619
+ readonly label: import("valibot").OptionalSchema<import("valibot").StringSchema<undefined>, undefined>;
620
+ readonly explanation: import("valibot").OptionalSchema<import("valibot").StringSchema<undefined>, undefined>;
621
+ readonly annotator: import("valibot").ObjectSchema<{
622
+ readonly kind: import("valibot").PicklistSchema<["rule", "model", "human"], undefined>;
623
+ readonly id: import("valibot").OptionalSchema<import("valibot").StringSchema<undefined>, undefined>;
624
+ readonly model: import("valibot").OptionalSchema<import("valibot").StringSchema<undefined>, undefined>;
625
+ readonly version: import("valibot").OptionalSchema<import("valibot").StringSchema<undefined>, undefined>;
626
+ }, undefined>;
627
+ readonly source: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").RegexAction<string, "A source or an epoch must not contain \"/\".">]>;
628
+ readonly epoch: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").RegexAction<string, "A source or an epoch must not contain \"/\".">]>;
629
+ readonly seq: import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>;
630
+ readonly ts: import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").FiniteAction<number, undefined>]>;
631
+ readonly clock: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>]>;
632
+ readonly observedTs: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").FiniteAction<number, undefined>]>, undefined>;
633
+ readonly ids: import("valibot").OptionalSchema<import("valibot").RecordSchema<import("valibot").StringSchema<undefined>, import("valibot").UnionSchema<[import("valibot").StringSchema<undefined>, import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").FiniteAction<number, undefined>]>], undefined>, undefined>, undefined>;
634
+ readonly attrs: import("valibot").OptionalSchema<import("valibot").RecordSchema<import("valibot").StringSchema<undefined>, import("valibot").UnionSchema<[import("valibot").StringSchema<undefined>, import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").FiniteAction<number, undefined>]>, import("valibot").BooleanSchema<undefined>, import("valibot").ArraySchema<import("valibot").StringSchema<undefined>, undefined>, import("valibot").ArraySchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").FiniteAction<number, undefined>]>, undefined>, import("valibot").ObjectSchema<{
635
+ readonly $asset: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>]>;
636
+ readonly mediaType: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>]>;
637
+ readonly bytes: import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>;
638
+ }, undefined>], undefined>, undefined>, undefined>;
639
+ }, undefined>], undefined>;
640
+ //#endregion
641
+ //#region src/core/sink.d.ts
642
+ /**
643
+ * Where producers write trace records.
644
+ *
645
+ * A sink is a dependency at an external boundary, because records leave the module. A module without a sink uses
646
+ * {@link noopTraceSink} and pays only one call.
647
+ */
648
+ interface TraceSink {
649
+ emit: (record: TraceRecordInput) => void;
650
+ /**
651
+ * Tells whether a track path has a reader or an active capture preset.
652
+ * A producer skips a costly series, such as a VAD probability, while it returns false.
653
+ */
654
+ wants: (track: string) => boolean;
655
+ /** The value of the source clock now. A producer uses it for `ts` and for backdated records. */
656
+ now: () => number;
657
+ }
658
+ declare const noopTraceSink: TraceSink;
659
+ /**
660
+ * Sends each record to several sinks. The error of one sink goes to `onError` and does not stop the others.
661
+ * `wants` is true when any sink wants the track. `now` comes from the first sink.
662
+ */
663
+ declare function fanOutTraceSink(sinks: TraceSink[], onError: (error: unknown) => void): TraceSink;
664
+ interface TraceSourceOptions {
665
+ /** Stable ID of the producer, for example `window:main`. */
666
+ source: string;
667
+ /** The monotonic clock of the source, for example `mono:window:main`. */
668
+ clock: string;
669
+ /** For example `electron-renderer` or `browser`. */
670
+ runtime: string;
671
+ profiles?: TraceProfileDefinition[];
672
+ /** Attributes of `source.started`, for example the route of a window. */
673
+ attrs?: TraceAttributes;
674
+ /** Receives each stamped record. The transport to the collector. */
675
+ send: (record: TraceRecord) => void;
676
+ /** @default performance.now */
677
+ now?: () => number;
678
+ /** @default crypto.randomUUID */
679
+ createEpoch?: () => string;
680
+ }
681
+ /**
682
+ * One run of a producer: it stamps `source`, `epoch`, `seq`, and the default clock on each record.
683
+ *
684
+ * Lifecycle: the constructor writes `source.started` and the definitions of its profiles. `stop` writes
685
+ * `source.stopped` and ignores later records. A reload creates a new instance, which is a new epoch.
686
+ *
687
+ * `wants` reads the track set that {@link TraceSource.setWanted} received from the collector. Until the collector
688
+ * answers, no costly series is wanted.
689
+ */
690
+ declare class TraceSource implements TraceSink {
691
+ readonly source: string;
692
+ readonly epoch: string;
693
+ readonly clock: string;
694
+ private seq;
695
+ private stopped;
696
+ private wanted;
697
+ private wantsAll;
698
+ private readonly sendRecord;
699
+ readonly now: () => number;
700
+ constructor(options: TraceSourceOptions);
701
+ /** Announces the definitions of a profile, for example a plugin profile that loads later. */
702
+ announce(profile: TraceProfileDefinition): void;
703
+ emit: (input: TraceRecordInput) => void;
704
+ wants: (track: string) => boolean;
705
+ /** Sets the track paths that readers show. `'*'` wants every track. */
706
+ setWanted(tracks: Iterable<string> | '*'): void;
707
+ stop(): void;
708
+ }
709
+ /** A random 16 hex digit span ID, the size of a W3C trace context span ID. */
710
+ declare function createSpanId(): string;
711
+ interface BeginSpanOptions {
712
+ track: string;
713
+ name: string;
714
+ ids?: TraceIds;
715
+ attrs?: TraceAttributes;
716
+ links?: TraceLink[];
717
+ /** The span ID of the enclosing span. Real nesting only. */
718
+ parent?: string | TraceSpan;
719
+ deadlineMs?: number;
720
+ /** A backdated start, on the source clock. @default sink.now() */
721
+ ts?: number;
722
+ /** A known span ID, for example one that another record already links to. @default createSpanId() */
723
+ spanId?: string;
724
+ }
725
+ interface EndSpanOptions {
726
+ status?: TraceStatus;
727
+ reason?: string;
728
+ message?: string;
729
+ attrs?: TraceAttributes;
730
+ links?: TraceLink[];
731
+ /** A backdated end, on the source clock. */
732
+ ts?: number;
733
+ }
734
+ /**
735
+ * An open span of one producer. It writes `span.begin` at once, so readers see open work.
736
+ *
737
+ * Lifecycle: `end` writes `span.end` once. Later calls of `update`, `instant`, and `end` do nothing, so a cleanup
738
+ * path can end a span that a success path already ended.
739
+ */
740
+ declare class TraceSpan {
741
+ private readonly sink;
742
+ readonly spanId: string;
743
+ readonly track: string;
744
+ readonly ids: TraceIds | undefined;
745
+ private ended;
746
+ constructor(sink: TraceSink, options: BeginSpanOptions);
747
+ get isEnded(): boolean;
748
+ update(attrs: TraceAttributes): void;
749
+ instant(name: string, attrs?: TraceAttributes, ts?: number): void;
750
+ end(options?: EndSpanOptions): void;
751
+ private idFields;
752
+ }
753
+ /** Writes `span.begin` on `sink` and returns the open span. */
754
+ declare function beginSpan(sink: TraceSink, options: BeginSpanOptions): TraceSpan;
755
+ interface SeriesWriterOptions {
756
+ track: string;
757
+ ids?: TraceIds;
758
+ /** A chunk holds the samples of about this long. @default 1000 */
759
+ chunkMs?: number;
760
+ }
761
+ /**
762
+ * Writes a frequent series, such as an audio level or a VAD probability, as `sample.chunk` records.
763
+ *
764
+ * Samples wait in memory until the chunk reaches `chunkMs`, then go out as one record with offsets from its first
765
+ * sample. While the sink does not want the track, `push` drops the sample, so a series that no one reads costs nothing.
766
+ * Call `flush` when the series pauses, for example when an input ends, so its last samples show at once.
767
+ */
768
+ declare class SeriesWriter {
769
+ private readonly sink;
770
+ private readonly options;
771
+ private readonly chunkMs;
772
+ private start;
773
+ private readonly offsets;
774
+ private readonly values;
775
+ constructor(sink: () => TraceSink, options: SeriesWriterOptions);
776
+ /** Whether a reader wants the track now. A producer can skip costly work, such as decoding, while it is false. */
777
+ wanted(): boolean;
778
+ push(values: Record<string, number>, ts?: number): void;
779
+ flush(): void;
780
+ }
781
+ //#endregion
782
+ export { ATTR_AIRI_TOPIC_ID, ATTR_CENSORED, ATTR_DECIDER, ATTR_DECISION_CHOICES, ATTR_DECISION_LATENCY_MS, ATTR_DECISION_P, ATTR_DECISION_REASON, ATTR_DECISION_THRESHOLD, ATTR_DECISION_VERDICT, ATTR_FALLBACK_INDEX, ATTR_GEN_AI_AGENT_DESCRIPTION, ATTR_GEN_AI_AGENT_ID, ATTR_GEN_AI_AGENT_NAME, ATTR_GEN_AI_AGENT_VERSION, ATTR_GEN_AI_CONVERSATION_COMPACTED, ATTR_GEN_AI_CONVERSATION_ID, ATTR_GEN_AI_DATA_SOURCE_ID, ATTR_GEN_AI_EMBEDDINGS_DIMENSION_COUNT, ATTR_GEN_AI_EVALUATION_EXPLANATION, ATTR_GEN_AI_EVALUATION_NAME, ATTR_GEN_AI_EVALUATION_SCORE_LABEL, ATTR_GEN_AI_EVALUATION_SCORE_VALUE, ATTR_GEN_AI_INPUT_MESSAGES, ATTR_GEN_AI_INPUT_MESSAGES_REF, ATTR_GEN_AI_MAIN_AGENT_DESCRIPTION, ATTR_GEN_AI_MAIN_AGENT_ID, ATTR_GEN_AI_MAIN_AGENT_NAME, ATTR_GEN_AI_MEMORY_QUERY_TEXT, ATTR_GEN_AI_MEMORY_RECORDS, ATTR_GEN_AI_MEMORY_RECORD_COUNT, ATTR_GEN_AI_MEMORY_RECORD_ID, ATTR_GEN_AI_MEMORY_STORE_ID, ATTR_GEN_AI_OPERATION_NAME, ATTR_GEN_AI_OUTPUT_MESSAGES, ATTR_GEN_AI_OUTPUT_MESSAGES_REF, ATTR_GEN_AI_OUTPUT_TYPE, ATTR_GEN_AI_PROMPT_NAME, ATTR_GEN_AI_PROMPT_VARIABLE, ATTR_GEN_AI_PROMPT_VERSION, ATTR_GEN_AI_PROVIDER_NAME, ATTR_GEN_AI_REALTIME_SESSION_ID, ATTR_GEN_AI_REQUEST_CHOICE_COUNT, ATTR_GEN_AI_REQUEST_ENCODING_FORMATS, ATTR_GEN_AI_REQUEST_FREQUENCY_PENALTY, ATTR_GEN_AI_REQUEST_MAX_TOKENS, ATTR_GEN_AI_REQUEST_MODEL, ATTR_GEN_AI_REQUEST_PRESENCE_PENALTY, ATTR_GEN_AI_REQUEST_PREVIOUS_RESPONSE_ID, ATTR_GEN_AI_REQUEST_REASONING_LEVEL, ATTR_GEN_AI_REQUEST_SEED, ATTR_GEN_AI_REQUEST_STOP_SEQUENCES, ATTR_GEN_AI_REQUEST_STREAM, ATTR_GEN_AI_REQUEST_STREAM_CURSOR, ATTR_GEN_AI_REQUEST_TEMPERATURE, ATTR_GEN_AI_REQUEST_TOP_K, ATTR_GEN_AI_REQUEST_TOP_P, ATTR_GEN_AI_RESPONSE_FINISH_REASONS, ATTR_GEN_AI_RESPONSE_ID, ATTR_GEN_AI_RESPONSE_MODEL, ATTR_GEN_AI_RESPONSE_STATUS, ATTR_GEN_AI_RESPONSE_TIME_TO_FIRST_CHUNK, ATTR_GEN_AI_RETRIEVAL_DOCUMENTS, ATTR_GEN_AI_RETRIEVAL_QUERY_TEXT, ATTR_GEN_AI_RETRIEVAL_TOP_K, ATTR_GEN_AI_SKILL_DESCRIPTION, ATTR_GEN_AI_SKILL_NAME, ATTR_GEN_AI_SKILL_RESOURCE_NAME, ATTR_GEN_AI_SKILL_SOURCE_URI, ATTR_GEN_AI_SYSTEM_INSTRUCTIONS, ATTR_GEN_AI_SYSTEM_INSTRUCTIONS_REF, ATTR_GEN_AI_TOKEN_MODALITY, ATTR_GEN_AI_TOOL_CALL_ARGUMENTS, ATTR_GEN_AI_TOOL_CALL_ID, ATTR_GEN_AI_TOOL_CALL_RESULT, ATTR_GEN_AI_TOOL_DEFINITIONS, ATTR_GEN_AI_TOOL_DEFINITIONS_REF, ATTR_GEN_AI_TOOL_DESCRIPTION, ATTR_GEN_AI_TOOL_NAME, ATTR_GEN_AI_TOOL_TYPE, ATTR_GEN_AI_TRANSFER_MODE, ATTR_GEN_AI_TRANSFER_TARGET_NAME, ATTR_GEN_AI_USAGE_AUDIO_CACHE_READ_INPUT_TOKENS, ATTR_GEN_AI_USAGE_AUDIO_INPUT_TOKENS, ATTR_GEN_AI_USAGE_AUDIO_OUTPUT_TOKENS, ATTR_GEN_AI_USAGE_CACHE_READ_INPUT_TOKENS, ATTR_GEN_AI_USAGE_CACHE_WRITE_INPUT_TOKENS, ATTR_GEN_AI_USAGE_IMAGE_CACHE_READ_INPUT_TOKENS, ATTR_GEN_AI_USAGE_IMAGE_INPUT_TOKENS, ATTR_GEN_AI_USAGE_IMAGE_OUTPUT_TOKENS, ATTR_GEN_AI_USAGE_INPUT_TOKENS, ATTR_GEN_AI_USAGE_OUTPUT_TOKENS, ATTR_GEN_AI_USAGE_REASONING_OUTPUT_TOKENS, ATTR_GEN_AI_USAGE_TEXT_CACHE_READ_INPUT_TOKENS, ATTR_GEN_AI_USAGE_TEXT_INPUT_TOKENS, ATTR_GEN_AI_USAGE_TEXT_OUTPUT_TOKENS, ATTR_MSG_KIND, ATTR_MSG_NAME, ATTR_MSG_TO, ATTR_PROVIDER_ITEM_ID, ATTR_PROVIDER_REQUEST_ID, ATTR_PROVIDER_RESPONSE_ID, ATTR_REPLAY_INPUT, ATTR_RETRY_COUNT, ATTR_RULE, ATTR_STREAM_END_FRAME, ATTR_STREAM_ID, ATTR_STREAM_START_FRAME, ATTR_WARMUP, ATTR_WORK_INTERRUPTIBLE, BeginSpanOptions, ClockConversion, ClockGraph, ClockGraphOptions, ClockPingSample, ContentPolicy, EndSpanOptions, GEN_AI_OPERATION_NAME_VALUE_CHAT, GEN_AI_OPERATION_NAME_VALUE_CREATE_AGENT, GEN_AI_OPERATION_NAME_VALUE_CREATE_MEMORY, GEN_AI_OPERATION_NAME_VALUE_CREATE_MEMORY_STORE, GEN_AI_OPERATION_NAME_VALUE_DELETE_MEMORY, GEN_AI_OPERATION_NAME_VALUE_DELETE_MEMORY_STORE, GEN_AI_OPERATION_NAME_VALUE_EMBEDDINGS, GEN_AI_OPERATION_NAME_VALUE_EXECUTE_TOOL, GEN_AI_OPERATION_NAME_VALUE_FETCH_RESPONSE, GEN_AI_OPERATION_NAME_VALUE_GENERATE_CONTENT, GEN_AI_OPERATION_NAME_VALUE_INVOKE_AGENT, GEN_AI_OPERATION_NAME_VALUE_INVOKE_RUNNER, GEN_AI_OPERATION_NAME_VALUE_INVOKE_WORKFLOW, GEN_AI_OPERATION_NAME_VALUE_PLAN, GEN_AI_OPERATION_NAME_VALUE_REALTIME_INFERENCE, GEN_AI_OPERATION_NAME_VALUE_RETRIEVAL, GEN_AI_OPERATION_NAME_VALUE_SEARCH_MEMORY, GEN_AI_OPERATION_NAME_VALUE_TEXT_COMPLETION, GEN_AI_OPERATION_NAME_VALUE_UPDATE_MEMORY, GEN_AI_OPERATION_NAME_VALUE_UPSERT_MEMORY, GEN_AI_OPERATION_NAME_VALUE_USER_SPEECH, GEN_AI_OUTPUT_TYPE_VALUE_IMAGE, GEN_AI_OUTPUT_TYPE_VALUE_JSON, GEN_AI_OUTPUT_TYPE_VALUE_SPEECH, GEN_AI_OUTPUT_TYPE_VALUE_TEXT, GEN_AI_PROVIDER_NAME_VALUE_ANTHROPIC, GEN_AI_PROVIDER_NAME_VALUE_AWS_BEDROCK, GEN_AI_PROVIDER_NAME_VALUE_AZURE_AI_INFERENCE, GEN_AI_PROVIDER_NAME_VALUE_AZURE_AI_OPENAI, GEN_AI_PROVIDER_NAME_VALUE_COHERE, GEN_AI_PROVIDER_NAME_VALUE_DEEPSEEK, GEN_AI_PROVIDER_NAME_VALUE_GCP_GEMINI, GEN_AI_PROVIDER_NAME_VALUE_GCP_GEN_AI, GEN_AI_PROVIDER_NAME_VALUE_GCP_VERTEX_AI, GEN_AI_PROVIDER_NAME_VALUE_GROQ, GEN_AI_PROVIDER_NAME_VALUE_IBM_WATSONX_AI, GEN_AI_PROVIDER_NAME_VALUE_MISTRAL, GEN_AI_PROVIDER_NAME_VALUE_MOONSHOT_AI, GEN_AI_PROVIDER_NAME_VALUE_OLLAMA, GEN_AI_PROVIDER_NAME_VALUE_OPENAI, GEN_AI_PROVIDER_NAME_VALUE_PERPLEXITY, GEN_AI_PROVIDER_NAME_VALUE_X_AI, GEN_AI_RESPONSE_STATUS_VALUE_CANCELLED, GEN_AI_RESPONSE_STATUS_VALUE_COMPLETED, GEN_AI_RESPONSE_STATUS_VALUE_FAILED, GEN_AI_RESPONSE_STATUS_VALUE_INCOMPLETE, GEN_AI_RESPONSE_STATUS_VALUE_IN_PROGRESS, GEN_AI_RESPONSE_STATUS_VALUE_QUEUED, GEN_AI_TOKEN_MODALITY_VALUE_AUDIO, GEN_AI_TOKEN_MODALITY_VALUE_IMAGE, GEN_AI_TOKEN_MODALITY_VALUE_TEXT, GEN_AI_TOKEN_MODALITY_VALUE_UNKNOWN, GEN_AI_TRANSFER_MODE_VALUE_PASS_CONTROL, GEN_AI_TRANSFER_MODE_VALUE_RETURN_TO_CALLER, Localizable, MAX_CHUNK_POINTS, METRIC_GEN_AI_CLIENT_EMBEDDINGS_DURATION, METRIC_GEN_AI_CLIENT_EMBEDDINGS_OPERATION_INPUT_TOKENS, METRIC_GEN_AI_CLIENT_INFERENCE_DURATION, METRIC_GEN_AI_CLIENT_INFERENCE_OPERATION_INPUT_TOKENS, METRIC_GEN_AI_CLIENT_INFERENCE_OPERATION_OUTPUT_TOKENS, METRIC_GEN_AI_CLIENT_INFERENCE_TIME_PER_OUTPUT_CHUNK, METRIC_GEN_AI_CLIENT_INFERENCE_TIME_TO_FIRST_CHUNK, METRIC_GEN_AI_CLIENT_INFERENCE_USAGE_CACHE_READ_INPUT_TOKENS, METRIC_GEN_AI_CLIENT_INFERENCE_USAGE_CACHE_WRITE_INPUT_TOKENS, METRIC_GEN_AI_CLIENT_INFERENCE_USAGE_INPUT_TOKENS, METRIC_GEN_AI_CLIENT_INFERENCE_USAGE_OUTPUT_TOKENS, METRIC_GEN_AI_CLIENT_INFERENCE_USAGE_REASONING_OUTPUT_TOKENS, METRIC_GEN_AI_CLIENT_INVOKE_AGENT_DURATION, METRIC_GEN_AI_CLIENT_OPERATION_DURATION, METRIC_GEN_AI_EXECUTE_TOOL_DURATION, METRIC_GEN_AI_INVOKE_AGENT_DURATION, METRIC_GEN_AI_INVOKE_AGENT_INFERENCE_CALLS, METRIC_GEN_AI_INVOKE_AGENT_TOOL_CALLS, METRIC_GEN_AI_RETRIEVAL_DURATION, METRIC_GEN_AI_SERVER_REQUEST_DURATION, METRIC_GEN_AI_SERVER_TIME_PER_OUTPUT_TOKEN, METRIC_GEN_AI_SERVER_TIME_TO_FIRST_TOKEN, SEMCONV_GENAI_COMMIT, SeriesWriter, SeriesWriterOptions, TRACE_CONVENTIONS_VERSION, TRACE_FORMAT, TraceActivity, TraceAggregate, TraceAnnotation, TraceAnnotator, TraceAssetRef, TraceAttributeDefinition, TraceAttributes, TraceClockDefinition, TraceClockDiscontinuity, TraceClockSnapshot, TraceDefinitionKind, TraceDefinitionRecord, TraceEdgeKinds, TraceEndReasonDefinition, TraceEndReasons, TraceFeedMessage, TraceFeedSource, TraceIdKeyDefinition, TraceIds, TraceInstant, TraceLink, TraceLinkDefinition, TraceLinkRelations, TraceLog, TraceMetricDefinition, TraceMetricValue, TracePipelineDefinition, TracePipelineStage, TracePresetDefinition, TraceProfileDefinition, TraceRecord, TraceRecordBase, TraceRecordInput, TraceRecordType, TraceRef, TraceSample, TraceSampleChunk, TraceScoreDefinition, TraceSeriesMessage, TraceSink, TraceSource, TraceSourceLost, TraceSourceLostReason, TraceSourceOptions, TraceSourceStarted, TraceSourceStopped, TraceSpan, TraceSpanBegin, TraceSpanComplete, TraceSpanEnd, TraceSpanUpdate, TraceState, TraceStatus, TraceStreamStarted, TraceStreamStopped, TraceSystemRecord, TraceText, TraceTrackDefinition, TraceTrackRender, TraceTrackedRecord, TraceUntrackedRecordBase, TraceValue, aggregate, applyContentPolicy, beginSpan, conventionAttributes, createSpanId, defineAttribute, defineClock, defineEndReason, defineIdKey, defineLink, defineMetric, definePipeline, definePreset, defineProfile, defineScore, defineTrack, definitionRecordsOf, epochKeyOf, fanOutTraceSink, isSystemRecord, isTrackedRecord, localize, matchTrackPath, measureClockOffset, noopTraceSink, percentile, recordKey, scrubSecrets, spanKeyOf, streamClockOf, traceRecordSchema, trackPath };