UNPKG

@jsonjoy.com/json-pack

Version:

High-performance JSON serialization library

38 lines (37 loc) 1.04 kB
import type { Reader } from '@jsonjoy.com/buffers/lib/Reader'; /** * MOUNT protocol structures (Appendix I) */ /** * File handle for MOUNT protocol (opaque data) */ export declare class MountFhandle3 { readonly data: Reader; constructor(data: Reader); } /** * Mount entry body structure */ export declare class MountBody { readonly hostname: string; readonly directory: string; readonly next?: MountBody | undefined; constructor(hostname: string, directory: string, next?: MountBody | undefined); } /** * Group node for EXPORT */ export declare class MountGroupNode { readonly name: string; readonly next?: MountGroupNode | undefined; constructor(name: string, next?: MountGroupNode | undefined); } /** * Export node structure */ export declare class MountExportNode { readonly dir: string; readonly groups?: MountGroupNode | undefined; readonly next?: MountExportNode | undefined; constructor(dir: string, groups?: MountGroupNode | undefined, next?: MountExportNode | undefined); }