UNPKG

@endo/marshal

Version:

marshal: encoding and deconding of Passable subgraphs

20 lines 759 B
export function passableAsJustin(passable: Passable, shouldIndent?: boolean): string; export function qp(payload: Passable): StringablePayload; export type Indenter = { open: (openBracket: string) => number; line: () => number; next: (token: string) => number; close: (closeBracket: string) => number; done: () => string; }; /** * @param {Encoding} encoding * @param {boolean=} shouldIndent * @param {any[]} [slots] * @returns {string} */ export function decodeToJustin(encoding: Encoding, shouldIndent?: boolean | undefined, slots?: any[]): string; import type { Passable } from '@endo/pass-style'; import type { StringablePayload } from 'ses'; import type { Encoding } from './types.js'; //# sourceMappingURL=marshal-justin.d.ts.map