messages.d.ts 20 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459
  1. import type { Nfsv3Stat } from './constants';
  2. import type * as stucts from './structs';
  3. export type Nfsv3Message = Nfsv3Request | Nfsv3Response;
  4. export type Nfsv3Request = Nfsv3GetattrRequest | Nfsv3SetattrRequest | Nfsv3LookupRequest | Nfsv3AccessRequest | Nfsv3ReadlinkRequest | Nfsv3ReadRequest | Nfsv3WriteRequest | Nfsv3CreateRequest | Nfsv3MkdirRequest | Nfsv3SymlinkRequest | Nfsv3MknodRequest | Nfsv3RemoveRequest | Nfsv3RmdirRequest | Nfsv3RenameRequest | Nfsv3LinkRequest | Nfsv3ReaddirRequest | Nfsv3ReaddirplusRequest | Nfsv3FsstatRequest | Nfsv3FsinfoRequest | Nfsv3PathconfRequest | Nfsv3CommitRequest;
  5. export type Nfsv3Response = Nfsv3GetattrResponse | Nfsv3SetattrResponse | Nfsv3LookupResponse | Nfsv3AccessResponse | Nfsv3ReadlinkResponse | Nfsv3ReadResponse | Nfsv3WriteResponse | Nfsv3CreateResponse | Nfsv3MkdirResponse | Nfsv3SymlinkResponse | Nfsv3MknodResponse | Nfsv3RemoveResponse | Nfsv3RmdirResponse | Nfsv3RenameResponse | Nfsv3LinkResponse | Nfsv3ReaddirResponse | Nfsv3ReaddirplusResponse | Nfsv3FsstatResponse | Nfsv3FsinfoResponse | Nfsv3PathconfResponse | Nfsv3CommitResponse;
  6. export declare class Nfsv3GetattrRequest {
  7. readonly object: stucts.Nfsv3Fh;
  8. constructor(object: stucts.Nfsv3Fh);
  9. }
  10. export declare class Nfsv3GetattrResOk {
  11. readonly objAttributes: stucts.Nfsv3Fattr;
  12. constructor(objAttributes: stucts.Nfsv3Fattr);
  13. }
  14. export declare class Nfsv3GetattrResponse {
  15. readonly status: Nfsv3Stat;
  16. readonly resok?: Nfsv3GetattrResOk | undefined;
  17. constructor(status: Nfsv3Stat, resok?: Nfsv3GetattrResOk | undefined);
  18. }
  19. export declare class Nfsv3SetattrRequest {
  20. readonly object: stucts.Nfsv3Fh;
  21. readonly newAttributes: stucts.Nfsv3Sattr;
  22. readonly guard: stucts.Nfsv3SattrGuard;
  23. constructor(object: stucts.Nfsv3Fh, newAttributes: stucts.Nfsv3Sattr, guard: stucts.Nfsv3SattrGuard);
  24. }
  25. export declare class Nfsv3SetattrResOk {
  26. readonly objWcc: stucts.Nfsv3WccData;
  27. constructor(objWcc: stucts.Nfsv3WccData);
  28. }
  29. export declare class Nfsv3SetattrResFail {
  30. readonly objWcc: stucts.Nfsv3WccData;
  31. constructor(objWcc: stucts.Nfsv3WccData);
  32. }
  33. export declare class Nfsv3SetattrResponse {
  34. readonly status: Nfsv3Stat;
  35. readonly resok?: Nfsv3SetattrResOk | undefined;
  36. readonly resfail?: Nfsv3SetattrResFail | undefined;
  37. constructor(status: Nfsv3Stat, resok?: Nfsv3SetattrResOk | undefined, resfail?: Nfsv3SetattrResFail | undefined);
  38. }
  39. export declare class Nfsv3LookupRequest {
  40. readonly what: stucts.Nfsv3DirOpArgs;
  41. constructor(what: stucts.Nfsv3DirOpArgs);
  42. }
  43. export declare class Nfsv3LookupResOk {
  44. readonly object: stucts.Nfsv3Fh;
  45. readonly objAttributes: stucts.Nfsv3PostOpAttr;
  46. readonly dirAttributes: stucts.Nfsv3PostOpAttr;
  47. constructor(object: stucts.Nfsv3Fh, objAttributes: stucts.Nfsv3PostOpAttr, dirAttributes: stucts.Nfsv3PostOpAttr);
  48. }
  49. export declare class Nfsv3LookupResFail {
  50. readonly dirAttributes: stucts.Nfsv3PostOpAttr;
  51. constructor(dirAttributes: stucts.Nfsv3PostOpAttr);
  52. }
  53. export declare class Nfsv3LookupResponse {
  54. readonly status: Nfsv3Stat;
  55. readonly resok?: Nfsv3LookupResOk | undefined;
  56. readonly resfail?: Nfsv3LookupResFail | undefined;
  57. constructor(status: Nfsv3Stat, resok?: Nfsv3LookupResOk | undefined, resfail?: Nfsv3LookupResFail | undefined);
  58. }
  59. export declare class Nfsv3AccessRequest {
  60. readonly object: stucts.Nfsv3Fh;
  61. readonly access: number;
  62. constructor(object: stucts.Nfsv3Fh, access: number);
  63. }
  64. export declare class Nfsv3AccessResOk {
  65. readonly objAttributes: stucts.Nfsv3PostOpAttr;
  66. readonly access: number;
  67. constructor(objAttributes: stucts.Nfsv3PostOpAttr, access: number);
  68. }
  69. export declare class Nfsv3AccessResFail {
  70. readonly objAttributes: stucts.Nfsv3PostOpAttr;
  71. constructor(objAttributes: stucts.Nfsv3PostOpAttr);
  72. }
  73. export declare class Nfsv3AccessResponse {
  74. readonly status: Nfsv3Stat;
  75. readonly resok?: Nfsv3AccessResOk | undefined;
  76. readonly resfail?: Nfsv3AccessResFail | undefined;
  77. constructor(status: Nfsv3Stat, resok?: Nfsv3AccessResOk | undefined, resfail?: Nfsv3AccessResFail | undefined);
  78. }
  79. export declare class Nfsv3ReadlinkRequest {
  80. readonly symlink: stucts.Nfsv3Fh;
  81. constructor(symlink: stucts.Nfsv3Fh);
  82. }
  83. export declare class Nfsv3ReadlinkResOk {
  84. readonly symlinkAttributes: stucts.Nfsv3PostOpAttr;
  85. readonly data: string;
  86. constructor(symlinkAttributes: stucts.Nfsv3PostOpAttr, data: string);
  87. }
  88. export declare class Nfsv3ReadlinkResFail {
  89. readonly symlinkAttributes: stucts.Nfsv3PostOpAttr;
  90. constructor(symlinkAttributes: stucts.Nfsv3PostOpAttr);
  91. }
  92. export declare class Nfsv3ReadlinkResponse {
  93. readonly status: Nfsv3Stat;
  94. readonly resok?: Nfsv3ReadlinkResOk | undefined;
  95. readonly resfail?: Nfsv3ReadlinkResFail | undefined;
  96. constructor(status: Nfsv3Stat, resok?: Nfsv3ReadlinkResOk | undefined, resfail?: Nfsv3ReadlinkResFail | undefined);
  97. }
  98. export declare class Nfsv3ReadRequest {
  99. readonly file: stucts.Nfsv3Fh;
  100. readonly offset: bigint;
  101. readonly count: number;
  102. constructor(file: stucts.Nfsv3Fh, offset: bigint, count: number);
  103. }
  104. export declare class Nfsv3ReadResOk {
  105. readonly fileAttributes: stucts.Nfsv3PostOpAttr;
  106. readonly count: number;
  107. readonly eof: boolean;
  108. readonly data: Uint8Array;
  109. constructor(fileAttributes: stucts.Nfsv3PostOpAttr, count: number, eof: boolean, data: Uint8Array);
  110. }
  111. export declare class Nfsv3ReadResFail {
  112. readonly fileAttributes: stucts.Nfsv3PostOpAttr;
  113. constructor(fileAttributes: stucts.Nfsv3PostOpAttr);
  114. }
  115. export declare class Nfsv3ReadResponse {
  116. readonly status: Nfsv3Stat;
  117. readonly resok?: Nfsv3ReadResOk | undefined;
  118. readonly resfail?: Nfsv3ReadResFail | undefined;
  119. constructor(status: Nfsv3Stat, resok?: Nfsv3ReadResOk | undefined, resfail?: Nfsv3ReadResFail | undefined);
  120. }
  121. export declare class Nfsv3WriteRequest {
  122. readonly file: stucts.Nfsv3Fh;
  123. readonly offset: bigint;
  124. readonly count: number;
  125. readonly stable: number;
  126. readonly data: Uint8Array;
  127. constructor(file: stucts.Nfsv3Fh, offset: bigint, count: number, stable: number, data: Uint8Array);
  128. }
  129. export declare class Nfsv3WriteResOk {
  130. readonly fileWcc: stucts.Nfsv3WccData;
  131. readonly count: number;
  132. readonly committed: number;
  133. readonly verf: Uint8Array;
  134. constructor(fileWcc: stucts.Nfsv3WccData, count: number, committed: number, verf: Uint8Array);
  135. }
  136. export declare class Nfsv3WriteResFail {
  137. readonly fileWcc: stucts.Nfsv3WccData;
  138. constructor(fileWcc: stucts.Nfsv3WccData);
  139. }
  140. export declare class Nfsv3WriteResponse {
  141. readonly status: Nfsv3Stat;
  142. readonly resok?: Nfsv3WriteResOk | undefined;
  143. readonly resfail?: Nfsv3WriteResFail | undefined;
  144. constructor(status: Nfsv3Stat, resok?: Nfsv3WriteResOk | undefined, resfail?: Nfsv3WriteResFail | undefined);
  145. }
  146. export declare class Nfsv3CreateRequest {
  147. readonly where: stucts.Nfsv3DirOpArgs;
  148. readonly how: stucts.Nfsv3CreateHow;
  149. constructor(where: stucts.Nfsv3DirOpArgs, how: stucts.Nfsv3CreateHow);
  150. }
  151. export declare class Nfsv3CreateResOk {
  152. readonly obj: stucts.Nfsv3PostOpFh;
  153. readonly objAttributes: stucts.Nfsv3PostOpAttr;
  154. readonly dirWcc: stucts.Nfsv3WccData;
  155. constructor(obj: stucts.Nfsv3PostOpFh, objAttributes: stucts.Nfsv3PostOpAttr, dirWcc: stucts.Nfsv3WccData);
  156. }
  157. export declare class Nfsv3CreateResFail {
  158. readonly dirWcc: stucts.Nfsv3WccData;
  159. constructor(dirWcc: stucts.Nfsv3WccData);
  160. }
  161. export declare class Nfsv3CreateResponse {
  162. readonly status: Nfsv3Stat;
  163. readonly resok?: Nfsv3CreateResOk | undefined;
  164. readonly resfail?: Nfsv3CreateResFail | undefined;
  165. constructor(status: Nfsv3Stat, resok?: Nfsv3CreateResOk | undefined, resfail?: Nfsv3CreateResFail | undefined);
  166. }
  167. export declare class Nfsv3MkdirRequest {
  168. readonly where: stucts.Nfsv3DirOpArgs;
  169. readonly attributes: stucts.Nfsv3Sattr;
  170. constructor(where: stucts.Nfsv3DirOpArgs, attributes: stucts.Nfsv3Sattr);
  171. }
  172. export declare class Nfsv3MkdirResOk {
  173. readonly obj: stucts.Nfsv3PostOpFh;
  174. readonly objAttributes: stucts.Nfsv3PostOpAttr;
  175. readonly dirWcc: stucts.Nfsv3WccData;
  176. constructor(obj: stucts.Nfsv3PostOpFh, objAttributes: stucts.Nfsv3PostOpAttr, dirWcc: stucts.Nfsv3WccData);
  177. }
  178. export declare class Nfsv3MkdirResFail {
  179. readonly dirWcc: stucts.Nfsv3WccData;
  180. constructor(dirWcc: stucts.Nfsv3WccData);
  181. }
  182. export declare class Nfsv3MkdirResponse {
  183. readonly status: Nfsv3Stat;
  184. readonly resok?: Nfsv3MkdirResOk | undefined;
  185. readonly resfail?: Nfsv3MkdirResFail | undefined;
  186. constructor(status: Nfsv3Stat, resok?: Nfsv3MkdirResOk | undefined, resfail?: Nfsv3MkdirResFail | undefined);
  187. }
  188. export declare class Nfsv3SymlinkRequest {
  189. readonly where: stucts.Nfsv3DirOpArgs;
  190. readonly symlinkAttributes: stucts.Nfsv3Sattr;
  191. readonly symlinkData: string;
  192. constructor(where: stucts.Nfsv3DirOpArgs, symlinkAttributes: stucts.Nfsv3Sattr, symlinkData: string);
  193. }
  194. export declare class Nfsv3SymlinkResOk {
  195. readonly obj: stucts.Nfsv3PostOpFh;
  196. readonly objAttributes: stucts.Nfsv3PostOpAttr;
  197. readonly dirWcc: stucts.Nfsv3WccData;
  198. constructor(obj: stucts.Nfsv3PostOpFh, objAttributes: stucts.Nfsv3PostOpAttr, dirWcc: stucts.Nfsv3WccData);
  199. }
  200. export declare class Nfsv3SymlinkResFail {
  201. readonly dirWcc: stucts.Nfsv3WccData;
  202. constructor(dirWcc: stucts.Nfsv3WccData);
  203. }
  204. export declare class Nfsv3SymlinkResponse {
  205. readonly status: Nfsv3Stat;
  206. readonly resok?: Nfsv3SymlinkResOk | undefined;
  207. readonly resfail?: Nfsv3SymlinkResFail | undefined;
  208. constructor(status: Nfsv3Stat, resok?: Nfsv3SymlinkResOk | undefined, resfail?: Nfsv3SymlinkResFail | undefined);
  209. }
  210. export declare class Nfsv3MknodRequest {
  211. readonly where: stucts.Nfsv3DirOpArgs;
  212. readonly what: stucts.Nfsv3MknodData;
  213. constructor(where: stucts.Nfsv3DirOpArgs, what: stucts.Nfsv3MknodData);
  214. }
  215. export declare class Nfsv3MknodResOk {
  216. readonly obj: stucts.Nfsv3PostOpFh;
  217. readonly objAttributes: stucts.Nfsv3PostOpAttr;
  218. readonly dirWcc: stucts.Nfsv3WccData;
  219. constructor(obj: stucts.Nfsv3PostOpFh, objAttributes: stucts.Nfsv3PostOpAttr, dirWcc: stucts.Nfsv3WccData);
  220. }
  221. export declare class Nfsv3MknodResFail {
  222. readonly dirWcc: stucts.Nfsv3WccData;
  223. constructor(dirWcc: stucts.Nfsv3WccData);
  224. }
  225. export declare class Nfsv3MknodResponse {
  226. readonly status: Nfsv3Stat;
  227. readonly resok?: Nfsv3MknodResOk | undefined;
  228. readonly resfail?: Nfsv3MknodResFail | undefined;
  229. constructor(status: Nfsv3Stat, resok?: Nfsv3MknodResOk | undefined, resfail?: Nfsv3MknodResFail | undefined);
  230. }
  231. export declare class Nfsv3RemoveRequest {
  232. readonly object: stucts.Nfsv3DirOpArgs;
  233. constructor(object: stucts.Nfsv3DirOpArgs);
  234. }
  235. export declare class Nfsv3RemoveResOk {
  236. readonly dirWcc: stucts.Nfsv3WccData;
  237. constructor(dirWcc: stucts.Nfsv3WccData);
  238. }
  239. export declare class Nfsv3RemoveResFail {
  240. readonly dirWcc: stucts.Nfsv3WccData;
  241. constructor(dirWcc: stucts.Nfsv3WccData);
  242. }
  243. export declare class Nfsv3RemoveResponse {
  244. readonly status: Nfsv3Stat;
  245. readonly resok?: Nfsv3RemoveResOk | undefined;
  246. readonly resfail?: Nfsv3RemoveResFail | undefined;
  247. constructor(status: Nfsv3Stat, resok?: Nfsv3RemoveResOk | undefined, resfail?: Nfsv3RemoveResFail | undefined);
  248. }
  249. export declare class Nfsv3RmdirRequest {
  250. readonly object: stucts.Nfsv3DirOpArgs;
  251. constructor(object: stucts.Nfsv3DirOpArgs);
  252. }
  253. export declare class Nfsv3RmdirResOk {
  254. readonly dirWcc: stucts.Nfsv3WccData;
  255. constructor(dirWcc: stucts.Nfsv3WccData);
  256. }
  257. export declare class Nfsv3RmdirResFail {
  258. readonly dirWcc: stucts.Nfsv3WccData;
  259. constructor(dirWcc: stucts.Nfsv3WccData);
  260. }
  261. export declare class Nfsv3RmdirResponse {
  262. readonly status: Nfsv3Stat;
  263. readonly resok?: Nfsv3RmdirResOk | undefined;
  264. readonly resfail?: Nfsv3RmdirResFail | undefined;
  265. constructor(status: Nfsv3Stat, resok?: Nfsv3RmdirResOk | undefined, resfail?: Nfsv3RmdirResFail | undefined);
  266. }
  267. export declare class Nfsv3RenameRequest {
  268. readonly from: stucts.Nfsv3DirOpArgs;
  269. readonly to: stucts.Nfsv3DirOpArgs;
  270. constructor(from: stucts.Nfsv3DirOpArgs, to: stucts.Nfsv3DirOpArgs);
  271. }
  272. export declare class Nfsv3RenameResOk {
  273. readonly fromDirWcc: stucts.Nfsv3WccData;
  274. readonly toDirWcc: stucts.Nfsv3WccData;
  275. constructor(fromDirWcc: stucts.Nfsv3WccData, toDirWcc: stucts.Nfsv3WccData);
  276. }
  277. export declare class Nfsv3RenameResFail {
  278. readonly fromDirWcc: stucts.Nfsv3WccData;
  279. readonly toDirWcc: stucts.Nfsv3WccData;
  280. constructor(fromDirWcc: stucts.Nfsv3WccData, toDirWcc: stucts.Nfsv3WccData);
  281. }
  282. export declare class Nfsv3RenameResponse {
  283. readonly status: Nfsv3Stat;
  284. readonly resok?: Nfsv3RenameResOk | undefined;
  285. readonly resfail?: Nfsv3RenameResFail | undefined;
  286. constructor(status: Nfsv3Stat, resok?: Nfsv3RenameResOk | undefined, resfail?: Nfsv3RenameResFail | undefined);
  287. }
  288. export declare class Nfsv3LinkRequest {
  289. readonly file: stucts.Nfsv3Fh;
  290. readonly link: stucts.Nfsv3DirOpArgs;
  291. constructor(file: stucts.Nfsv3Fh, link: stucts.Nfsv3DirOpArgs);
  292. }
  293. export declare class Nfsv3LinkResOk {
  294. readonly fileAttributes: stucts.Nfsv3PostOpAttr;
  295. readonly linkDirWcc: stucts.Nfsv3WccData;
  296. constructor(fileAttributes: stucts.Nfsv3PostOpAttr, linkDirWcc: stucts.Nfsv3WccData);
  297. }
  298. export declare class Nfsv3LinkResFail {
  299. readonly fileAttributes: stucts.Nfsv3PostOpAttr;
  300. readonly linkDirWcc: stucts.Nfsv3WccData;
  301. constructor(fileAttributes: stucts.Nfsv3PostOpAttr, linkDirWcc: stucts.Nfsv3WccData);
  302. }
  303. export declare class Nfsv3LinkResponse {
  304. readonly status: Nfsv3Stat;
  305. readonly resok?: Nfsv3LinkResOk | undefined;
  306. readonly resfail?: Nfsv3LinkResFail | undefined;
  307. constructor(status: Nfsv3Stat, resok?: Nfsv3LinkResOk | undefined, resfail?: Nfsv3LinkResFail | undefined);
  308. }
  309. export declare class Nfsv3ReaddirRequest {
  310. readonly dir: stucts.Nfsv3Fh;
  311. readonly cookie: bigint;
  312. readonly cookieverf: Uint8Array;
  313. readonly count: number;
  314. constructor(dir: stucts.Nfsv3Fh, cookie: bigint, cookieverf: Uint8Array, count: number);
  315. }
  316. export declare class Nfsv3ReaddirResOk {
  317. readonly dirAttributes: stucts.Nfsv3PostOpAttr;
  318. readonly cookieverf: Uint8Array;
  319. readonly reply: stucts.Nfsv3DirList;
  320. constructor(dirAttributes: stucts.Nfsv3PostOpAttr, cookieverf: Uint8Array, reply: stucts.Nfsv3DirList);
  321. }
  322. export declare class Nfsv3ReaddirResFail {
  323. readonly dirAttributes: stucts.Nfsv3PostOpAttr;
  324. constructor(dirAttributes: stucts.Nfsv3PostOpAttr);
  325. }
  326. export declare class Nfsv3ReaddirResponse {
  327. readonly status: Nfsv3Stat;
  328. readonly resok?: Nfsv3ReaddirResOk | undefined;
  329. readonly resfail?: Nfsv3ReaddirResFail | undefined;
  330. constructor(status: Nfsv3Stat, resok?: Nfsv3ReaddirResOk | undefined, resfail?: Nfsv3ReaddirResFail | undefined);
  331. }
  332. export declare class Nfsv3ReaddirplusRequest {
  333. readonly dir: stucts.Nfsv3Fh;
  334. readonly cookie: bigint;
  335. readonly cookieverf: Uint8Array;
  336. readonly dircount: number;
  337. readonly maxcount: number;
  338. constructor(dir: stucts.Nfsv3Fh, cookie: bigint, cookieverf: Uint8Array, dircount: number, maxcount: number);
  339. }
  340. export declare class Nfsv3ReaddirplusResOk {
  341. readonly dirAttributes: stucts.Nfsv3PostOpAttr;
  342. readonly cookieverf: Uint8Array;
  343. readonly reply: stucts.Nfsv3DirListPlus;
  344. constructor(dirAttributes: stucts.Nfsv3PostOpAttr, cookieverf: Uint8Array, reply: stucts.Nfsv3DirListPlus);
  345. }
  346. export declare class Nfsv3ReaddirplusResFail {
  347. readonly dirAttributes: stucts.Nfsv3PostOpAttr;
  348. constructor(dirAttributes: stucts.Nfsv3PostOpAttr);
  349. }
  350. export declare class Nfsv3ReaddirplusResponse {
  351. readonly status: Nfsv3Stat;
  352. readonly resok?: Nfsv3ReaddirplusResOk | undefined;
  353. readonly resfail?: Nfsv3ReaddirplusResFail | undefined;
  354. constructor(status: Nfsv3Stat, resok?: Nfsv3ReaddirplusResOk | undefined, resfail?: Nfsv3ReaddirplusResFail | undefined);
  355. }
  356. export declare class Nfsv3FsstatRequest {
  357. readonly fsroot: stucts.Nfsv3Fh;
  358. constructor(fsroot: stucts.Nfsv3Fh);
  359. }
  360. export declare class Nfsv3FsstatResOk {
  361. readonly objAttributes: stucts.Nfsv3PostOpAttr;
  362. readonly tbytes: bigint;
  363. readonly fbytes: bigint;
  364. readonly abytes: bigint;
  365. readonly tfiles: bigint;
  366. readonly ffiles: bigint;
  367. readonly afiles: bigint;
  368. readonly invarsec: number;
  369. constructor(objAttributes: stucts.Nfsv3PostOpAttr, tbytes: bigint, fbytes: bigint, abytes: bigint, tfiles: bigint, ffiles: bigint, afiles: bigint, invarsec: number);
  370. }
  371. export declare class Nfsv3FsstatResFail {
  372. readonly objAttributes: stucts.Nfsv3PostOpAttr;
  373. constructor(objAttributes: stucts.Nfsv3PostOpAttr);
  374. }
  375. export declare class Nfsv3FsstatResponse {
  376. readonly status: Nfsv3Stat;
  377. readonly resok?: Nfsv3FsstatResOk | undefined;
  378. readonly resfail?: Nfsv3FsstatResFail | undefined;
  379. constructor(status: Nfsv3Stat, resok?: Nfsv3FsstatResOk | undefined, resfail?: Nfsv3FsstatResFail | undefined);
  380. }
  381. export declare class Nfsv3FsinfoRequest {
  382. readonly fsroot: stucts.Nfsv3Fh;
  383. constructor(fsroot: stucts.Nfsv3Fh);
  384. }
  385. export declare class Nfsv3FsinfoResOk {
  386. readonly objAttributes: stucts.Nfsv3PostOpAttr;
  387. readonly rtmax: number;
  388. readonly rtpref: number;
  389. readonly rtmult: number;
  390. readonly wtmax: number;
  391. readonly wtpref: number;
  392. readonly wtmult: number;
  393. readonly dtpref: number;
  394. readonly maxfilesize: bigint;
  395. readonly timeDelta: {
  396. seconds: number;
  397. nseconds: number;
  398. };
  399. readonly properties: number;
  400. constructor(objAttributes: stucts.Nfsv3PostOpAttr, rtmax: number, rtpref: number, rtmult: number, wtmax: number, wtpref: number, wtmult: number, dtpref: number, maxfilesize: bigint, timeDelta: {
  401. seconds: number;
  402. nseconds: number;
  403. }, properties: number);
  404. }
  405. export declare class Nfsv3FsinfoResFail {
  406. readonly objAttributes: stucts.Nfsv3PostOpAttr;
  407. constructor(objAttributes: stucts.Nfsv3PostOpAttr);
  408. }
  409. export declare class Nfsv3FsinfoResponse {
  410. readonly status: Nfsv3Stat;
  411. readonly resok?: Nfsv3FsinfoResOk | undefined;
  412. readonly resfail?: Nfsv3FsinfoResFail | undefined;
  413. constructor(status: Nfsv3Stat, resok?: Nfsv3FsinfoResOk | undefined, resfail?: Nfsv3FsinfoResFail | undefined);
  414. }
  415. export declare class Nfsv3PathconfRequest {
  416. readonly object: stucts.Nfsv3Fh;
  417. constructor(object: stucts.Nfsv3Fh);
  418. }
  419. export declare class Nfsv3PathconfResOk {
  420. readonly objAttributes: stucts.Nfsv3PostOpAttr;
  421. readonly linkmax: number;
  422. readonly namemax: number;
  423. readonly noTrunc: boolean;
  424. readonly chownRestricted: boolean;
  425. readonly caseInsensitive: boolean;
  426. readonly casePreserving: boolean;
  427. constructor(objAttributes: stucts.Nfsv3PostOpAttr, linkmax: number, namemax: number, noTrunc: boolean, chownRestricted: boolean, caseInsensitive: boolean, casePreserving: boolean);
  428. }
  429. export declare class Nfsv3PathconfResFail {
  430. readonly objAttributes: stucts.Nfsv3PostOpAttr;
  431. constructor(objAttributes: stucts.Nfsv3PostOpAttr);
  432. }
  433. export declare class Nfsv3PathconfResponse {
  434. readonly status: Nfsv3Stat;
  435. readonly resok?: Nfsv3PathconfResOk | undefined;
  436. readonly resfail?: Nfsv3PathconfResFail | undefined;
  437. constructor(status: Nfsv3Stat, resok?: Nfsv3PathconfResOk | undefined, resfail?: Nfsv3PathconfResFail | undefined);
  438. }
  439. export declare class Nfsv3CommitRequest {
  440. readonly file: stucts.Nfsv3Fh;
  441. readonly offset: bigint;
  442. readonly count: number;
  443. constructor(file: stucts.Nfsv3Fh, offset: bigint, count: number);
  444. }
  445. export declare class Nfsv3CommitResOk {
  446. readonly fileWcc: stucts.Nfsv3WccData;
  447. readonly verf: Uint8Array;
  448. constructor(fileWcc: stucts.Nfsv3WccData, verf: Uint8Array);
  449. }
  450. export declare class Nfsv3CommitResFail {
  451. readonly fileWcc: stucts.Nfsv3WccData;
  452. constructor(fileWcc: stucts.Nfsv3WccData);
  453. }
  454. export declare class Nfsv3CommitResponse {
  455. readonly status: Nfsv3Stat;
  456. readonly resok?: Nfsv3CommitResOk | undefined;
  457. readonly resfail?: Nfsv3CommitResFail | undefined;
  458. constructor(status: Nfsv3Stat, resok?: Nfsv3CommitResOk | undefined, resfail?: Nfsv3CommitResFail | undefined);
  459. }