srs-document/node_modules/@unified-latex/unified-latex-prettier/libs/printer/root.d.ts
2025-03-24 15:42:48 +07:00

12 lines
535 B
TypeScript

import type { Doc } from "prettier";
import * as Ast from "@unified-latex/unified-latex-types";
import * as PrettierTypes from "./prettier-types";
/**
* Returns true if a `\documentclass` macro is detected,
* which would indicate that the node list contains the preamble.
*
* @param {[object]} nodes
*/
export declare function hasPreambleCode(nodes: Ast.Node[]): boolean;
export declare function printRoot(path: PrettierTypes.AstPath, print: PrettierTypes.RecursivePrintFunc, options: any): Doc;
//# sourceMappingURL=root.d.ts.map