@jsonjoy.com/json-pack 1.18.0 → 1.19.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.
@@ -0,0 +1,522 @@
1
+ import type { Nfsv4Stat, Nfsv4LockType } from './constants';
2
+ import type * as structs from './structs';
3
+ export type Nfsv4Operation = Nfsv4Request | Nfsv4Response;
4
+ export type Nfsv4Request = Nfsv4AccessRequest | Nfsv4CloseRequest | Nfsv4CommitRequest | Nfsv4CreateRequest | Nfsv4DelegpurgeRequest | Nfsv4DelegreturnRequest | Nfsv4GetattrRequest | Nfsv4GetfhRequest | Nfsv4LinkRequest | Nfsv4LockRequest | Nfsv4LocktRequest | Nfsv4LockuRequest | Nfsv4LookupRequest | Nfsv4LookuppRequest | Nfsv4NverifyRequest | Nfsv4OpenRequest | Nfsv4OpenattrRequest | Nfsv4OpenConfirmRequest | Nfsv4OpenDowngradeRequest | Nfsv4PutfhRequest | Nfsv4PutpubfhRequest | Nfsv4PutrootfhRequest | Nfsv4ReadRequest | Nfsv4ReaddirRequest | Nfsv4ReadlinkRequest | Nfsv4RemoveRequest | Nfsv4RenameRequest | Nfsv4RenewRequest | Nfsv4RestorefhRequest | Nfsv4SavefhRequest | Nfsv4SecinfoRequest | Nfsv4SetattrRequest | Nfsv4SetclientidRequest | Nfsv4SetclientidConfirmRequest | Nfsv4VerifyRequest | Nfsv4WriteRequest | Nfsv4ReleaseLockOwnerRequest | Nfsv4IllegalRequest;
5
+ export type Nfsv4Response = Nfsv4AccessResponse | Nfsv4CloseResponse | Nfsv4CommitResponse | Nfsv4CreateResponse | Nfsv4DelegpurgeResponse | Nfsv4DelegreturnResponse | Nfsv4GetattrResponse | Nfsv4GetfhResponse | Nfsv4LinkResponse | Nfsv4LockResponse | Nfsv4LocktResponse | Nfsv4LockuResponse | Nfsv4LookupResponse | Nfsv4LookuppResponse | Nfsv4NverifyResponse | Nfsv4OpenResponse | Nfsv4OpenattrResponse | Nfsv4OpenConfirmResponse | Nfsv4OpenDowngradeResponse | Nfsv4PutfhResponse | Nfsv4PutpubfhResponse | Nfsv4PutrootfhResponse | Nfsv4ReadResponse | Nfsv4ReaddirResponse | Nfsv4ReadlinkResponse | Nfsv4RemoveResponse | Nfsv4RenameResponse | Nfsv4RenewResponse | Nfsv4RestorefhResponse | Nfsv4SavefhResponse | Nfsv4SecinfoResponse | Nfsv4SetattrResponse | Nfsv4SetclientidResponse | Nfsv4SetclientidConfirmResponse | Nfsv4VerifyResponse | Nfsv4WriteResponse | Nfsv4ReleaseLockOwnerResponse | Nfsv4IllegalResponse;
6
+ export declare class Nfsv4AccessRequest {
7
+ readonly access: number;
8
+ constructor(access: number);
9
+ }
10
+ export declare class Nfsv4AccessResOk {
11
+ readonly supported: number;
12
+ readonly access: number;
13
+ constructor(supported: number, access: number);
14
+ }
15
+ export declare class Nfsv4AccessResponse {
16
+ readonly status: Nfsv4Stat;
17
+ readonly resok?: Nfsv4AccessResOk | undefined;
18
+ constructor(status: Nfsv4Stat, resok?: Nfsv4AccessResOk | undefined);
19
+ }
20
+ export declare class Nfsv4CloseRequest {
21
+ readonly seqid: number;
22
+ readonly openStateid: structs.Nfsv4Stateid;
23
+ constructor(seqid: number, openStateid: structs.Nfsv4Stateid);
24
+ }
25
+ export declare class Nfsv4CloseResOk {
26
+ readonly openStateid: structs.Nfsv4Stateid;
27
+ constructor(openStateid: structs.Nfsv4Stateid);
28
+ }
29
+ export declare class Nfsv4CloseResponse {
30
+ readonly status: Nfsv4Stat;
31
+ readonly resok?: Nfsv4CloseResOk | undefined;
32
+ constructor(status: Nfsv4Stat, resok?: Nfsv4CloseResOk | undefined);
33
+ }
34
+ export declare class Nfsv4CommitRequest {
35
+ readonly offset: bigint;
36
+ readonly count: number;
37
+ constructor(offset: bigint, count: number);
38
+ }
39
+ export declare class Nfsv4CommitResOk {
40
+ readonly writeverf: structs.Nfsv4Verifier;
41
+ constructor(writeverf: structs.Nfsv4Verifier);
42
+ }
43
+ export declare class Nfsv4CommitResponse {
44
+ readonly status: Nfsv4Stat;
45
+ readonly resok?: Nfsv4CommitResOk | undefined;
46
+ constructor(status: Nfsv4Stat, resok?: Nfsv4CommitResOk | undefined);
47
+ }
48
+ export declare class Nfsv4CreateRequest {
49
+ readonly objtype: structs.Nfsv4CreateType;
50
+ readonly objname: string;
51
+ constructor(objtype: structs.Nfsv4CreateType, objname: string);
52
+ }
53
+ export declare class Nfsv4CreateResOk {
54
+ readonly cinfo: structs.Nfsv4ChangeInfo;
55
+ readonly attrset: structs.Nfsv4Bitmap;
56
+ constructor(cinfo: structs.Nfsv4ChangeInfo, attrset: structs.Nfsv4Bitmap);
57
+ }
58
+ export declare class Nfsv4CreateResponse {
59
+ readonly status: Nfsv4Stat;
60
+ readonly resok?: Nfsv4CreateResOk | undefined;
61
+ constructor(status: Nfsv4Stat, resok?: Nfsv4CreateResOk | undefined);
62
+ }
63
+ export declare class Nfsv4DelegpurgeRequest {
64
+ readonly clientid: bigint;
65
+ constructor(clientid: bigint);
66
+ }
67
+ export declare class Nfsv4DelegpurgeResponse {
68
+ readonly status: Nfsv4Stat;
69
+ constructor(status: Nfsv4Stat);
70
+ }
71
+ export declare class Nfsv4DelegreturnRequest {
72
+ readonly delegStateid: structs.Nfsv4Stateid;
73
+ constructor(delegStateid: structs.Nfsv4Stateid);
74
+ }
75
+ export declare class Nfsv4DelegreturnResponse {
76
+ readonly status: Nfsv4Stat;
77
+ constructor(status: Nfsv4Stat);
78
+ }
79
+ export declare class Nfsv4GetattrRequest {
80
+ readonly attrRequest: structs.Nfsv4Bitmap;
81
+ constructor(attrRequest: structs.Nfsv4Bitmap);
82
+ }
83
+ export declare class Nfsv4GetattrResOk {
84
+ readonly objAttributes: structs.Nfsv4Fattr;
85
+ constructor(objAttributes: structs.Nfsv4Fattr);
86
+ }
87
+ export declare class Nfsv4GetattrResponse {
88
+ readonly status: Nfsv4Stat;
89
+ readonly resok?: Nfsv4GetattrResOk | undefined;
90
+ constructor(status: Nfsv4Stat, resok?: Nfsv4GetattrResOk | undefined);
91
+ }
92
+ export declare class Nfsv4GetfhRequest {
93
+ }
94
+ export declare class Nfsv4GetfhResOk {
95
+ readonly object: structs.Nfsv4Fh;
96
+ constructor(object: structs.Nfsv4Fh);
97
+ }
98
+ export declare class Nfsv4GetfhResponse {
99
+ readonly status: Nfsv4Stat;
100
+ readonly resok?: Nfsv4GetfhResOk | undefined;
101
+ constructor(status: Nfsv4Stat, resok?: Nfsv4GetfhResOk | undefined);
102
+ }
103
+ export declare class Nfsv4LinkRequest {
104
+ readonly newname: string;
105
+ constructor(newname: string);
106
+ }
107
+ export declare class Nfsv4LinkResOk {
108
+ readonly cinfo: structs.Nfsv4ChangeInfo;
109
+ constructor(cinfo: structs.Nfsv4ChangeInfo);
110
+ }
111
+ export declare class Nfsv4LinkResponse {
112
+ readonly status: Nfsv4Stat;
113
+ readonly resok?: Nfsv4LinkResOk | undefined;
114
+ constructor(status: Nfsv4Stat, resok?: Nfsv4LinkResOk | undefined);
115
+ }
116
+ export declare class Nfsv4LockRequest {
117
+ readonly locktype: Nfsv4LockType;
118
+ readonly reclaim: boolean;
119
+ readonly offset: bigint;
120
+ readonly length: bigint;
121
+ readonly locker: structs.Nfsv4LockOwnerInfo;
122
+ constructor(locktype: Nfsv4LockType, reclaim: boolean, offset: bigint, length: bigint, locker: structs.Nfsv4LockOwnerInfo);
123
+ }
124
+ export declare class Nfsv4LockResOk {
125
+ readonly lockStateid: structs.Nfsv4Stateid;
126
+ constructor(lockStateid: structs.Nfsv4Stateid);
127
+ }
128
+ export declare class Nfsv4LockResDenied {
129
+ readonly offset: bigint;
130
+ readonly length: bigint;
131
+ readonly locktype: Nfsv4LockType;
132
+ readonly owner: structs.Nfsv4LockOwner;
133
+ constructor(offset: bigint, length: bigint, locktype: Nfsv4LockType, owner: structs.Nfsv4LockOwner);
134
+ }
135
+ export declare class Nfsv4LockResponse {
136
+ readonly status: Nfsv4Stat;
137
+ readonly resok?: Nfsv4LockResOk | undefined;
138
+ readonly denied?: Nfsv4LockResDenied | undefined;
139
+ constructor(status: Nfsv4Stat, resok?: Nfsv4LockResOk | undefined, denied?: Nfsv4LockResDenied | undefined);
140
+ }
141
+ export declare class Nfsv4LocktRequest {
142
+ readonly locktype: Nfsv4LockType;
143
+ readonly offset: bigint;
144
+ readonly length: bigint;
145
+ readonly owner: structs.Nfsv4LockOwner;
146
+ constructor(locktype: Nfsv4LockType, offset: bigint, length: bigint, owner: structs.Nfsv4LockOwner);
147
+ }
148
+ export declare class Nfsv4LocktResDenied {
149
+ readonly offset: bigint;
150
+ readonly length: bigint;
151
+ readonly locktype: Nfsv4LockType;
152
+ readonly owner: structs.Nfsv4LockOwner;
153
+ constructor(offset: bigint, length: bigint, locktype: Nfsv4LockType, owner: structs.Nfsv4LockOwner);
154
+ }
155
+ export declare class Nfsv4LocktResponse {
156
+ readonly status: Nfsv4Stat;
157
+ readonly denied?: Nfsv4LocktResDenied | undefined;
158
+ constructor(status: Nfsv4Stat, denied?: Nfsv4LocktResDenied | undefined);
159
+ }
160
+ export declare class Nfsv4LockuRequest {
161
+ readonly locktype: Nfsv4LockType;
162
+ readonly seqid: number;
163
+ readonly lockStateid: structs.Nfsv4Stateid;
164
+ readonly offset: bigint;
165
+ readonly length: bigint;
166
+ constructor(locktype: Nfsv4LockType, seqid: number, lockStateid: structs.Nfsv4Stateid, offset: bigint, length: bigint);
167
+ }
168
+ export declare class Nfsv4LockuResOk {
169
+ readonly lockStateid: structs.Nfsv4Stateid;
170
+ constructor(lockStateid: structs.Nfsv4Stateid);
171
+ }
172
+ export declare class Nfsv4LockuResponse {
173
+ readonly status: Nfsv4Stat;
174
+ readonly resok?: Nfsv4LockuResOk | undefined;
175
+ constructor(status: Nfsv4Stat, resok?: Nfsv4LockuResOk | undefined);
176
+ }
177
+ export declare class Nfsv4LookupRequest {
178
+ readonly objname: string;
179
+ constructor(objname: string);
180
+ }
181
+ export declare class Nfsv4LookupResponse {
182
+ readonly status: Nfsv4Stat;
183
+ constructor(status: Nfsv4Stat);
184
+ }
185
+ export declare class Nfsv4LookuppRequest {
186
+ }
187
+ export declare class Nfsv4LookuppResponse {
188
+ readonly status: Nfsv4Stat;
189
+ constructor(status: Nfsv4Stat);
190
+ }
191
+ export declare class Nfsv4NverifyRequest {
192
+ readonly objAttributes: structs.Nfsv4Fattr;
193
+ constructor(objAttributes: structs.Nfsv4Fattr);
194
+ }
195
+ export declare class Nfsv4NverifyResponse {
196
+ readonly status: Nfsv4Stat;
197
+ constructor(status: Nfsv4Stat);
198
+ }
199
+ export declare class Nfsv4OpenRequest {
200
+ readonly seqid: number;
201
+ readonly shareAccess: number;
202
+ readonly shareDeny: number;
203
+ readonly owner: structs.Nfsv4OpenOwner;
204
+ readonly openhow: number;
205
+ readonly claim: structs.Nfsv4OpenClaim;
206
+ constructor(seqid: number, shareAccess: number, shareDeny: number, owner: structs.Nfsv4OpenOwner, openhow: number, claim: structs.Nfsv4OpenClaim);
207
+ }
208
+ export declare class Nfsv4OpenResOk {
209
+ readonly stateid: structs.Nfsv4Stateid;
210
+ readonly cinfo: structs.Nfsv4ChangeInfo;
211
+ readonly rflags: number;
212
+ readonly attrset: structs.Nfsv4Bitmap;
213
+ readonly delegation: structs.Nfsv4OpenDelegation;
214
+ constructor(stateid: structs.Nfsv4Stateid, cinfo: structs.Nfsv4ChangeInfo, rflags: number, attrset: structs.Nfsv4Bitmap, delegation: structs.Nfsv4OpenDelegation);
215
+ }
216
+ export declare class Nfsv4OpenResponse {
217
+ readonly status: Nfsv4Stat;
218
+ readonly resok?: Nfsv4OpenResOk | undefined;
219
+ constructor(status: Nfsv4Stat, resok?: Nfsv4OpenResOk | undefined);
220
+ }
221
+ export declare class Nfsv4OpenattrRequest {
222
+ readonly createdir: boolean;
223
+ constructor(createdir: boolean);
224
+ }
225
+ export declare class Nfsv4OpenattrResponse {
226
+ readonly status: Nfsv4Stat;
227
+ constructor(status: Nfsv4Stat);
228
+ }
229
+ export declare class Nfsv4OpenConfirmRequest {
230
+ readonly openStateid: structs.Nfsv4Stateid;
231
+ readonly seqid: number;
232
+ constructor(openStateid: structs.Nfsv4Stateid, seqid: number);
233
+ }
234
+ export declare class Nfsv4OpenConfirmResOk {
235
+ readonly openStateid: structs.Nfsv4Stateid;
236
+ constructor(openStateid: structs.Nfsv4Stateid);
237
+ }
238
+ export declare class Nfsv4OpenConfirmResponse {
239
+ readonly status: Nfsv4Stat;
240
+ readonly resok?: Nfsv4OpenConfirmResOk | undefined;
241
+ constructor(status: Nfsv4Stat, resok?: Nfsv4OpenConfirmResOk | undefined);
242
+ }
243
+ export declare class Nfsv4OpenDowngradeRequest {
244
+ readonly openStateid: structs.Nfsv4Stateid;
245
+ readonly seqid: number;
246
+ readonly shareAccess: number;
247
+ readonly shareDeny: number;
248
+ constructor(openStateid: structs.Nfsv4Stateid, seqid: number, shareAccess: number, shareDeny: number);
249
+ }
250
+ export declare class Nfsv4OpenDowngradeResOk {
251
+ readonly openStateid: structs.Nfsv4Stateid;
252
+ constructor(openStateid: structs.Nfsv4Stateid);
253
+ }
254
+ export declare class Nfsv4OpenDowngradeResponse {
255
+ readonly status: Nfsv4Stat;
256
+ readonly resok?: Nfsv4OpenDowngradeResOk | undefined;
257
+ constructor(status: Nfsv4Stat, resok?: Nfsv4OpenDowngradeResOk | undefined);
258
+ }
259
+ export declare class Nfsv4PutfhRequest {
260
+ readonly object: structs.Nfsv4Fh;
261
+ constructor(object: structs.Nfsv4Fh);
262
+ }
263
+ export declare class Nfsv4PutfhResponse {
264
+ readonly status: Nfsv4Stat;
265
+ constructor(status: Nfsv4Stat);
266
+ }
267
+ export declare class Nfsv4PutpubfhRequest {
268
+ }
269
+ export declare class Nfsv4PutpubfhResponse {
270
+ readonly status: Nfsv4Stat;
271
+ constructor(status: Nfsv4Stat);
272
+ }
273
+ export declare class Nfsv4PutrootfhRequest {
274
+ }
275
+ export declare class Nfsv4PutrootfhResponse {
276
+ readonly status: Nfsv4Stat;
277
+ constructor(status: Nfsv4Stat);
278
+ }
279
+ export declare class Nfsv4ReadRequest {
280
+ readonly stateid: structs.Nfsv4Stateid;
281
+ readonly offset: bigint;
282
+ readonly count: number;
283
+ constructor(stateid: structs.Nfsv4Stateid, offset: bigint, count: number);
284
+ }
285
+ export declare class Nfsv4ReadResOk {
286
+ readonly eof: boolean;
287
+ readonly data: Uint8Array;
288
+ constructor(eof: boolean, data: Uint8Array);
289
+ }
290
+ export declare class Nfsv4ReadResponse {
291
+ readonly status: Nfsv4Stat;
292
+ readonly resok?: Nfsv4ReadResOk | undefined;
293
+ constructor(status: Nfsv4Stat, resok?: Nfsv4ReadResOk | undefined);
294
+ }
295
+ export declare class Nfsv4ReaddirRequest {
296
+ readonly cookie: bigint;
297
+ readonly cookieverf: structs.Nfsv4Verifier;
298
+ readonly dircount: number;
299
+ readonly maxcount: number;
300
+ readonly attrRequest: structs.Nfsv4Bitmap;
301
+ constructor(cookie: bigint, cookieverf: structs.Nfsv4Verifier, dircount: number, maxcount: number, attrRequest: structs.Nfsv4Bitmap);
302
+ }
303
+ export declare class Nfsv4ReaddirResOk {
304
+ readonly cookieverf: structs.Nfsv4Verifier;
305
+ readonly entries: structs.Nfsv4Entry[];
306
+ readonly eof: boolean;
307
+ constructor(cookieverf: structs.Nfsv4Verifier, entries: structs.Nfsv4Entry[], eof: boolean);
308
+ }
309
+ export declare class Nfsv4ReaddirResponse {
310
+ readonly status: Nfsv4Stat;
311
+ readonly resok?: Nfsv4ReaddirResOk | undefined;
312
+ constructor(status: Nfsv4Stat, resok?: Nfsv4ReaddirResOk | undefined);
313
+ }
314
+ export declare class Nfsv4ReadlinkRequest {
315
+ }
316
+ export declare class Nfsv4ReadlinkResOk {
317
+ readonly link: string;
318
+ constructor(link: string);
319
+ }
320
+ export declare class Nfsv4ReadlinkResponse {
321
+ readonly status: Nfsv4Stat;
322
+ readonly resok?: Nfsv4ReadlinkResOk | undefined;
323
+ constructor(status: Nfsv4Stat, resok?: Nfsv4ReadlinkResOk | undefined);
324
+ }
325
+ export declare class Nfsv4RemoveRequest {
326
+ readonly target: string;
327
+ constructor(target: string);
328
+ }
329
+ export declare class Nfsv4RemoveResOk {
330
+ readonly cinfo: structs.Nfsv4ChangeInfo;
331
+ constructor(cinfo: structs.Nfsv4ChangeInfo);
332
+ }
333
+ export declare class Nfsv4RemoveResponse {
334
+ readonly status: Nfsv4Stat;
335
+ readonly resok?: Nfsv4RemoveResOk | undefined;
336
+ constructor(status: Nfsv4Stat, resok?: Nfsv4RemoveResOk | undefined);
337
+ }
338
+ export declare class Nfsv4RenameRequest {
339
+ readonly oldname: string;
340
+ readonly newname: string;
341
+ constructor(oldname: string, newname: string);
342
+ }
343
+ export declare class Nfsv4RenameResOk {
344
+ readonly sourceCinfo: structs.Nfsv4ChangeInfo;
345
+ readonly targetCinfo: structs.Nfsv4ChangeInfo;
346
+ constructor(sourceCinfo: structs.Nfsv4ChangeInfo, targetCinfo: structs.Nfsv4ChangeInfo);
347
+ }
348
+ export declare class Nfsv4RenameResponse {
349
+ readonly status: Nfsv4Stat;
350
+ readonly resok?: Nfsv4RenameResOk | undefined;
351
+ constructor(status: Nfsv4Stat, resok?: Nfsv4RenameResOk | undefined);
352
+ }
353
+ export declare class Nfsv4RenewRequest {
354
+ readonly clientid: bigint;
355
+ constructor(clientid: bigint);
356
+ }
357
+ export declare class Nfsv4RenewResponse {
358
+ readonly status: Nfsv4Stat;
359
+ constructor(status: Nfsv4Stat);
360
+ }
361
+ export declare class Nfsv4RestorefhRequest {
362
+ }
363
+ export declare class Nfsv4RestorefhResponse {
364
+ readonly status: Nfsv4Stat;
365
+ constructor(status: Nfsv4Stat);
366
+ }
367
+ export declare class Nfsv4SavefhRequest {
368
+ }
369
+ export declare class Nfsv4SavefhResponse {
370
+ readonly status: Nfsv4Stat;
371
+ constructor(status: Nfsv4Stat);
372
+ }
373
+ export declare class Nfsv4SecinfoRequest {
374
+ readonly name: string;
375
+ constructor(name: string);
376
+ }
377
+ export declare class Nfsv4SecinfoResOk {
378
+ readonly flavors: structs.Nfsv4SecInfoFlavor[];
379
+ constructor(flavors: structs.Nfsv4SecInfoFlavor[]);
380
+ }
381
+ export declare class Nfsv4SecinfoResponse {
382
+ readonly status: Nfsv4Stat;
383
+ readonly resok?: Nfsv4SecinfoResOk | undefined;
384
+ constructor(status: Nfsv4Stat, resok?: Nfsv4SecinfoResOk | undefined);
385
+ }
386
+ export declare class Nfsv4SetattrRequest {
387
+ readonly stateid: structs.Nfsv4Stateid;
388
+ readonly objAttributes: structs.Nfsv4Fattr;
389
+ constructor(stateid: structs.Nfsv4Stateid, objAttributes: structs.Nfsv4Fattr);
390
+ }
391
+ export declare class Nfsv4SetattrResOk {
392
+ readonly attrsset: structs.Nfsv4Bitmap;
393
+ constructor(attrsset: structs.Nfsv4Bitmap);
394
+ }
395
+ export declare class Nfsv4SetattrResponse {
396
+ readonly status: Nfsv4Stat;
397
+ readonly resok?: Nfsv4SetattrResOk | undefined;
398
+ constructor(status: Nfsv4Stat, resok?: Nfsv4SetattrResOk | undefined);
399
+ }
400
+ export declare class Nfsv4SetclientidRequest {
401
+ readonly client: structs.Nfsv4ClientId;
402
+ readonly callback: structs.Nfsv4CbClient;
403
+ readonly callbackIdent: number;
404
+ constructor(client: structs.Nfsv4ClientId, callback: structs.Nfsv4CbClient, callbackIdent: number);
405
+ }
406
+ export declare class Nfsv4SetclientidResOk {
407
+ readonly clientid: bigint;
408
+ readonly setclientidConfirm: structs.Nfsv4Verifier;
409
+ constructor(clientid: bigint, setclientidConfirm: structs.Nfsv4Verifier);
410
+ }
411
+ export declare class Nfsv4SetclientidResponse {
412
+ readonly status: Nfsv4Stat;
413
+ readonly resok?: Nfsv4SetclientidResOk | undefined;
414
+ constructor(status: Nfsv4Stat, resok?: Nfsv4SetclientidResOk | undefined);
415
+ }
416
+ export declare class Nfsv4SetclientidConfirmRequest {
417
+ readonly clientid: bigint;
418
+ readonly setclientidConfirm: structs.Nfsv4Verifier;
419
+ constructor(clientid: bigint, setclientidConfirm: structs.Nfsv4Verifier);
420
+ }
421
+ export declare class Nfsv4SetclientidConfirmResponse {
422
+ readonly status: Nfsv4Stat;
423
+ constructor(status: Nfsv4Stat);
424
+ }
425
+ export declare class Nfsv4VerifyRequest {
426
+ readonly objAttributes: structs.Nfsv4Fattr;
427
+ constructor(objAttributes: structs.Nfsv4Fattr);
428
+ }
429
+ export declare class Nfsv4VerifyResponse {
430
+ readonly status: Nfsv4Stat;
431
+ constructor(status: Nfsv4Stat);
432
+ }
433
+ export declare class Nfsv4WriteRequest {
434
+ readonly stateid: structs.Nfsv4Stateid;
435
+ readonly offset: bigint;
436
+ readonly stable: number;
437
+ readonly data: Uint8Array;
438
+ constructor(stateid: structs.Nfsv4Stateid, offset: bigint, stable: number, data: Uint8Array);
439
+ }
440
+ export declare class Nfsv4WriteResOk {
441
+ readonly count: number;
442
+ readonly committed: number;
443
+ readonly writeverf: structs.Nfsv4Verifier;
444
+ constructor(count: number, committed: number, writeverf: structs.Nfsv4Verifier);
445
+ }
446
+ export declare class Nfsv4WriteResponse {
447
+ readonly status: Nfsv4Stat;
448
+ readonly resok?: Nfsv4WriteResOk | undefined;
449
+ constructor(status: Nfsv4Stat, resok?: Nfsv4WriteResOk | undefined);
450
+ }
451
+ export declare class Nfsv4ReleaseLockOwnerRequest {
452
+ readonly lockOwner: structs.Nfsv4LockOwner;
453
+ constructor(lockOwner: structs.Nfsv4LockOwner);
454
+ }
455
+ export declare class Nfsv4ReleaseLockOwnerResponse {
456
+ readonly status: Nfsv4Stat;
457
+ constructor(status: Nfsv4Stat);
458
+ }
459
+ export declare class Nfsv4IllegalRequest {
460
+ }
461
+ export declare class Nfsv4IllegalResponse {
462
+ readonly status: Nfsv4Stat;
463
+ constructor(status: Nfsv4Stat);
464
+ }
465
+ export declare class Nfsv4CompoundRequest {
466
+ readonly tag: string;
467
+ readonly minorversion: number;
468
+ readonly argarray: Nfsv4Request[];
469
+ constructor(tag: string, minorversion: number, argarray: Nfsv4Request[]);
470
+ }
471
+ export declare class Nfsv4CompoundResponse {
472
+ readonly status: Nfsv4Stat;
473
+ readonly tag: string;
474
+ readonly resarray: Nfsv4Response[];
475
+ constructor(status: Nfsv4Stat, tag: string, resarray: Nfsv4Response[]);
476
+ }
477
+ export type Nfsv4CbOperation = Nfsv4CbRequest | Nfsv4CbResponse;
478
+ export type Nfsv4CbRequest = Nfsv4CbGetattrRequest | Nfsv4CbRecallRequest | Nfsv4CbIllegalRequest;
479
+ export type Nfsv4CbResponse = Nfsv4CbGetattrResponse | Nfsv4CbRecallResponse | Nfsv4CbIllegalResponse;
480
+ export declare class Nfsv4CbGetattrRequest {
481
+ readonly fh: structs.Nfsv4Fh;
482
+ readonly attrRequest: structs.Nfsv4Bitmap;
483
+ constructor(fh: structs.Nfsv4Fh, attrRequest: structs.Nfsv4Bitmap);
484
+ }
485
+ export declare class Nfsv4CbGetattrResOk {
486
+ readonly objAttributes: structs.Nfsv4Fattr;
487
+ constructor(objAttributes: structs.Nfsv4Fattr);
488
+ }
489
+ export declare class Nfsv4CbGetattrResponse {
490
+ readonly status: Nfsv4Stat;
491
+ readonly resok?: Nfsv4CbGetattrResOk | undefined;
492
+ constructor(status: Nfsv4Stat, resok?: Nfsv4CbGetattrResOk | undefined);
493
+ }
494
+ export declare class Nfsv4CbRecallRequest {
495
+ readonly stateid: structs.Nfsv4Stateid;
496
+ readonly truncate: boolean;
497
+ readonly fh: structs.Nfsv4Fh;
498
+ constructor(stateid: structs.Nfsv4Stateid, truncate: boolean, fh: structs.Nfsv4Fh);
499
+ }
500
+ export declare class Nfsv4CbRecallResponse {
501
+ readonly status: Nfsv4Stat;
502
+ constructor(status: Nfsv4Stat);
503
+ }
504
+ export declare class Nfsv4CbIllegalRequest {
505
+ }
506
+ export declare class Nfsv4CbIllegalResponse {
507
+ readonly status: Nfsv4Stat;
508
+ constructor(status: Nfsv4Stat);
509
+ }
510
+ export declare class Nfsv4CbCompoundRequest {
511
+ readonly tag: string;
512
+ readonly minorversion: number;
513
+ readonly callbackIdent: number;
514
+ readonly argarray: Nfsv4CbRequest[];
515
+ constructor(tag: string, minorversion: number, callbackIdent: number, argarray: Nfsv4CbRequest[]);
516
+ }
517
+ export declare class Nfsv4CbCompoundResponse {
518
+ readonly status: Nfsv4Stat;
519
+ readonly tag: string;
520
+ readonly resarray: Nfsv4CbResponse[];
521
+ constructor(status: Nfsv4Stat, tag: string, resarray: Nfsv4CbResponse[]);
522
+ }