9 lines
313 B
TypeScript
9 lines
313 B
TypeScript
|
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;
|