@omniviewdev/runtime 0.9.2 → 0.11.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (121) hide show
  1. package/dist/api.cjs +1 -1
  2. package/dist/api.d.ts +8 -6
  3. package/dist/api.js +249 -117
  4. package/dist/bindings/events/index.d.ts +48 -0
  5. package/dist/bindings/github.com/omniviewdev/omniview/backend/pkg/invocation/index.d.ts +1 -0
  6. package/dist/bindings/github.com/omniviewdev/omniview/backend/pkg/invocation/models.d.ts +19 -0
  7. package/dist/bindings/github.com/omniviewdev/omniview/backend/pkg/plugin/exec/servicewrapper.d.ts +1 -1
  8. package/dist/bindings/github.com/omniviewdev/omniview/backend/pkg/plugin/logs/servicewrapper.d.ts +1 -1
  9. package/dist/bindings/github.com/omniviewdev/omniview/backend/pkg/plugin/metric/index.d.ts +1 -1
  10. package/dist/bindings/github.com/omniviewdev/omniview/backend/pkg/plugin/metric/models.d.ts +0 -20
  11. package/dist/bindings/github.com/omniviewdev/omniview/backend/pkg/plugin/metric/servicewrapper.d.ts +3 -6
  12. package/dist/bindings/github.com/omniviewdev/omniview/backend/pkg/plugin/networker/servicewrapper.d.ts +1 -1
  13. package/dist/bindings/github.com/omniviewdev/omniview/backend/pkg/plugin/resource/graph/index.d.ts +2 -2
  14. package/dist/bindings/github.com/omniviewdev/omniview/backend/pkg/plugin/resource/graph/models.d.ts +3 -15
  15. package/dist/bindings/github.com/omniviewdev/omniview/backend/pkg/plugin/resource/graphservice.d.ts +5 -18
  16. package/dist/bindings/github.com/omniviewdev/omniview/backend/pkg/plugin/resource/index.d.ts +1 -1
  17. package/dist/bindings/github.com/omniviewdev/omniview/backend/pkg/plugin/resource/models.d.ts +190 -9
  18. package/dist/bindings/github.com/omniviewdev/omniview/backend/pkg/plugin/resource/servicewrapper.d.ts +34 -74
  19. package/dist/bindings/github.com/omniviewdev/omniview/backend/window/index.d.ts +3 -0
  20. package/dist/bindings/github.com/omniviewdev/omniview/backend/window/models.d.ts +190 -0
  21. package/dist/bindings/github.com/omniviewdev/omniview/backend/window/service.d.ts +83 -0
  22. package/dist/bindings/github.com/omniviewdev/omniview/internal/mcprelay/index.d.ts +3 -0
  23. package/dist/bindings/github.com/omniviewdev/omniview/internal/mcprelay/models.d.ts +178 -0
  24. package/dist/bindings/github.com/omniviewdev/omniview/internal/mcprelay/servicewrapper.d.ts +30 -0
  25. package/dist/bindings/github.com/omniviewdev/plugin-sdk/pkg/config/models.d.ts +27 -0
  26. package/dist/bindings/github.com/omniviewdev/plugin-sdk/pkg/resource/v2/index.d.ts +2 -0
  27. package/dist/bindings/github.com/omniviewdev/plugin-sdk/pkg/resource/v2/models.d.ts +809 -0
  28. package/dist/bindings/github.com/omniviewdev/plugin-sdk/pkg/types/models.d.ts +94 -0
  29. package/dist/bindings/github.com/omniviewdev/plugin-sdk/pkg/v1/exec/models.d.ts +16 -6
  30. package/dist/bindings/github.com/omniviewdev/plugin-sdk/pkg/v1/logs/index.d.ts +1 -1
  31. package/dist/bindings/github.com/omniviewdev/plugin-sdk/pkg/v1/logs/models.d.ts +27 -17
  32. package/dist/bindings/github.com/omniviewdev/plugin-sdk/pkg/v1/metric/index.d.ts +1 -1
  33. package/dist/bindings/github.com/omniviewdev/plugin-sdk/pkg/v1/metric/models.d.ts +47 -24
  34. package/dist/bindings/github.com/omniviewdev/plugin-sdk/pkg/v1/networker/index.d.ts +1 -1
  35. package/dist/bindings/github.com/omniviewdev/plugin-sdk/pkg/v1/networker/models.d.ts +41 -20
  36. package/dist/bindings/github.com/omniviewdev/plugin-sdk/settings/models.d.ts +16 -4
  37. package/dist/{calls-Bg_uMVc9.cjs → calls-B-HP1Icv.cjs} +1 -1
  38. package/dist/{calls-BvZkVSse.js → calls-DYGtxNJ6.js} +1 -0
  39. package/dist/compat/types.d.ts +1 -1
  40. package/dist/context/drawer/RightDrawerContext.d.ts +8 -4
  41. package/dist/context/drawer/types.d.ts +11 -21
  42. package/dist/context/index.d.ts +1 -0
  43. package/dist/context/operations/OperationsContext.d.ts +5 -5
  44. package/dist/context/windows/WindowActionsContext.d.ts +31 -0
  45. package/dist/context/windows/activePageNavigator.d.ts +13 -0
  46. package/dist/context/windows/index.d.ts +2 -0
  47. package/dist/exec.d.ts +5 -0
  48. package/dist/graph-JDqyJC_i.js +10 -0
  49. package/dist/graph-wHun0Bkz.cjs +1 -0
  50. package/dist/hooks/connection/index.d.ts +2 -1
  51. package/dist/hooks/connection/useConnection.d.ts +9 -30
  52. package/dist/hooks/connection/useConnectionProfiles.d.ts +7 -0
  53. package/dist/hooks/connection/useConnectionStatus.d.ts +8 -1
  54. package/dist/hooks/connection/useConnections.d.ts +3 -2
  55. package/dist/hooks/connection/useScopeValues.d.ts +9 -0
  56. package/dist/hooks/logs/useLogSession.d.ts +4 -1
  57. package/dist/hooks/metric/useMetricStream.d.ts +6 -2
  58. package/dist/hooks/metric/useResourceMetrics.d.ts +6 -2
  59. package/dist/hooks/networker/types.d.ts +5 -2
  60. package/dist/hooks/networker/useResourcePortForwarder.d.ts +1 -1
  61. package/dist/hooks/resource/useConnectionQueryGuard.d.ts +1 -1
  62. package/dist/hooks/resource/useDependencyTree.d.ts +4 -12
  63. package/dist/hooks/resource/useEditorSchemas.d.ts +12 -7
  64. package/dist/hooks/resource/useEventBatcher.d.ts +11 -47
  65. package/dist/hooks/resource/useRelatedResources.d.ts +6 -14
  66. package/dist/hooks/resource/useResolvedResourceTarget.d.ts +162 -0
  67. package/dist/hooks/resource/useResource.d.ts +7 -58
  68. package/dist/hooks/resource/useResourceActions.d.ts +9 -58
  69. package/dist/hooks/resource/useResourceGraph.d.ts +4 -12
  70. package/dist/hooks/resource/useResourceGroups.d.ts +5 -19
  71. package/dist/hooks/resource/useResourceMutations.d.ts +5 -61
  72. package/dist/hooks/resource/useResourceSearch.d.ts +5 -34
  73. package/dist/hooks/resource/useResourceType.d.ts +6 -19
  74. package/dist/hooks/resource/useResourceTypes.d.ts +5 -20
  75. package/dist/hooks/resource/useResources.d.ts +32 -60
  76. package/dist/hooks/resource/useStreamAction.d.ts +4 -8
  77. package/dist/hooks/resource/useWatchState.d.ts +15 -22
  78. package/dist/index.cjs +4 -4
  79. package/dist/index.d.ts +6 -1
  80. package/dist/index.js +3007 -2881
  81. package/dist/logs.d.ts +14 -0
  82. package/dist/metric.d.ts +35 -0
  83. package/dist/models-Cg1YRHQm.js +583 -0
  84. package/dist/models-DSGyy8lg.cjs +1 -0
  85. package/dist/models-UwESEW2B.js +1232 -0
  86. package/dist/models-dzj-SsFZ.cjs +1 -0
  87. package/dist/models.cjs +1 -1
  88. package/dist/models.d.ts +14 -8
  89. package/dist/models.js +118 -208
  90. package/dist/networker.d.ts +31 -0
  91. package/dist/resource/v2/ancillary.d.ts +161 -0
  92. package/dist/resource/v2/client.d.ts +57 -0
  93. package/dist/resource/v2/domain.d.ts +204 -0
  94. package/dist/resource/v2/graph-client.d.ts +7 -0
  95. package/dist/resource/v2/graph.d.ts +35 -0
  96. package/dist/resource/v2/host.d.ts +129 -0
  97. package/dist/resource/v2/requestJSON.d.ts +2 -0
  98. package/dist/resource/v2/value.d.ts +9 -0
  99. package/dist/resourceQueryKeys.d.ts +8 -4
  100. package/dist/router/Link.d.ts +3 -0
  101. package/dist/runtime.cjs +1 -1
  102. package/dist/runtime.js +1 -1
  103. package/dist/search.d.ts +9 -11
  104. package/dist/servicewrapper-BOM6A8IG.cjs +1 -0
  105. package/dist/servicewrapper-Bda7yi8z.js +684 -0
  106. package/dist/types/watch.d.ts +48 -21
  107. package/dist/utils/activeSyncAggregator.d.ts +2 -2
  108. package/package.json +3 -3
  109. package/dist/bindings/github.com/omniviewdev/plugin-sdk/pkg/v1/resource/index.d.ts +0 -2
  110. package/dist/bindings/github.com/omniviewdev/plugin-sdk/pkg/v1/resource/models.d.ts +0 -1199
  111. package/dist/compat/resource.d.ts +0 -4
  112. package/dist/hooks/connection/useConnectionNamespaces.d.ts +0 -21
  113. package/dist/legacyEnum-CKqyRmbX.js +0 -15
  114. package/dist/legacyEnum-DkV5yRdA.cjs +0 -1
  115. package/dist/models-CT4kHj47.js +0 -2444
  116. package/dist/models-DQl7tqts.cjs +0 -1
  117. package/dist/models-DU8pTcoZ.js +0 -142
  118. package/dist/models-KV9f8Ceh.cjs +0 -1
  119. package/dist/servicewrapper-C6SURWw1.js +0 -850
  120. package/dist/servicewrapper-COMjQHnY.cjs +0 -1
  121. package/dist/utils/resourceKey.d.ts +0 -12
@@ -0,0 +1,809 @@
1
+ import * as json$0 from "../../../../../../encoding/json/models.js";
2
+ /**
3
+ * AccessRoute selects a configured connection, not an identity or permission.
4
+ * Connection must be explicit; an empty route never selects a default client.
5
+ */
6
+ export declare class AccessRoute {
7
+ "connection": string;
8
+ /** Creates a new AccessRoute instance. */
9
+ constructor($$source?: Partial<AccessRoute>);
10
+ /**
11
+ * Creates a new AccessRoute instance from a string or object.
12
+ */
13
+ static createFrom($$source?: any): AccessRoute;
14
+ }
15
+ /**
16
+ * ActionDescriptor advertises one named action's presentation and input/output
17
+ * hints. Catalog action capability and invocation admission remain independent.
18
+ */
19
+ export declare class ActionDescriptor {
20
+ "id": string;
21
+ "label": string;
22
+ "description": string;
23
+ "icon": string;
24
+ "scope": ActionScope;
25
+ "streaming": boolean;
26
+ /**
27
+ * Nil schemas mean no schema was supplied, not that all inputs or outputs
28
+ * have been validated. Dispatch does not fill defaults from these schemas.
29
+ */
30
+ "paramsSchema"?: Schema | null;
31
+ "outputSchema"?: Schema | null;
32
+ /**
33
+ * Dangerous is a UI warning hint, never an authorization decision.
34
+ */
35
+ "dangerous"?: boolean;
36
+ /** Creates a new ActionDescriptor instance. */
37
+ constructor($$source?: Partial<ActionDescriptor>);
38
+ /**
39
+ * Creates a new ActionDescriptor instance from a string or object.
40
+ */
41
+ static createFrom($$source?: any): ActionDescriptor;
42
+ }
43
+ /**
44
+ * ActionScope distinguishes object actions from type-level actions. It is
45
+ * descriptive metadata, not authority to widen a request's admitted reference.
46
+ */
47
+ export declare enum ActionScope {
48
+ /**
49
+ * The Go zero value for the underlying type of the enum.
50
+ */
51
+ $zero = "",
52
+ /**
53
+ * ActionScopeInstance associates an action with an exact resource reference.
54
+ */
55
+ ActionScopeInstance = "instance",
56
+ /**
57
+ * ActionScopeType associates an action with a resource type rather than an instance.
58
+ */
59
+ ActionScopeType = "type"
60
+ }
61
+ /**
62
+ * Catalog describes support observed through the requested route. Revision is
63
+ * an opaque observation used for admission, not an authorization credential.
64
+ * Failed or denied discovery is an error, not an empty complete catalog.
65
+ */
66
+ export type Catalog = any;
67
+ /**
68
+ * CatalogRequest discovers support through one explicit access route. Discovery
69
+ * does not start a connection or grant authority over the returned types.
70
+ */
71
+ export declare class CatalogRequest {
72
+ "route": AccessRoute;
73
+ /** Creates a new CatalogRequest instance. */
74
+ constructor($$source?: Partial<CatalogRequest>);
75
+ /**
76
+ * Creates a new CatalogRequest instance from a string or object.
77
+ */
78
+ static createFrom($$source?: any): CatalogRequest;
79
+ }
80
+ /**
81
+ * ColumnDefinition describes client-side display and extraction hints. Accessors
82
+ * are presentation expressions, not canonical addresses or server query predicates.
83
+ * Maps, ComponentParams, and ResourceLink remain mutable caller-visible metadata.
84
+ */
85
+ export declare class ColumnDefinition {
86
+ "id": string;
87
+ "header": string;
88
+ "accessor": string;
89
+ "accessorPriority"?: string;
90
+ "colorMap"?: {
91
+ [_ in string]?: string;
92
+ };
93
+ "color"?: string;
94
+ "align"?: string;
95
+ "hidden"?: boolean;
96
+ "width"?: number;
97
+ "formatter"?: string;
98
+ "component"?: string;
99
+ "componentParams"?: any;
100
+ "resourceLink"?: ResourceLink | null;
101
+ "valueMap"?: {
102
+ [_ in string]?: string;
103
+ };
104
+ /** Creates a new ColumnDefinition instance. */
105
+ constructor($$source?: Partial<ColumnDefinition>);
106
+ /**
107
+ * Creates a new ColumnDefinition instance from a string or object.
108
+ */
109
+ static createFrom($$source?: any): ColumnDefinition;
110
+ }
111
+ /**
112
+ * Count distinguishes unknown cardinality from an observed zero. Unknown requires
113
+ * nil Value; exact and estimate require a canonical unsigned 64-bit decimal string.
114
+ * A page's record count does not by itself establish total source cardinality.
115
+ */
116
+ export declare class Count {
117
+ "kind": string;
118
+ "value"?: string | null;
119
+ /** Creates a new Count instance. */
120
+ constructor($$source?: Partial<Count>);
121
+ /**
122
+ * Creates a new Count instance from a string or object.
123
+ */
124
+ static createFrom($$source?: any): Count;
125
+ }
126
+ /**
127
+ * Coverage states known acquisition limitations, not operation success alone.
128
+ * Complete forbids Paths and Reason. Partial and unknown require a public-safe
129
+ * Reason; preserve any reported path limitations rather than claiming completeness.
130
+ */
131
+ export type Coverage = any;
132
+ /**
133
+ * EdgeDirection orients a descriptor relative to the source resource.
134
+ * The empty value is the explicit outgoing direction, not unknown direction.
135
+ */
136
+ export declare enum EdgeDirection {
137
+ /**
138
+ * The Go zero value for the underlying type of the enum.
139
+ */
140
+ $zero = "",
141
+ /**
142
+ * EdgeOutgoing places the source at the origin of the relationship.
143
+ */
144
+ EdgeOutgoing = "",
145
+ /**
146
+ * EdgeIncoming places the source at the destination of the relationship.
147
+ */
148
+ EdgeIncoming = "incoming"
149
+ }
150
+ /**
151
+ * EditorSchema associates editor selection metadata with an explicit schema
152
+ * binding. URI is editor metadata, not permission to fetch an external document;
153
+ * Binding distinguishes unavailable acquisition from known schema absence.
154
+ */
155
+ export declare class EditorSchema {
156
+ "type": string;
157
+ "fileMatch": string;
158
+ "uri": string;
159
+ "language": string;
160
+ "binding": SchemaBinding;
161
+ /** Creates a new EditorSchema instance. */
162
+ constructor($$source?: Partial<EditorSchema>);
163
+ /**
164
+ * Creates a new EditorSchema instance from a string or object.
165
+ */
166
+ static createFrom($$source?: any): EditorSchema;
167
+ }
168
+ /**
169
+ * EnumerateRequest asks for one finite source page, not a subscription or a
170
+ * host-planned query result. A valid empty oneOf must return an empty page.
171
+ */
172
+ export declare class EnumerateRequest {
173
+ "target": ReadTarget;
174
+ "pageSize": number;
175
+ /**
176
+ * Cursor is nil for an initial acquisition. A nonnil source token is opaque
177
+ * and must not be reused after the target or source generation changes.
178
+ */
179
+ "cursor"?: string | null;
180
+ /** Creates a new EnumerateRequest instance. */
181
+ constructor($$source?: Partial<EnumerateRequest>);
182
+ /**
183
+ * Creates a new EnumerateRequest instance from a string or object.
184
+ */
185
+ static createFrom($$source?: any): EnumerateRequest;
186
+ }
187
+ /**
188
+ * EventSeverity classifies diagnostic events, not operation errors or watch state.
189
+ */
190
+ export declare enum EventSeverity {
191
+ /**
192
+ * The Go zero value for the underlying type of the enum.
193
+ */
194
+ $zero = "",
195
+ /**
196
+ * SeverityNormal marks informational resource events.
197
+ */
198
+ SeverityNormal = "normal",
199
+ /**
200
+ * SeverityWarning marks resource events requiring attention.
201
+ */
202
+ SeverityWarning = "warning",
203
+ /**
204
+ * SeverityError marks resource events reporting a failure.
205
+ */
206
+ SeverityError = "error"
207
+ }
208
+ /**
209
+ * Feature reports availability of an ancillary transport trait, not support for
210
+ * a finite operation. Finite support always comes from the qualified catalog.
211
+ */
212
+ export declare enum Feature {
213
+ /**
214
+ * The Go zero value for the underlying type of the enum.
215
+ */
216
+ $zero = "",
217
+ /**
218
+ * FeatureConnections enables explicit connection lifecycle operations.
219
+ */
220
+ FeatureConnections = "connections",
221
+ /**
222
+ * FeatureConnectionReadiness enables nonblocking registered-state inspection.
223
+ */
224
+ FeatureConnectionReadiness = "connectionReadiness",
225
+ /**
226
+ * FeatureConnectionBrowser enables native configured-profile discovery.
227
+ */
228
+ FeatureConnectionBrowser = "connectionBrowser",
229
+ /**
230
+ * FeatureConnectionOverlay enables replacement of the desired in-memory profile overlay.
231
+ */
232
+ FeatureConnectionOverlay = "connectionOverlay",
233
+ /**
234
+ * FeatureScopeValues enables discovery of values for declared scope dimensions.
235
+ */
236
+ FeatureScopeValues = "scopeValues",
237
+ /**
238
+ * FeaturePresentation enables resource presentation metadata.
239
+ */
240
+ FeaturePresentation = "presentation",
241
+ /**
242
+ * FeatureEditorSchemas enables editor schema bindings.
243
+ */
244
+ FeatureEditorSchemas = "editorSchemas",
245
+ /**
246
+ * FeatureSchemaDocuments enables acquisition of shared schema documents.
247
+ */
248
+ FeatureSchemaDocuments = "schemaDocuments",
249
+ /**
250
+ * FeatureRelationships enables scoped relationship resolution.
251
+ */
252
+ FeatureRelationships = "relationships",
253
+ /**
254
+ * FeatureHealth enables explicit native health acquisition, not lifecycle readiness.
255
+ */
256
+ FeatureHealth = "health",
257
+ /**
258
+ * FeatureActionCatalog enables discovery of available action descriptors.
259
+ */
260
+ FeatureActionCatalog = "actionCatalog",
261
+ /**
262
+ * FeatureStreamingActions enables ready-gated action event streams.
263
+ */
264
+ FeatureStreamingActions = "streamingActions",
265
+ /**
266
+ * FeatureBestEffortUpdates enables advisory updates without replay guarantees.
267
+ */
268
+ FeatureBestEffortUpdates = "bestEffortUpdates"
269
+ }
270
+ /**
271
+ * FeatureSet lists ancillary traits available on this provider or transport.
272
+ * Nil or empty Traits advertises none; duplicates and unknown traits are invalid.
273
+ * Callers must not mutate returned Traits concurrently with SDK use.
274
+ */
275
+ export declare class FeatureSet {
276
+ "traits": Feature[];
277
+ /** Creates a new FeatureSet instance. */
278
+ constructor($$source?: Partial<FeatureSet>);
279
+ /**
280
+ * Creates a new FeatureSet instance from a string or object.
281
+ */
282
+ static createFrom($$source?: any): FeatureSet;
283
+ }
284
+ /**
285
+ * GetRequest selects one reference through a route, with an explicit body format.
286
+ * Request containers are borrowed for the call; retaining or mutating them
287
+ * requires an independent copy.
288
+ */
289
+ export declare class GetRequest {
290
+ "route": AccessRoute;
291
+ "reference": ResourceReference;
292
+ "representation": string;
293
+ /** Creates a new GetRequest instance. */
294
+ constructor($$source?: Partial<GetRequest>);
295
+ /**
296
+ * Creates a new GetRequest instance from a string or object.
297
+ */
298
+ static createFrom($$source?: any): GetRequest;
299
+ }
300
+ /**
301
+ * HealthCondition retains a provider-defined condition type and status without
302
+ * interpreting native condition vocabularies. Optional nil times are unknown,
303
+ * not the zero instant. Reason and Message must be safe for public display.
304
+ */
305
+ export declare class HealthCondition {
306
+ "type": string;
307
+ "status": string;
308
+ "reason"?: string;
309
+ "message"?: string;
310
+ "lastProbeTime"?: string | null;
311
+ "lastTransitionTime"?: string | null;
312
+ /** Creates a new HealthCondition instance. */
313
+ constructor($$source?: Partial<HealthCondition>);
314
+ /**
315
+ * Creates a new HealthCondition instance from a string or object.
316
+ */
317
+ static createFrom($$source?: any): HealthCondition;
318
+ }
319
+ /**
320
+ * HealthStatus describes observed resource health, not connection readiness.
321
+ * Unknown is explicit uncertainty; the zero string is not a health observation.
322
+ */
323
+ export declare enum HealthStatus {
324
+ /**
325
+ * The Go zero value for the underlying type of the enum.
326
+ */
327
+ $zero = "",
328
+ /**
329
+ * HealthHealthy reports normal observed resource health.
330
+ */
331
+ HealthHealthy = "healthy",
332
+ /**
333
+ * HealthDegraded reports impaired but not wholly failed resource health.
334
+ */
335
+ HealthDegraded = "degraded",
336
+ /**
337
+ * HealthUnhealthy reports failed resource health.
338
+ */
339
+ HealthUnhealthy = "unhealthy",
340
+ /**
341
+ * HealthPending reports health assessment or establishment still in progress.
342
+ */
343
+ HealthPending = "pending",
344
+ /**
345
+ * HealthUnknown explicitly reports insufficient evidence to assess health.
346
+ */
347
+ HealthUnknown = "unknown"
348
+ }
349
+ /**
350
+ * QueryScope intersects constraints across dimensions. Each declared query
351
+ * dimension must appear exactly once, including unrestricted dimensions.
352
+ * Nil or empty scope therefore applies only to a type with no query dimensions;
353
+ * it does not mean all dimensions. Constraint and selection order is immaterial.
354
+ * JSON requires a nonnull array; Go nil scopes serialize as an empty array.
355
+ */
356
+ export type QueryScope = any;
357
+ /**
358
+ * ReadTarget binds a scoped acquisition to an explicit route and host authority.
359
+ * Representation must already be resolved from catalog metadata; empty is invalid.
360
+ * Scope selects query dimensions, not merely the dimensions present in identity.
361
+ */
362
+ export declare class ReadTarget {
363
+ "route": AccessRoute;
364
+ "provider": string;
365
+ "authority": string;
366
+ "type": string;
367
+ "scope": QueryScope;
368
+ "representation": string;
369
+ /** Creates a new ReadTarget instance. */
370
+ constructor($$source?: Partial<ReadTarget>);
371
+ /**
372
+ * Creates a new ReadTarget instance from a string or object.
373
+ */
374
+ static createFrom($$source?: any): ReadTarget;
375
+ }
376
+ /**
377
+ * Record carries one map-root body with explicit identity, representation, and
378
+ * coverage provenance. Return independently owned mutable containers; do not
379
+ * reuse backing maps, slices, or schema bytes while a caller may consume them.
380
+ */
381
+ export declare class Record {
382
+ "reference": ResourceReference;
383
+ "body": Value;
384
+ "representation": Representation;
385
+ "coverage": Coverage;
386
+ /**
387
+ * SourceRevision optionally observes native content state. Nil makes no
388
+ * revision claim; a token is opaque and is neither identity nor incarnation.
389
+ */
390
+ "sourceRevision"?: string | null;
391
+ /** Creates a new Record instance. */
392
+ constructor($$source?: Partial<Record>);
393
+ /**
394
+ * Creates a new Record instance from a string or object.
395
+ */
396
+ static createFrom($$source?: any): Record;
397
+ }
398
+ /**
399
+ * RelationshipDescriptor combines observed-link extraction and presentation.
400
+ * It does not admit a target route, imply enumeration support, or prove that
401
+ * every possible link has been resolved.
402
+ */
403
+ export declare class RelationshipDescriptor {
404
+ "type": RelationshipType;
405
+ "targetType": string;
406
+ "label": string;
407
+ "inverseLabel"?: string;
408
+ "cardinality"?: string;
409
+ "direction"?: EdgeDirection;
410
+ /**
411
+ * Nil Extractor leaves native resolution to the provider; it is not an
412
+ * instruction for the host to scan for matching resources.
413
+ */
414
+ "extractor"?: RelationshipExtractor | null;
415
+ /**
416
+ * TargetScope contains literal dimensions; ScopeExtractors derive the rest.
417
+ * A dimension must not occur in both or repeat within either collection.
418
+ */
419
+ "targetScope": ScopeEntry[];
420
+ "scopeExtractors": ScopeExtractor[];
421
+ /** Creates a new RelationshipDescriptor instance. */
422
+ constructor($$source?: Partial<RelationshipDescriptor>);
423
+ /**
424
+ * Creates a new RelationshipDescriptor instance from a string or object.
425
+ */
426
+ static createFrom($$source?: any): RelationshipDescriptor;
427
+ }
428
+ /**
429
+ * RelationshipExtractor describes how native link evidence is found. Native
430
+ * labels and field values cannot supply target authority or replace host bindings.
431
+ */
432
+ export declare class RelationshipExtractor {
433
+ "method": string;
434
+ "fieldPath"?: string;
435
+ "labelSelector"?: {
436
+ [_ in string]?: string;
437
+ };
438
+ /** Creates a new RelationshipExtractor instance. */
439
+ constructor($$source?: Partial<RelationshipExtractor>);
440
+ /**
441
+ * Creates a new RelationshipExtractor instance from a string or object.
442
+ */
443
+ static createFrom($$source?: any): RelationshipExtractor;
444
+ }
445
+ /**
446
+ * RelationshipTarget carries independently bound target identity and access.
447
+ * Route must come from an explicit matching host binding, not source authority.
448
+ */
449
+ export declare class RelationshipTarget {
450
+ "reference": ResourceReference;
451
+ "route": AccessRoute;
452
+ "displayName"?: string;
453
+ /** Creates a new RelationshipTarget instance. */
454
+ constructor($$source?: Partial<RelationshipTarget>);
455
+ /**
456
+ * Creates a new RelationshipTarget instance from a string or object.
457
+ */
458
+ static createFrom($$source?: any): RelationshipTarget;
459
+ }
460
+ /**
461
+ * RelationshipType describes the semantic link; it does not authorize following
462
+ * that link or accessing its target.
463
+ */
464
+ export declare enum RelationshipType {
465
+ /**
466
+ * The Go zero value for the underlying type of the enum.
467
+ */
468
+ $zero = "",
469
+ /**
470
+ * RelOwns links an owner to an owned resource.
471
+ */
472
+ RelOwns = "owns",
473
+ /**
474
+ * RelRunsOn links a workload to its execution resource.
475
+ */
476
+ RelRunsOn = "runs_on",
477
+ /**
478
+ * RelUses links a consumer to a dependency.
479
+ */
480
+ RelUses = "uses",
481
+ /**
482
+ * RelExposes links an exposing resource to the resource it makes accessible.
483
+ */
484
+ RelExposes = "exposes",
485
+ /**
486
+ * RelManages links a manager to a managed resource.
487
+ */
488
+ RelManages = "manages",
489
+ /**
490
+ * RelMemberOf links a member to its containing group.
491
+ */
492
+ RelMemberOf = "member_of",
493
+ /**
494
+ * RelSelects links a selector to a matching resource.
495
+ */
496
+ RelSelects = "selects"
497
+ }
498
+ /**
499
+ * Representation declares a body format and its schema observation. Revision
500
+ * tracks that format's contract, independently of record or catalog revisions.
501
+ */
502
+ export declare class Representation {
503
+ "id": string;
504
+ "revision": string;
505
+ "schema": SchemaBinding;
506
+ /** Creates a new Representation instance. */
507
+ constructor($$source?: Partial<Representation>);
508
+ /**
509
+ * Creates a new Representation instance from a string or object.
510
+ */
511
+ static createFrom($$source?: any): Representation;
512
+ }
513
+ /**
514
+ * ResolvedRelationship returns concrete observed links under one descriptor.
515
+ * Empty Targets cannot stand in for unsupported resolution or a missing binding.
516
+ * Result slices and nested descriptor containers must remain stable for callers.
517
+ */
518
+ export declare class ResolvedRelationship {
519
+ "descriptor": RelationshipDescriptor;
520
+ "targets": RelationshipTarget[];
521
+ /** Creates a new ResolvedRelationship instance. */
522
+ constructor($$source?: Partial<ResolvedRelationship>);
523
+ /**
524
+ * Creates a new ResolvedRelationship instance from a string or object.
525
+ */
526
+ static createFrom($$source?: any): ResolvedRelationship;
527
+ }
528
+ /**
529
+ * ResourceAddress identifies an object independently of the connection used to
530
+ * access it. Type and ID are opaque; callers must not parse native syntax from
531
+ * them. Authority is host-issued, not a provider's native authority hint.
532
+ */
533
+ export type ResourceAddress = any;
534
+ /**
535
+ * ResourceDefinition supplies display columns without changing record bodies.
536
+ * Return stable column slices and nested metadata rather than mutable shared buffers.
537
+ */
538
+ export declare class ResourceDefinition {
539
+ "columnDefs": ColumnDefinition[];
540
+ /** Creates a new ResourceDefinition instance. */
541
+ constructor($$source?: Partial<ResourceDefinition>);
542
+ /**
543
+ * Creates a new ResourceDefinition instance from a string or object.
544
+ */
545
+ static createFrom($$source?: any): ResourceDefinition;
546
+ }
547
+ /**
548
+ * ResourceEvent is a diagnostic observation, not advisory add/update/delete
549
+ * delivery or a continuity log. Count cannot be negative and LastSeen must not
550
+ * precede FirstSeen. Reason, Message, and Source must be safe for public display.
551
+ */
552
+ export declare class ResourceEvent {
553
+ "type": EventSeverity;
554
+ "reason": string;
555
+ "message": string;
556
+ "source"?: string;
557
+ "count"?: number;
558
+ "firstSeen": string;
559
+ "lastSeen": string;
560
+ /** Creates a new ResourceEvent instance. */
561
+ constructor($$source?: Partial<ResourceEvent>);
562
+ /**
563
+ * Creates a new ResourceEvent instance from a string or object.
564
+ */
565
+ static createFrom($$source?: any): ResourceEvent;
566
+ }
567
+ /**
568
+ * ResourceGroup organizes opaque resource type IDs for presentation. Group
569
+ * membership does not add capabilities or change identity and authority.
570
+ */
571
+ export declare class ResourceGroup {
572
+ "id": string;
573
+ "name": string;
574
+ "description": string;
575
+ "icon": string;
576
+ "resources": string[];
577
+ /** Creates a new ResourceGroup instance. */
578
+ constructor($$source?: Partial<ResourceGroup>);
579
+ /**
580
+ * Creates a new ResourceGroup instance from a string or object.
581
+ */
582
+ static createFrom($$source?: any): ResourceGroup;
583
+ }
584
+ /**
585
+ * ResourceHealth is a health observation, independent of lifecycle registration
586
+ * and finite-operation support. Nil Since means no transition time was supplied;
587
+ * an empty Conditions slice does not establish healthy status.
588
+ */
589
+ export declare class ResourceHealth {
590
+ "status": HealthStatus;
591
+ "reason"?: string;
592
+ "message"?: string;
593
+ "since"?: string | null;
594
+ "conditions"?: HealthCondition[];
595
+ /** Creates a new ResourceHealth instance. */
596
+ constructor($$source?: Partial<ResourceHealth>);
597
+ /**
598
+ * Creates a new ResourceHealth instance from a string or object.
599
+ */
600
+ static createFrom($$source?: any): ResourceHealth;
601
+ }
602
+ /**
603
+ * ResourceLink is a presentation extractor. Resolved identity is always a
604
+ * ResourceReference; access routes are supplied independently by the host.
605
+ */
606
+ export declare class ResourceLink {
607
+ /**
608
+ * Type is a literal canonical type. Otherwise TypeAccessor and an explicit
609
+ * TypeMap translate observed native values; the two selection forms conflict.
610
+ */
611
+ "type"?: string;
612
+ "typeAccessor"?: string;
613
+ "typeMap"?: {
614
+ [_ in string]?: string;
615
+ };
616
+ "idAccessor": string;
617
+ "scopeAccessors": ScopeExtractor[];
618
+ "displayId": boolean;
619
+ /** Creates a new ResourceLink instance. */
620
+ constructor($$source?: Partial<ResourceLink>);
621
+ /**
622
+ * Creates a new ResourceLink instance from a string or object.
623
+ */
624
+ static createFrom($$source?: any): ResourceLink;
625
+ }
626
+ /**
627
+ * ResourceOperationError preserves provider classification across the resource
628
+ * transport. Title, Message, and Suggestions must contain public-safe text:
629
+ * never include credentials, private configuration, or raw native diagnostics.
630
+ * Put native diagnostics in Err, which is excluded from JSON and exposed only
631
+ * through Unwrap. Error serializes classification and public text, not Err.
632
+ * The host still owns redaction, canonical AppError provenance, and recovery
633
+ * policy; provider text and classification never grant permission.
634
+ */
635
+ export declare class ResourceOperationError {
636
+ "code": string;
637
+ "title": string;
638
+ "message": string;
639
+ "suggestions"?: string[];
640
+ /** Creates a new ResourceOperationError instance. */
641
+ constructor($$source?: Partial<ResourceOperationError>);
642
+ /**
643
+ * Creates a new ResourceOperationError instance from a string or object.
644
+ */
645
+ static createFrom($$source?: any): ResourceOperationError;
646
+ }
647
+ /**
648
+ * ResourceReference adds an optional native incarnation observation to identity.
649
+ * A nil Incarnation makes no claim about object recreation; it is not a source
650
+ * revision or an access route.
651
+ */
652
+ export declare class ResourceReference {
653
+ "address": ResourceAddress;
654
+ "incarnation"?: string | null;
655
+ /** Creates a new ResourceReference instance. */
656
+ constructor($$source?: Partial<ResourceReference>);
657
+ /**
658
+ * Creates a new ResourceReference instance from a string or object.
659
+ */
660
+ static createFrom($$source?: any): ResourceReference;
661
+ }
662
+ /**
663
+ * Schema is the retained action-schema convenience subset. It is not P07's
664
+ * normalized resource schema and does not claim support for omitted constraints.
665
+ */
666
+ export type Schema = any;
667
+ /**
668
+ * SchemaBinding distinguishes known absence from failed schema acquisition.
669
+ * Available schemas require a revision, dialect, and exactly one inline Document
670
+ * or DocumentRef. Absent schemas have no document binding. Unavailable schemas
671
+ * cannot carry inline documents and must not be reported as absent.
672
+ * Revisions are opaque equality observations, never object identity.
673
+ */
674
+ export type SchemaBinding = any;
675
+ /**
676
+ * SchemaDocument is a bounded raw schema shared by reference across bindings.
677
+ * Document is not normalized; its mutable bytes must remain stable during use.
678
+ */
679
+ export declare class SchemaDocument {
680
+ "reference": SchemaDocumentReference;
681
+ "dialect": string;
682
+ "document": json$0.RawMessage;
683
+ /** Creates a new SchemaDocument instance. */
684
+ constructor($$source?: Partial<SchemaDocument>);
685
+ /**
686
+ * Creates a new SchemaDocument instance from a string or object.
687
+ */
688
+ static createFrom($$source?: any): SchemaDocument;
689
+ }
690
+ /**
691
+ * SchemaDocumentReference shares one bounded raw document across catalog roots.
692
+ */
693
+ export declare class SchemaDocumentReference {
694
+ "id": string;
695
+ "revision": string;
696
+ /** Creates a new SchemaDocumentReference instance. */
697
+ constructor($$source?: Partial<SchemaDocumentReference>);
698
+ /**
699
+ * Creates a new SchemaDocumentReference instance from a string or object.
700
+ */
701
+ static createFrom($$source?: any): SchemaDocumentReference;
702
+ }
703
+ /**
704
+ * ScopeEntry is one literal identity dimension, not a query constraint.
705
+ * Empty Value is meaningful only when the declared dimension permits it.
706
+ */
707
+ export declare class ScopeEntry {
708
+ "dimension": string;
709
+ "value": string;
710
+ /** Creates a new ScopeEntry instance. */
711
+ constructor($$source?: Partial<ScopeEntry>);
712
+ /**
713
+ * Creates a new ScopeEntry instance from a string or object.
714
+ */
715
+ static createFrom($$source?: any): ScopeEntry;
716
+ }
717
+ /**
718
+ * ScopeExtractor explicitly derives a target scope dimension from source data.
719
+ * TargetScope entries remain literal values; no accessor-string heuristics apply.
720
+ */
721
+ export declare class ScopeExtractor {
722
+ "dimension": string;
723
+ "fieldPath": string;
724
+ /** Creates a new ScopeExtractor instance. */
725
+ constructor($$source?: Partial<ScopeExtractor>);
726
+ /**
727
+ * Creates a new ScopeExtractor instance from a string or object.
728
+ */
729
+ static createFrom($$source?: any): ScopeExtractor;
730
+ }
731
+ /**
732
+ * Value preserves scalar intent rather than reducing every number to float64.
733
+ * Kind is null, bool, string, int64, uint64, double, timestamp, list, or map; the
734
+ * zero Value is invalid. Only the selected payload may be populated. Int and Uint
735
+ * use canonical decimal strings within their respective 64-bit ranges. Double
736
+ * must be finite and preserves negative zero. Timestamp uses UTC RFC3339 with
737
+ * nanosecond precision. A selected nil List or Map is an empty container, not null.
738
+ * Nested containers remain mutable: copy them before retaining borrowed input
739
+ * or sharing values with code that may mutate them.
740
+ */
741
+ export type Value = any;
742
+ /**
743
+ * WatchConnectionSummary is a source-state observation, not a total inventory.
744
+ * Resources and ResourceCounts are keyed by opaque resource type; unknown counts
745
+ * must not be treated as zero or inferred from the number of map entries.
746
+ */
747
+ export declare class WatchConnectionSummary {
748
+ "route": AccessRoute;
749
+ "resources": {
750
+ [_ in string]?: WatchState;
751
+ };
752
+ "resourceCounts": {
753
+ [_ in string]?: Count;
754
+ };
755
+ /**
756
+ * Scope is optional summary metadata, not permission to widen individual
757
+ * admitted targets. Nil does not establish unrestricted acquisition.
758
+ */
759
+ "scope": QueryScope;
760
+ "guarantee": string;
761
+ /** Creates a new WatchConnectionSummary instance. */
762
+ constructor($$source?: Partial<WatchConnectionSummary>);
763
+ /**
764
+ * Creates a new WatchConnectionSummary instance from a string or object.
765
+ */
766
+ static createFrom($$source?: any): WatchConnectionSummary;
767
+ }
768
+ /**
769
+ * WatchState describes one advisory source's lifecycle, not connection health or
770
+ * source completeness. In particular, synced cannot prove gap-free delivery.
771
+ */
772
+ export declare enum WatchState {
773
+ /**
774
+ * The Go zero value for the underlying type of the enum.
775
+ */
776
+ $zero = 0,
777
+ /**
778
+ * WatchStateIdle means the source is registered but has not begun syncing.
779
+ */
780
+ WatchStateIdle = 0,
781
+ /**
782
+ * WatchStateSyncing means native cache acquisition is in progress.
783
+ */
784
+ WatchStateSyncing = 1,
785
+ /**
786
+ * WatchStateSynced means the native cache reports readiness, not continuity.
787
+ */
788
+ WatchStateSynced = 2,
789
+ /**
790
+ * WatchStateError means an attempt failed and may be retried.
791
+ */
792
+ WatchStateError = 3,
793
+ /**
794
+ * WatchStateStopped means the source ended without a terminal failure.
795
+ */
796
+ WatchStateStopped = 4,
797
+ /**
798
+ * WatchStateFailed means the source exhausted retries or failed admission.
799
+ */
800
+ WatchStateFailed = 5,
801
+ /**
802
+ * WatchStateForbidden means source access was denied.
803
+ */
804
+ WatchStateForbidden = 6,
805
+ /**
806
+ * WatchStateSkipped means startup was intentionally omitted.
807
+ */
808
+ WatchStateSkipped = 7
809
+ }