@aggrega-ai/aggrega-abi 0.0.0-stage → 0.9.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (41) hide show
  1. package/LICENSE +202 -0
  2. package/README.md +27 -2
  3. package/dist/abi_version_enums_gen.d.ts +1 -0
  4. package/dist/abi_version_enums_gen.js +33 -0
  5. package/dist/annotationtransform_gen.d.ts +56 -0
  6. package/dist/annotationtransform_gen.js +385 -0
  7. package/dist/cbor_gen.d.ts +28 -0
  8. package/dist/cbor_gen.js +413 -0
  9. package/dist/cli_gen.d.ts +11 -0
  10. package/dist/cli_gen.js +75 -0
  11. package/dist/describe_gen.d.ts +165 -0
  12. package/dist/describe_gen.js +1154 -0
  13. package/dist/diagnostic_enums_gen.d.ts +3 -0
  14. package/dist/diagnostic_enums_gen.js +27 -0
  15. package/dist/diagnostic_gen.d.ts +45 -0
  16. package/dist/diagnostic_gen.js +309 -0
  17. package/dist/frp_gen.d.ts +97 -0
  18. package/dist/frp_gen.js +731 -0
  19. package/dist/hostfunc_error_enums_gen.d.ts +13 -0
  20. package/dist/hostfunc_error_enums_gen.js +35 -0
  21. package/dist/import_gen.d.ts +159 -0
  22. package/dist/import_gen.js +1050 -0
  23. package/dist/index.d.ts +33 -0
  24. package/dist/index.js +51 -0
  25. package/dist/ir_gen.d.ts +180 -0
  26. package/dist/ir_gen.js +1640 -0
  27. package/dist/linter_gen.d.ts +45 -0
  28. package/dist/linter_gen.js +374 -0
  29. package/dist/mutator_gen.d.ts +64 -0
  30. package/dist/mutator_gen.js +448 -0
  31. package/dist/orderedmap_gen.d.ts +5 -0
  32. package/dist/orderedmap_gen.js +186 -0
  33. package/dist/parse_gen.d.ts +60 -0
  34. package/dist/parse_gen.js +364 -0
  35. package/dist/policy_gen.d.ts +69 -0
  36. package/dist/policy_gen.js +461 -0
  37. package/dist/providerrender_gen.d.ts +495 -0
  38. package/dist/providerrender_gen.js +3756 -0
  39. package/dist/servewire_gen.d.ts +1643 -0
  40. package/dist/servewire_gen.js +3035 -0
  41. package/package.json +31 -4
@@ -0,0 +1,3 @@
1
+ export declare const SeverityHalt = "halt";
2
+ export declare const SeverityWarn = "warn";
3
+ export declare const SeverityInfo = "info";
@@ -0,0 +1,27 @@
1
+ "use strict";
2
+ // SPDX-License-Identifier: Apache-2.0
3
+ // Copyright 2026 Cognitio s.r.l.
4
+ Object.defineProperty(exports, "__esModule", { value: true });
5
+ exports.SeverityInfo = exports.SeverityWarn = exports.SeverityHalt = void 0;
6
+ // Code generated by internal/tools/typegen from
7
+ // aggrega-schemas/json/wasm-diagnostic-v1beta1.schema.json. DO NOT EDIT.
8
+ // Regenerate with `go generate ./internal/tools/typegen` from the
9
+ // aggrega-cli checkout.
10
+ // These consts are the single source of the shared diagnostic's severity wire
11
+ // vocabulary, closed to the three values every Wasm socket reports from: halt
12
+ // stops the build and names what to fix, warn surfaces alongside a build that
13
+ // still completes, and info records the observation and leaves the build outcome
14
+ // unchanged. Generated into Go, Rust, and TypeScript from one schema so a guest
15
+ // and the host name the same three values.
16
+ //
17
+ // The compiler re-exports these consts under its own analyzer vocabulary rather
18
+ // than declaring copies of the literals, so the value a guest writes and the
19
+ // value the host routes on have one home.
20
+ //
21
+ // A diagnostic's severity is distinct from the editor-protocol severity the
22
+ // language server publishes and from the deprecation-marker severity a registry
23
+ // marker carries: those are separate vocabularies on separate boundaries, and a
24
+ // value crossing between them is translated rather than copied.
25
+ exports.SeverityHalt = "halt";
26
+ exports.SeverityWarn = "warn";
27
+ exports.SeverityInfo = "info";
@@ -0,0 +1,45 @@
1
+ import { CborDec } from "./cbor_gen.ts";
2
+ export interface Diagnostic {
3
+ severity: string;
4
+ message: string;
5
+ code?: string;
6
+ rule_id?: string;
7
+ classification?: string;
8
+ source_ref?: string;
9
+ location?: Location;
10
+ suggest?: string;
11
+ }
12
+ export interface Location {
13
+ span?: Span;
14
+ key_path?: string;
15
+ uri?: string;
16
+ line?: number;
17
+ kind?: string;
18
+ instance?: string;
19
+ }
20
+ export interface Span {
21
+ start_offset: number;
22
+ end_offset: number;
23
+ start_line: number;
24
+ start_column: number;
25
+ end_line: number;
26
+ end_column: number;
27
+ }
28
+ export declare function encodeDiagnostic(v: Diagnostic): string;
29
+ export declare function decodeDiagnostic(data: string): Diagnostic;
30
+ export declare function encodeLocation(v: Location): string;
31
+ export declare function decodeLocation(data: string): Location;
32
+ export declare function encodeSpan(v: Span): string;
33
+ export declare function decodeSpan(data: string): Span;
34
+ export declare function encodeCBORDiagnostic(v: Diagnostic): Uint8Array;
35
+ export declare function appendCBORDiagnostic(out: number[], v: Diagnostic): void;
36
+ export declare function decodeCBORDiagnostic(data: Uint8Array): Diagnostic;
37
+ export declare function decodeCBORDiagnosticFrom(dec: CborDec): Diagnostic;
38
+ export declare function encodeCBORLocation(v: Location): Uint8Array;
39
+ export declare function appendCBORLocation(out: number[], v: Location): void;
40
+ export declare function decodeCBORLocation(data: Uint8Array): Location;
41
+ export declare function decodeCBORLocationFrom(dec: CborDec): Location;
42
+ export declare function encodeCBORSpan(v: Span): Uint8Array;
43
+ export declare function appendCBORSpan(out: number[], v: Span): void;
44
+ export declare function decodeCBORSpan(data: Uint8Array): Span;
45
+ export declare function decodeCBORSpanFrom(dec: CborDec): Span;
@@ -0,0 +1,309 @@
1
+ "use strict";
2
+ // SPDX-License-Identifier: Apache-2.0
3
+ // Copyright 2026 Cognitio s.r.l.
4
+ Object.defineProperty(exports, "__esModule", { value: true });
5
+ exports.encodeDiagnostic = encodeDiagnostic;
6
+ exports.decodeDiagnostic = decodeDiagnostic;
7
+ exports.encodeLocation = encodeLocation;
8
+ exports.decodeLocation = decodeLocation;
9
+ exports.encodeSpan = encodeSpan;
10
+ exports.decodeSpan = decodeSpan;
11
+ exports.encodeCBORDiagnostic = encodeCBORDiagnostic;
12
+ exports.appendCBORDiagnostic = appendCBORDiagnostic;
13
+ exports.decodeCBORDiagnostic = decodeCBORDiagnostic;
14
+ exports.decodeCBORDiagnosticFrom = decodeCBORDiagnosticFrom;
15
+ exports.encodeCBORLocation = encodeCBORLocation;
16
+ exports.appendCBORLocation = appendCBORLocation;
17
+ exports.decodeCBORLocation = decodeCBORLocation;
18
+ exports.decodeCBORLocationFrom = decodeCBORLocationFrom;
19
+ exports.encodeCBORSpan = encodeCBORSpan;
20
+ exports.appendCBORSpan = appendCBORSpan;
21
+ exports.decodeCBORSpan = decodeCBORSpan;
22
+ exports.decodeCBORSpanFrom = decodeCBORSpanFrom;
23
+ // Code generated by internal/tools/typegen from
24
+ // aggrega-schemas/json/wasm-diagnostic-v1beta1.schema.json. DO NOT EDIT.
25
+ // Regenerate with `go generate ./internal/tools/typegen` from the
26
+ // aggrega-cli checkout.
27
+ const cbor_gen_ts_1 = require("./cbor_gen.js");
28
+ function jstr(s) {
29
+ return JSON.stringify(s);
30
+ }
31
+ // encodeOpaque carries an opaque (`any` / RawMessage) value VERBATIM: the
32
+ // key order from JSON.parse is preserved, matching the Go and Rust codecs'
33
+ // byte-carry of opaque values. Opaque values are never sorted.
34
+ function encodeOpaque(v) {
35
+ return JSON.stringify(v);
36
+ }
37
+ function encodeDiagnostic(v) {
38
+ const parts = [];
39
+ parts.push(`${jstr("severity")}:${jstr(v.severity)}`);
40
+ parts.push(`${jstr("message")}:${jstr(v.message)}`);
41
+ if (v.code !== undefined && v.code !== "")
42
+ parts.push(`${jstr("code")}:${jstr(v.code)}`);
43
+ if (v.rule_id !== undefined && v.rule_id !== "")
44
+ parts.push(`${jstr("rule_id")}:${jstr(v.rule_id)}`);
45
+ if (v.classification !== undefined && v.classification !== "")
46
+ parts.push(`${jstr("classification")}:${jstr(v.classification)}`);
47
+ if (v.source_ref !== undefined && v.source_ref !== "")
48
+ parts.push(`${jstr("source_ref")}:${jstr(v.source_ref)}`);
49
+ if (v.location !== undefined && v.location !== null)
50
+ parts.push(`${jstr("location")}:${encodeLocation(v.location)}`);
51
+ if (v.suggest !== undefined && v.suggest !== "")
52
+ parts.push(`${jstr("suggest")}:${jstr(v.suggest)}`);
53
+ return `{${parts.join(",")}}`;
54
+ }
55
+ function decodeDiagnostic(data) {
56
+ return JSON.parse(data);
57
+ }
58
+ function encodeLocation(v) {
59
+ const parts = [];
60
+ if (v.span !== undefined && v.span !== null)
61
+ parts.push(`${jstr("span")}:${encodeSpan(v.span)}`);
62
+ if (v.key_path !== undefined && v.key_path !== "")
63
+ parts.push(`${jstr("key_path")}:${jstr(v.key_path)}`);
64
+ if (v.uri !== undefined && v.uri !== "")
65
+ parts.push(`${jstr("uri")}:${jstr(v.uri)}`);
66
+ if (v.line !== undefined && v.line !== 0)
67
+ parts.push(`${jstr("line")}:${String(v.line)}`);
68
+ if (v.kind !== undefined && v.kind !== "")
69
+ parts.push(`${jstr("kind")}:${jstr(v.kind)}`);
70
+ if (v.instance !== undefined && v.instance !== "")
71
+ parts.push(`${jstr("instance")}:${jstr(v.instance)}`);
72
+ return `{${parts.join(",")}}`;
73
+ }
74
+ function decodeLocation(data) {
75
+ return JSON.parse(data);
76
+ }
77
+ function encodeSpan(v) {
78
+ const parts = [];
79
+ parts.push(`${jstr("start_offset")}:${String(v.start_offset)}`);
80
+ parts.push(`${jstr("end_offset")}:${String(v.end_offset)}`);
81
+ parts.push(`${jstr("start_line")}:${String(v.start_line)}`);
82
+ parts.push(`${jstr("start_column")}:${String(v.start_column)}`);
83
+ parts.push(`${jstr("end_line")}:${String(v.end_line)}`);
84
+ parts.push(`${jstr("end_column")}:${String(v.end_column)}`);
85
+ return `{${parts.join(",")}}`;
86
+ }
87
+ function decodeSpan(data) {
88
+ return JSON.parse(data);
89
+ }
90
+ function encodeCBORDiagnostic(v) {
91
+ const out = [];
92
+ appendCBORDiagnostic(out, v);
93
+ return new Uint8Array(out);
94
+ }
95
+ function appendCBORDiagnostic(out, v) {
96
+ let n = 2;
97
+ if (v.code !== undefined && v.code !== "")
98
+ n++;
99
+ if (v.rule_id !== undefined && v.rule_id !== "")
100
+ n++;
101
+ if (v.suggest !== undefined && v.suggest !== "")
102
+ n++;
103
+ if (v.location !== undefined && v.location !== null)
104
+ n++;
105
+ if (v.source_ref !== undefined && v.source_ref !== "")
106
+ n++;
107
+ if (v.classification !== undefined && v.classification !== "")
108
+ n++;
109
+ (0, cbor_gen_ts_1.writeHead)(out, 5, n);
110
+ if (v.code !== undefined && v.code !== "") {
111
+ (0, cbor_gen_ts_1.writeText)(out, "code");
112
+ (0, cbor_gen_ts_1.writeText)(out, v.code);
113
+ }
114
+ (0, cbor_gen_ts_1.writeText)(out, "message");
115
+ (0, cbor_gen_ts_1.writeText)(out, v.message);
116
+ if (v.rule_id !== undefined && v.rule_id !== "") {
117
+ (0, cbor_gen_ts_1.writeText)(out, "rule_id");
118
+ (0, cbor_gen_ts_1.writeText)(out, v.rule_id);
119
+ }
120
+ if (v.suggest !== undefined && v.suggest !== "") {
121
+ (0, cbor_gen_ts_1.writeText)(out, "suggest");
122
+ (0, cbor_gen_ts_1.writeText)(out, v.suggest);
123
+ }
124
+ if (v.location !== undefined && v.location !== null) {
125
+ (0, cbor_gen_ts_1.writeText)(out, "location");
126
+ appendCBORLocation(out, v.location);
127
+ }
128
+ (0, cbor_gen_ts_1.writeText)(out, "severity");
129
+ (0, cbor_gen_ts_1.writeText)(out, v.severity);
130
+ if (v.source_ref !== undefined && v.source_ref !== "") {
131
+ (0, cbor_gen_ts_1.writeText)(out, "source_ref");
132
+ (0, cbor_gen_ts_1.writeText)(out, v.source_ref);
133
+ }
134
+ if (v.classification !== undefined && v.classification !== "") {
135
+ (0, cbor_gen_ts_1.writeText)(out, "classification");
136
+ (0, cbor_gen_ts_1.writeText)(out, v.classification);
137
+ }
138
+ }
139
+ function decodeCBORDiagnostic(data) {
140
+ const dec = new cbor_gen_ts_1.CborDec(data);
141
+ return decodeCBORDiagnosticFrom(dec);
142
+ }
143
+ function decodeCBORDiagnosticFrom(dec) {
144
+ const o = {};
145
+ const n = dec.readMapHeader();
146
+ for (let i = 0; i < n; i++) {
147
+ const k = dec.readText();
148
+ switch (k) {
149
+ case "severity":
150
+ o["severity"] = dec.readText();
151
+ break;
152
+ case "message":
153
+ o["message"] = dec.readText();
154
+ break;
155
+ case "code":
156
+ o["code"] = dec.readText();
157
+ break;
158
+ case "rule_id":
159
+ o["rule_id"] = dec.readText();
160
+ break;
161
+ case "classification":
162
+ o["classification"] = dec.readText();
163
+ break;
164
+ case "source_ref":
165
+ o["source_ref"] = dec.readText();
166
+ break;
167
+ case "location":
168
+ o["location"] = decodeCBORLocationFrom(dec);
169
+ break;
170
+ case "suggest":
171
+ o["suggest"] = dec.readText();
172
+ break;
173
+ default: dec.skip();
174
+ }
175
+ }
176
+ return o;
177
+ }
178
+ function encodeCBORLocation(v) {
179
+ const out = [];
180
+ appendCBORLocation(out, v);
181
+ return new Uint8Array(out);
182
+ }
183
+ function appendCBORLocation(out, v) {
184
+ let n = 0;
185
+ if (v.uri !== undefined && v.uri !== "")
186
+ n++;
187
+ if (v.kind !== undefined && v.kind !== "")
188
+ n++;
189
+ if (v.line !== undefined && v.line !== 0)
190
+ n++;
191
+ if (v.span !== undefined && v.span !== null)
192
+ n++;
193
+ if (v.instance !== undefined && v.instance !== "")
194
+ n++;
195
+ if (v.key_path !== undefined && v.key_path !== "")
196
+ n++;
197
+ (0, cbor_gen_ts_1.writeHead)(out, 5, n);
198
+ if (v.uri !== undefined && v.uri !== "") {
199
+ (0, cbor_gen_ts_1.writeText)(out, "uri");
200
+ (0, cbor_gen_ts_1.writeText)(out, v.uri);
201
+ }
202
+ if (v.kind !== undefined && v.kind !== "") {
203
+ (0, cbor_gen_ts_1.writeText)(out, "kind");
204
+ (0, cbor_gen_ts_1.writeText)(out, v.kind);
205
+ }
206
+ if (v.line !== undefined && v.line !== 0) {
207
+ (0, cbor_gen_ts_1.writeText)(out, "line");
208
+ (0, cbor_gen_ts_1.writeInt)(out, v.line);
209
+ }
210
+ if (v.span !== undefined && v.span !== null) {
211
+ (0, cbor_gen_ts_1.writeText)(out, "span");
212
+ appendCBORSpan(out, v.span);
213
+ }
214
+ if (v.instance !== undefined && v.instance !== "") {
215
+ (0, cbor_gen_ts_1.writeText)(out, "instance");
216
+ (0, cbor_gen_ts_1.writeText)(out, v.instance);
217
+ }
218
+ if (v.key_path !== undefined && v.key_path !== "") {
219
+ (0, cbor_gen_ts_1.writeText)(out, "key_path");
220
+ (0, cbor_gen_ts_1.writeText)(out, v.key_path);
221
+ }
222
+ }
223
+ function decodeCBORLocation(data) {
224
+ const dec = new cbor_gen_ts_1.CborDec(data);
225
+ return decodeCBORLocationFrom(dec);
226
+ }
227
+ function decodeCBORLocationFrom(dec) {
228
+ const o = {};
229
+ const n = dec.readMapHeader();
230
+ for (let i = 0; i < n; i++) {
231
+ const k = dec.readText();
232
+ switch (k) {
233
+ case "span":
234
+ o["span"] = decodeCBORSpanFrom(dec);
235
+ break;
236
+ case "key_path":
237
+ o["key_path"] = dec.readText();
238
+ break;
239
+ case "uri":
240
+ o["uri"] = dec.readText();
241
+ break;
242
+ case "line":
243
+ o["line"] = dec.readInt();
244
+ break;
245
+ case "kind":
246
+ o["kind"] = dec.readText();
247
+ break;
248
+ case "instance":
249
+ o["instance"] = dec.readText();
250
+ break;
251
+ default: dec.skip();
252
+ }
253
+ }
254
+ return o;
255
+ }
256
+ function encodeCBORSpan(v) {
257
+ const out = [];
258
+ appendCBORSpan(out, v);
259
+ return new Uint8Array(out);
260
+ }
261
+ function appendCBORSpan(out, v) {
262
+ let n = 6;
263
+ (0, cbor_gen_ts_1.writeHead)(out, 5, n);
264
+ (0, cbor_gen_ts_1.writeText)(out, "end_line");
265
+ (0, cbor_gen_ts_1.writeInt)(out, v.end_line);
266
+ (0, cbor_gen_ts_1.writeText)(out, "end_column");
267
+ (0, cbor_gen_ts_1.writeInt)(out, v.end_column);
268
+ (0, cbor_gen_ts_1.writeText)(out, "end_offset");
269
+ (0, cbor_gen_ts_1.writeInt)(out, v.end_offset);
270
+ (0, cbor_gen_ts_1.writeText)(out, "start_line");
271
+ (0, cbor_gen_ts_1.writeInt)(out, v.start_line);
272
+ (0, cbor_gen_ts_1.writeText)(out, "start_column");
273
+ (0, cbor_gen_ts_1.writeInt)(out, v.start_column);
274
+ (0, cbor_gen_ts_1.writeText)(out, "start_offset");
275
+ (0, cbor_gen_ts_1.writeInt)(out, v.start_offset);
276
+ }
277
+ function decodeCBORSpan(data) {
278
+ const dec = new cbor_gen_ts_1.CborDec(data);
279
+ return decodeCBORSpanFrom(dec);
280
+ }
281
+ function decodeCBORSpanFrom(dec) {
282
+ const o = {};
283
+ const n = dec.readMapHeader();
284
+ for (let i = 0; i < n; i++) {
285
+ const k = dec.readText();
286
+ switch (k) {
287
+ case "start_offset":
288
+ o["start_offset"] = dec.readInt();
289
+ break;
290
+ case "end_offset":
291
+ o["end_offset"] = dec.readInt();
292
+ break;
293
+ case "start_line":
294
+ o["start_line"] = dec.readInt();
295
+ break;
296
+ case "start_column":
297
+ o["start_column"] = dec.readInt();
298
+ break;
299
+ case "end_line":
300
+ o["end_line"] = dec.readInt();
301
+ break;
302
+ case "end_column":
303
+ o["end_column"] = dec.readInt();
304
+ break;
305
+ default: dec.skip();
306
+ }
307
+ }
308
+ return o;
309
+ }
@@ -0,0 +1,97 @@
1
+ import { type Diagnostic } from "./diagnostic_gen.ts";
2
+ import { CborDec } from "./cbor_gen.ts";
3
+ export interface FRPStepInput {
4
+ documents: DocumentSet;
5
+ step_input?: Map<string, unknown>;
6
+ context: unknown;
7
+ step_index: number;
8
+ preceding_steps?: PrecedingStep[];
9
+ }
10
+ export interface FRPStepOutput {
11
+ patches?: JSONPatchOp[];
12
+ side_effects?: SideEffect[];
13
+ diagnostics?: Diagnostic[];
14
+ outputs?: Map<string, unknown>;
15
+ error?: string;
16
+ }
17
+ export interface DocumentSet {
18
+ own: Map<string, Unit>;
19
+ host?: Map<string, Unit>;
20
+ }
21
+ export interface Unit {
22
+ token: string;
23
+ bytes?: string;
24
+ media_type?: string;
25
+ tree?: unknown;
26
+ }
27
+ export interface JSONPatchOp {
28
+ scope: string;
29
+ key: string;
30
+ op: string;
31
+ path: string;
32
+ value?: unknown;
33
+ from?: string;
34
+ }
35
+ export interface SideEffect {
36
+ kind: string;
37
+ scope?: string;
38
+ crd?: unknown;
39
+ file?: SideEffectFile;
40
+ }
41
+ export interface SideEffectFile {
42
+ path: string;
43
+ content: string;
44
+ }
45
+ export interface PrecedingStep {
46
+ index: number;
47
+ plugin_uri: string;
48
+ side_effects?: SideEffect[];
49
+ }
50
+ export declare function encodeFRPStepInput(v: FRPStepInput): string;
51
+ export declare function decodeFRPStepInput(data: string): FRPStepInput;
52
+ export declare function encodeFRPStepOutput(v: FRPStepOutput): string;
53
+ export declare function decodeFRPStepOutput(data: string): FRPStepOutput;
54
+ export declare function encodeDocumentSet(v: DocumentSet): string;
55
+ export declare function decodeDocumentSet(data: string): DocumentSet;
56
+ export declare function encodeUnit(v: Unit): string;
57
+ export declare function decodeUnit(data: string): Unit;
58
+ export declare function encodeJSONPatchOp(v: JSONPatchOp): string;
59
+ export declare function decodeJSONPatchOp(data: string): JSONPatchOp;
60
+ export declare function encodeSideEffect(v: SideEffect): string;
61
+ export declare function decodeSideEffect(data: string): SideEffect;
62
+ export declare function encodeSideEffectFile(v: SideEffectFile): string;
63
+ export declare function decodeSideEffectFile(data: string): SideEffectFile;
64
+ export declare function encodePrecedingStep(v: PrecedingStep): string;
65
+ export declare function decodePrecedingStep(data: string): PrecedingStep;
66
+ export declare function encodeCBORFRPStepInput(v: FRPStepInput): Uint8Array;
67
+ export declare function appendCBORFRPStepInput(out: number[], v: FRPStepInput): void;
68
+ export declare function decodeCBORFRPStepInput(data: Uint8Array): FRPStepInput;
69
+ export declare function decodeCBORFRPStepInputFrom(dec: CborDec): FRPStepInput;
70
+ export declare function encodeCBORFRPStepOutput(v: FRPStepOutput): Uint8Array;
71
+ export declare function appendCBORFRPStepOutput(out: number[], v: FRPStepOutput): void;
72
+ export declare function decodeCBORFRPStepOutput(data: Uint8Array): FRPStepOutput;
73
+ export declare function decodeCBORFRPStepOutputFrom(dec: CborDec): FRPStepOutput;
74
+ export declare function encodeCBORDocumentSet(v: DocumentSet): Uint8Array;
75
+ export declare function appendCBORDocumentSet(out: number[], v: DocumentSet): void;
76
+ export declare function decodeCBORDocumentSet(data: Uint8Array): DocumentSet;
77
+ export declare function decodeCBORDocumentSetFrom(dec: CborDec): DocumentSet;
78
+ export declare function encodeCBORUnit(v: Unit): Uint8Array;
79
+ export declare function appendCBORUnit(out: number[], v: Unit): void;
80
+ export declare function decodeCBORUnit(data: Uint8Array): Unit;
81
+ export declare function decodeCBORUnitFrom(dec: CborDec): Unit;
82
+ export declare function encodeCBORJSONPatchOp(v: JSONPatchOp): Uint8Array;
83
+ export declare function appendCBORJSONPatchOp(out: number[], v: JSONPatchOp): void;
84
+ export declare function decodeCBORJSONPatchOp(data: Uint8Array): JSONPatchOp;
85
+ export declare function decodeCBORJSONPatchOpFrom(dec: CborDec): JSONPatchOp;
86
+ export declare function encodeCBORSideEffect(v: SideEffect): Uint8Array;
87
+ export declare function appendCBORSideEffect(out: number[], v: SideEffect): void;
88
+ export declare function decodeCBORSideEffect(data: Uint8Array): SideEffect;
89
+ export declare function decodeCBORSideEffectFrom(dec: CborDec): SideEffect;
90
+ export declare function encodeCBORSideEffectFile(v: SideEffectFile): Uint8Array;
91
+ export declare function appendCBORSideEffectFile(out: number[], v: SideEffectFile): void;
92
+ export declare function decodeCBORSideEffectFile(data: Uint8Array): SideEffectFile;
93
+ export declare function decodeCBORSideEffectFileFrom(dec: CborDec): SideEffectFile;
94
+ export declare function encodeCBORPrecedingStep(v: PrecedingStep): Uint8Array;
95
+ export declare function appendCBORPrecedingStep(out: number[], v: PrecedingStep): void;
96
+ export declare function decodeCBORPrecedingStep(data: Uint8Array): PrecedingStep;
97
+ export declare function decodeCBORPrecedingStepFrom(dec: CborDec): PrecedingStep;