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