UNPKG

313 BTypeScriptView Raw
1import type { CollectionItem, Token } from './cst.js';
2/**
3 * Stringify a CST document, token, or collection item
4 *
5 * Fair warning: This applies no validation whatsoever, and
6 * simply concatenates the sources in their logical order.
7 */
8export declare const stringify: (cst: Token | CollectionItem) => string;