import type { DecodeResult } from './srcmd/types.mjs'; import { encode } from './srcmd/encoding.mjs'; import { decode, decodeCells } from './srcmd/decoding.mjs'; export { encode, decode, decodeCells }; /** * Decode a compatible directory into a set of cells. * * The directory must contain a README.md file and a package.json file. * We assume the README.md file contains the srcbook content, in particular * the first 2 cells should be a title cell and then a package.json.cell * * We leverage the decode() function first to decode the README.md file, and then * we replace the contents of the referenced package.json and code files into the cells. */ export declare function decodeDir(dir: string): Promise; //# sourceMappingURL=srcmd.d.mts.map