mirror of
https://github.com/borbann-platform/srs-document.git
synced 2025-12-20 13:04:06 +01:00
12 lines
535 B
TypeScript
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
|