2025-09-05 14:59:21 +08:00

11 lines
357 B
TypeScript

import type { CST, Document } from "yaml";
import { Composer } from "yaml";
import type { Context } from "./context";
export type ParsedCSTDocs = {
cstNodes: CST.Token[];
nodes: Document.Parsed[];
streamInfo: ReturnType<Composer["streamInfo"]>;
};
/** Parse yaml to CST */
export declare function parseAllDocsToCST(ctx: Context): ParsedCSTDocs;