cst-stringify.d.ts 313 Bytes
import type { CollectionItem, Token } from './cst.js';
/**
 * Stringify a CST document, token, or collection item
 *
 * Fair warning: This applies no validation whatsoever, and
 * simply concatenates the sources in their logical order.
 */
export declare const stringify: (cst: Token | CollectionItem) => string;