@diia-inhouse/types 11.4.1 → 11.4.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.
@@ -1,372 +0,0 @@
1
- import { BinaryReader, BinaryWriter } from "@bufbuild/protobuf/wire";
2
- export declare const protobufPackage = "google.api";
3
- /**
4
- * Defines the HTTP configuration for an API service. It contains a list of
5
- * [HttpRule][google.api.HttpRule], each specifying the mapping of an RPC method
6
- * to one or more HTTP REST API methods.
7
- */
8
- export interface Http {
9
- /**
10
- * A list of HTTP configuration rules that apply to individual API methods.
11
- *
12
- * **NOTE:** All service configuration rules follow "last one wins" order.
13
- */
14
- rules: HttpRule[];
15
- /**
16
- * When set to true, URL path parameters will be fully URI-decoded except in
17
- * cases of single segment matches in reserved expansion, where "%2F" will be
18
- * left encoded.
19
- *
20
- * The default behavior is to not decode RFC 6570 reserved characters in multi
21
- * segment matches.
22
- */
23
- fully_decode_reserved_expansion: boolean;
24
- }
25
- /**
26
- * # gRPC Transcoding
27
- *
28
- * gRPC Transcoding is a feature for mapping between a gRPC method and one or
29
- * more HTTP REST endpoints. It allows developers to build a single API service
30
- * that supports both gRPC APIs and REST APIs. Many systems, including [Google
31
- * APIs](https://github.com/googleapis/googleapis),
32
- * [Cloud Endpoints](https://cloud.google.com/endpoints), [gRPC Gateway](https://github.com/grpc-ecosystem/grpc-gateway),
33
- * and [Envoy](https://github.com/envoyproxy/envoy) proxy support this feature
34
- * and use it for large scale production services.
35
- *
36
- * `HttpRule` defines the schema of the gRPC/REST mapping. The mapping specifies
37
- * how different portions of the gRPC request message are mapped to the URL
38
- * path, URL query parameters, and HTTP request body. It also controls how the
39
- * gRPC response message is mapped to the HTTP response body. `HttpRule` is
40
- * typically specified as an `google.api.http` annotation on the gRPC method.
41
- *
42
- * Each mapping specifies a URL path template and an HTTP method. The path
43
- * template may refer to one or more fields in the gRPC request message, as long
44
- * as each field is a non-repeated field with a primitive (non-message) type.
45
- * The path template controls how fields of the request message are mapped to
46
- * the URL path.
47
- *
48
- * Example:
49
- *
50
- * service Messaging {
51
- * rpc GetMessage(GetMessageRequest) returns (Message) {
52
- * option (google.api.http) = {
53
- * get: "/v1/{name=messages/*}"
54
- * };
55
- * }
56
- * }
57
- * message GetMessageRequest {
58
- * string name = 1; // Mapped to URL path.
59
- * }
60
- * message Message {
61
- * string text = 1; // The resource content.
62
- * }
63
- *
64
- * This enables an HTTP REST to gRPC mapping as below:
65
- *
66
- * HTTP | gRPC
67
- * -----|-----
68
- * `GET /v1/messages/123456` | `GetMessage(name: "messages/123456")`
69
- *
70
- * Any fields in the request message which are not bound by the path template
71
- * automatically become HTTP query parameters if there is no HTTP request body.
72
- * For example:
73
- *
74
- * service Messaging {
75
- * rpc GetMessage(GetMessageRequest) returns (Message) {
76
- * option (google.api.http) = {
77
- * get:"/v1/messages/{message_id}"
78
- * };
79
- * }
80
- * }
81
- * message GetMessageRequest {
82
- * message SubMessage {
83
- * string subfield = 1;
84
- * }
85
- * string message_id = 1; // Mapped to URL path.
86
- * int64 revision = 2; // Mapped to URL query parameter `revision`.
87
- * SubMessage sub = 3; // Mapped to URL query parameter `sub.subfield`.
88
- * }
89
- *
90
- * This enables a HTTP JSON to RPC mapping as below:
91
- *
92
- * HTTP | gRPC
93
- * -----|-----
94
- * `GET /v1/messages/123456?revision=2&sub.subfield=foo` |
95
- * `GetMessage(message_id: "123456" revision: 2 sub: SubMessage(subfield:
96
- * "foo"))`
97
- *
98
- * Note that fields which are mapped to URL query parameters must have a
99
- * primitive type or a repeated primitive type or a non-repeated message type.
100
- * In the case of a repeated type, the parameter can be repeated in the URL
101
- * as `...?param=A&param=B`. In the case of a message type, each field of the
102
- * message is mapped to a separate parameter, such as
103
- * `...?foo.a=A&foo.b=B&foo.c=C`.
104
- *
105
- * For HTTP methods that allow a request body, the `body` field
106
- * specifies the mapping. Consider a REST update method on the
107
- * message resource collection:
108
- *
109
- * service Messaging {
110
- * rpc UpdateMessage(UpdateMessageRequest) returns (Message) {
111
- * option (google.api.http) = {
112
- * patch: "/v1/messages/{message_id}"
113
- * body: "message"
114
- * };
115
- * }
116
- * }
117
- * message UpdateMessageRequest {
118
- * string message_id = 1; // mapped to the URL
119
- * Message message = 2; // mapped to the body
120
- * }
121
- *
122
- * The following HTTP JSON to RPC mapping is enabled, where the
123
- * representation of the JSON in the request body is determined by
124
- * protos JSON encoding:
125
- *
126
- * HTTP | gRPC
127
- * -----|-----
128
- * `PATCH /v1/messages/123456 { "text": "Hi!" }` | `UpdateMessage(message_id:
129
- * "123456" message { text: "Hi!" })`
130
- *
131
- * The special name `*` can be used in the body mapping to define that
132
- * every field not bound by the path template should be mapped to the
133
- * request body. This enables the following alternative definition of
134
- * the update method:
135
- *
136
- * service Messaging {
137
- * rpc UpdateMessage(Message) returns (Message) {
138
- * option (google.api.http) = {
139
- * patch: "/v1/messages/{message_id}"
140
- * body: "*"
141
- * };
142
- * }
143
- * }
144
- * message Message {
145
- * string message_id = 1;
146
- * string text = 2;
147
- * }
148
- *
149
- * The following HTTP JSON to RPC mapping is enabled:
150
- *
151
- * HTTP | gRPC
152
- * -----|-----
153
- * `PATCH /v1/messages/123456 { "text": "Hi!" }` | `UpdateMessage(message_id:
154
- * "123456" text: "Hi!")`
155
- *
156
- * Note that when using `*` in the body mapping, it is not possible to
157
- * have HTTP parameters, as all fields not bound by the path end in
158
- * the body. This makes this option more rarely used in practice when
159
- * defining REST APIs. The common usage of `*` is in custom methods
160
- * which don't use the URL at all for transferring data.
161
- *
162
- * It is possible to define multiple HTTP methods for one RPC by using
163
- * the `additional_bindings` option. Example:
164
- *
165
- * service Messaging {
166
- * rpc GetMessage(GetMessageRequest) returns (Message) {
167
- * option (google.api.http) = {
168
- * get: "/v1/messages/{message_id}"
169
- * additional_bindings {
170
- * get: "/v1/users/{user_id}/messages/{message_id}"
171
- * }
172
- * };
173
- * }
174
- * }
175
- * message GetMessageRequest {
176
- * string message_id = 1;
177
- * string user_id = 2;
178
- * }
179
- *
180
- * This enables the following two alternative HTTP JSON to RPC mappings:
181
- *
182
- * HTTP | gRPC
183
- * -----|-----
184
- * `GET /v1/messages/123456` | `GetMessage(message_id: "123456")`
185
- * `GET /v1/users/me/messages/123456` | `GetMessage(user_id: "me" message_id:
186
- * "123456")`
187
- *
188
- * ## Rules for HTTP mapping
189
- *
190
- * 1. Leaf request fields (recursive expansion nested messages in the request
191
- * message) are classified into three categories:
192
- * - Fields referred by the path template. They are passed via the URL path.
193
- * - Fields referred by the [HttpRule.body][google.api.HttpRule.body]. They
194
- * are passed via the HTTP
195
- * request body.
196
- * - All other fields are passed via the URL query parameters, and the
197
- * parameter name is the field path in the request message. A repeated
198
- * field can be represented as multiple query parameters under the same
199
- * name.
200
- * 2. If [HttpRule.body][google.api.HttpRule.body] is "*", there is no URL
201
- * query parameter, all fields
202
- * are passed via URL path and HTTP request body.
203
- * 3. If [HttpRule.body][google.api.HttpRule.body] is omitted, there is no HTTP
204
- * request body, all
205
- * fields are passed via URL path and URL query parameters.
206
- *
207
- * ### Path template syntax
208
- *
209
- * Template = "/" Segments [ Verb ] ;
210
- * Segments = Segment { "/" Segment } ;
211
- * Segment = "*" | "**" | LITERAL | Variable ;
212
- * Variable = "{" FieldPath [ "=" Segments ] "}" ;
213
- * FieldPath = IDENT { "." IDENT } ;
214
- * Verb = ":" LITERAL ;
215
- *
216
- * The syntax `*` matches a single URL path segment. The syntax `**` matches
217
- * zero or more URL path segments, which must be the last part of the URL path
218
- * except the `Verb`.
219
- *
220
- * The syntax `Variable` matches part of the URL path as specified by its
221
- * template. A variable template must not contain other variables. If a variable
222
- * matches a single path segment, its template may be omitted, e.g. `{var}`
223
- * is equivalent to `{var=*}`.
224
- *
225
- * The syntax `LITERAL` matches literal text in the URL path. If the `LITERAL`
226
- * contains any reserved character, such characters should be percent-encoded
227
- * before the matching.
228
- *
229
- * If a variable contains exactly one path segment, such as `"{var}"` or
230
- * `"{var=*}"`, when such a variable is expanded into a URL path on the client
231
- * side, all characters except `[-_.~0-9a-zA-Z]` are percent-encoded. The
232
- * server side does the reverse decoding. Such variables show up in the
233
- * [Discovery
234
- * Document](https://developers.google.com/discovery/v1/reference/apis) as
235
- * `{var}`.
236
- *
237
- * If a variable contains multiple path segments, such as `"{var=foo/*}"`
238
- * or `"{var=**}"`, when such a variable is expanded into a URL path on the
239
- * client side, all characters except `[-_.~/0-9a-zA-Z]` are percent-encoded.
240
- * The server side does the reverse decoding, except "%2F" and "%2f" are left
241
- * unchanged. Such variables show up in the
242
- * [Discovery
243
- * Document](https://developers.google.com/discovery/v1/reference/apis) as
244
- * `{+var}`.
245
- *
246
- * ## Using gRPC API Service Configuration
247
- *
248
- * gRPC API Service Configuration (service config) is a configuration language
249
- * for configuring a gRPC service to become a user-facing product. The
250
- * service config is simply the YAML representation of the `google.api.Service`
251
- * proto message.
252
- *
253
- * As an alternative to annotating your proto file, you can configure gRPC
254
- * transcoding in your service config YAML files. You do this by specifying a
255
- * `HttpRule` that maps the gRPC method to a REST endpoint, achieving the same
256
- * effect as the proto annotation. This can be particularly useful if you
257
- * have a proto that is reused in multiple services. Note that any transcoding
258
- * specified in the service config will override any matching transcoding
259
- * configuration in the proto.
260
- *
261
- * Example:
262
- *
263
- * http:
264
- * rules:
265
- * # Selects a gRPC method and applies HttpRule to it.
266
- * - selector: example.v1.Messaging.GetMessage
267
- * get: /v1/messages/{message_id}/{sub.subfield}
268
- *
269
- * ## Special notes
270
- *
271
- * When gRPC Transcoding is used to map a gRPC to JSON REST endpoints, the
272
- * proto to JSON conversion must follow the [proto3
273
- * specification](https://developers.google.com/protocol-buffers/docs/proto3#json).
274
- *
275
- * While the single segment variable follows the semantics of
276
- * [RFC 6570](https://tools.ietf.org/html/rfc6570) Section 3.2.2 Simple String
277
- * Expansion, the multi segment variable **does not** follow RFC 6570 Section
278
- * 3.2.3 Reserved Expansion. The reason is that the Reserved Expansion
279
- * does not expand special characters like `?` and `#`, which would lead
280
- * to invalid URLs. As the result, gRPC Transcoding uses a custom encoding
281
- * for multi segment variables.
282
- *
283
- * The path variables **must not** refer to any repeated or mapped field,
284
- * because client libraries are not capable of handling such variable expansion.
285
- *
286
- * The path variables **must not** capture the leading "/" character. The reason
287
- * is that the most common use case "{var}" does not capture the leading "/"
288
- * character. For consistency, all path variables must share the same behavior.
289
- *
290
- * Repeated message fields must not be mapped to URL query parameters, because
291
- * no client library can support such complicated mapping.
292
- *
293
- * If an API needs to use a JSON array for request or response body, it can map
294
- * the request or response body to a repeated field. However, some gRPC
295
- * Transcoding implementations may not support this feature.
296
- */
297
- export interface HttpRule {
298
- /**
299
- * Selects a method to which this rule applies.
300
- *
301
- * Refer to [selector][google.api.DocumentationRule.selector] for syntax
302
- * details.
303
- */
304
- selector: string;
305
- /**
306
- * Maps to HTTP GET. Used for listing and getting information about
307
- * resources.
308
- */
309
- get?: string | undefined;
310
- /** Maps to HTTP PUT. Used for replacing a resource. */
311
- put?: string | undefined;
312
- /** Maps to HTTP POST. Used for creating a resource or performing an action. */
313
- post?: string | undefined;
314
- /** Maps to HTTP DELETE. Used for deleting a resource. */
315
- delete?: string | undefined;
316
- /** Maps to HTTP PATCH. Used for updating a resource. */
317
- patch?: string | undefined;
318
- /**
319
- * The custom pattern is used for specifying an HTTP method that is not
320
- * included in the `pattern` field, such as HEAD, or "*" to leave the
321
- * HTTP method unspecified for this rule. The wild-card rule is useful
322
- * for services that provide content to Web (HTML) clients.
323
- */
324
- custom?: CustomHttpPattern | undefined;
325
- /**
326
- * The name of the request field whose value is mapped to the HTTP request
327
- * body, or `*` for mapping all request fields not captured by the path
328
- * pattern to the HTTP body, or omitted for not having any HTTP request body.
329
- *
330
- * NOTE: the referred field must be present at the top-level of the request
331
- * message type.
332
- */
333
- body: string;
334
- /**
335
- * Optional. The name of the response field whose value is mapped to the HTTP
336
- * response body. When omitted, the entire response message will be used
337
- * as the HTTP response body.
338
- *
339
- * NOTE: The referred field must be present at the top-level of the response
340
- * message type.
341
- */
342
- response_body: string;
343
- /**
344
- * Additional HTTP bindings for the selector. Nested bindings must
345
- * not contain an `additional_bindings` field themselves (that is,
346
- * the nesting may only be one level deep).
347
- */
348
- additional_bindings: HttpRule[];
349
- }
350
- /** A custom pattern is used for defining custom HTTP verb. */
351
- export interface CustomHttpPattern {
352
- /** The name of this custom HTTP verb. */
353
- kind: string;
354
- /** The path matched by this custom verb. */
355
- path: string;
356
- }
357
- export declare const Http: MessageFns<Http>;
358
- export declare const HttpRule: MessageFns<HttpRule>;
359
- export declare const CustomHttpPattern: MessageFns<CustomHttpPattern>;
360
- type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
361
- export type DeepPartial<T> = T extends Builtin ? T : T extends globalThis.Array<infer U> ? globalThis.Array<DeepPartial<U>> : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial<U>> : T extends {} ? {
362
- [K in keyof T]?: DeepPartial<T[K]>;
363
- } : Partial<T>;
364
- export interface MessageFns<T> {
365
- encode(message: T, writer?: BinaryWriter): BinaryWriter;
366
- decode(input: BinaryReader | Uint8Array, length?: number): T;
367
- fromJSON(object: any): T;
368
- toJSON(message: T): unknown;
369
- create(base?: DeepPartial<T>): T;
370
- fromPartial(object: DeepPartial<T>): T;
371
- }
372
- export {};
@@ -1,72 +0,0 @@
1
- import { BinaryReader, BinaryWriter } from "@bufbuild/protobuf/wire";
2
- import { Any } from "../protobuf/any.js";
3
- export declare const protobufPackage = "google.api";
4
- /**
5
- * Message that represents an arbitrary HTTP body. It should only be used for
6
- * payload formats that can't be represented as JSON, such as raw binary or
7
- * an HTML page.
8
- *
9
- * This message can be used both in streaming and non-streaming API methods in
10
- * the request as well as the response.
11
- *
12
- * It can be used as a top-level request field, which is convenient if one
13
- * wants to extract parameters from either the URL or HTTP template into the
14
- * request fields and also want access to the raw HTTP body.
15
- *
16
- * Example:
17
- *
18
- * message GetResourceRequest {
19
- * // A unique request id.
20
- * string request_id = 1;
21
- *
22
- * // The raw HTTP body is bound to this field.
23
- * google.api.HttpBody http_body = 2;
24
- *
25
- * }
26
- *
27
- * service ResourceService {
28
- * rpc GetResource(GetResourceRequest)
29
- * returns (google.api.HttpBody);
30
- * rpc UpdateResource(google.api.HttpBody)
31
- * returns (google.protobuf.Empty);
32
- *
33
- * }
34
- *
35
- * Example with streaming methods:
36
- *
37
- * service CaldavService {
38
- * rpc GetCalendar(stream google.api.HttpBody)
39
- * returns (stream google.api.HttpBody);
40
- * rpc UpdateCalendar(stream google.api.HttpBody)
41
- * returns (stream google.api.HttpBody);
42
- *
43
- * }
44
- *
45
- * Use of this type only changes how the request and response bodies are
46
- * handled, all other features will continue to work unchanged.
47
- */
48
- export interface HttpBody {
49
- /** The HTTP Content-Type header value specifying the content type of the body. */
50
- content_type: string;
51
- /** The HTTP request/response body as raw binary. */
52
- data: Buffer;
53
- /**
54
- * Application specific response metadata. Must be set in the first response
55
- * for streaming APIs.
56
- */
57
- extensions: Any[];
58
- }
59
- export declare const HttpBody: MessageFns<HttpBody>;
60
- type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
61
- export type DeepPartial<T> = T extends Builtin ? T : T extends globalThis.Array<infer U> ? globalThis.Array<DeepPartial<U>> : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial<U>> : T extends {} ? {
62
- [K in keyof T]?: DeepPartial<T[K]>;
63
- } : Partial<T>;
64
- export interface MessageFns<T> {
65
- encode(message: T, writer?: BinaryWriter): BinaryWriter;
66
- decode(input: BinaryReader | Uint8Array, length?: number): T;
67
- fromJSON(object: any): T;
68
- toJSON(message: T): unknown;
69
- create(base?: DeepPartial<T>): T;
70
- fromPartial(object: DeepPartial<T>): T;
71
- }
72
- export {};
@@ -1,138 +0,0 @@
1
- import { BinaryReader, BinaryWriter } from "@bufbuild/protobuf/wire";
2
- export declare const protobufPackage = "google.protobuf";
3
- /**
4
- * `Any` contains an arbitrary serialized protocol buffer message along with a
5
- * URL that describes the type of the serialized message.
6
- *
7
- * Protobuf library provides support to pack/unpack Any values in the form
8
- * of utility functions or additional generated methods of the Any type.
9
- *
10
- * Example 1: Pack and unpack a message in C++.
11
- *
12
- * Foo foo = ...;
13
- * Any any;
14
- * any.PackFrom(foo);
15
- * ...
16
- * if (any.UnpackTo(&foo)) {
17
- * ...
18
- * }
19
- *
20
- * Example 2: Pack and unpack a message in Java.
21
- *
22
- * Foo foo = ...;
23
- * Any any = Any.pack(foo);
24
- * ...
25
- * if (any.is(Foo.class)) {
26
- * foo = any.unpack(Foo.class);
27
- * }
28
- * // or ...
29
- * if (any.isSameTypeAs(Foo.getDefaultInstance())) {
30
- * foo = any.unpack(Foo.getDefaultInstance());
31
- * }
32
- *
33
- * Example 3: Pack and unpack a message in Python.
34
- *
35
- * foo = Foo(...)
36
- * any = Any()
37
- * any.Pack(foo)
38
- * ...
39
- * if any.Is(Foo.DESCRIPTOR):
40
- * any.Unpack(foo)
41
- * ...
42
- *
43
- * Example 4: Pack and unpack a message in Go
44
- *
45
- * foo := &pb.Foo{...}
46
- * any, err := anypb.New(foo)
47
- * if err != nil {
48
- * ...
49
- * }
50
- * ...
51
- * foo := &pb.Foo{}
52
- * if err := any.UnmarshalTo(foo); err != nil {
53
- * ...
54
- * }
55
- *
56
- * The pack methods provided by protobuf library will by default use
57
- * 'type.googleapis.com/full.type.name' as the type URL and the unpack
58
- * methods only use the fully qualified type name after the last '/'
59
- * in the type URL, for example "foo.bar.com/x/y.z" will yield type
60
- * name "y.z".
61
- *
62
- * JSON
63
- * ====
64
- * The JSON representation of an `Any` value uses the regular
65
- * representation of the deserialized, embedded message, with an
66
- * additional field `@type` which contains the type URL. Example:
67
- *
68
- * package google.profile;
69
- * message Person {
70
- * string first_name = 1;
71
- * string last_name = 2;
72
- * }
73
- *
74
- * {
75
- * "@type": "type.googleapis.com/google.profile.Person",
76
- * "firstName": <string>,
77
- * "lastName": <string>
78
- * }
79
- *
80
- * If the embedded message type is well-known and has a custom JSON
81
- * representation, that representation will be embedded adding a field
82
- * `value` which holds the custom JSON in addition to the `@type`
83
- * field. Example (for message [google.protobuf.Duration][]):
84
- *
85
- * {
86
- * "@type": "type.googleapis.com/google.protobuf.Duration",
87
- * "value": "1.212s"
88
- * }
89
- */
90
- export interface Any {
91
- /**
92
- * A URL/resource name that uniquely identifies the type of the serialized
93
- * protocol buffer message. This string must contain at least
94
- * one "/" character. The last segment of the URL's path must represent
95
- * the fully qualified name of the type (as in
96
- * `path/google.protobuf.Duration`). The name should be in a canonical form
97
- * (e.g., leading "." is not accepted).
98
- *
99
- * In practice, teams usually precompile into the binary all types that they
100
- * expect it to use in the context of Any. However, for URLs which use the
101
- * scheme `http`, `https`, or no scheme, one can optionally set up a type
102
- * server that maps type URLs to message definitions as follows:
103
- *
104
- * * If no scheme is provided, `https` is assumed.
105
- * * An HTTP GET on the URL must yield a [google.protobuf.Type][]
106
- * value in binary format, or produce an error.
107
- * * Applications are allowed to cache lookup results based on the
108
- * URL, or have them precompiled into a binary to avoid any
109
- * lookup. Therefore, binary compatibility needs to be preserved
110
- * on changes to types. (Use versioned type names to manage
111
- * breaking changes.)
112
- *
113
- * Note: this functionality is not currently available in the official
114
- * protobuf release, and it is not used for type URLs beginning with
115
- * type.googleapis.com. As of May 2023, there are no widely used type server
116
- * implementations and no plans to implement one.
117
- *
118
- * Schemes other than `http`, `https` (or the empty scheme) might be
119
- * used with implementation specific semantics.
120
- */
121
- type_url: string;
122
- /** Must be a valid serialized protocol buffer of the above specified type. */
123
- value: Buffer;
124
- }
125
- export declare const Any: MessageFns<Any>;
126
- type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
127
- export type DeepPartial<T> = T extends Builtin ? T : T extends globalThis.Array<infer U> ? globalThis.Array<DeepPartial<U>> : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial<U>> : T extends {} ? {
128
- [K in keyof T]?: DeepPartial<T[K]>;
129
- } : Partial<T>;
130
- export interface MessageFns<T> {
131
- encode(message: T, writer?: BinaryWriter): BinaryWriter;
132
- decode(input: BinaryReader | Uint8Array, length?: number): T;
133
- fromJSON(object: any): T;
134
- toJSON(message: T): unknown;
135
- create(base?: DeepPartial<T>): T;
136
- fromPartial(object: DeepPartial<T>): T;
137
- }
138
- export {};