export type Payload = { readonly to: string | null; readonly by: string; readonly next: string | null; readonly seq: number; readonly method?: string; readonly args?: string; }; export declare const writePayload: (p: Payload) => string; export type PayloadRead = { payload: Payload; } | { fault: 'not an object' | 'not well formed'; }; export declare const readPayload: (bytes: Uint8Array) => PayloadRead;