mirror of
https://github.com/borbann-platform/srs-document.git
synced 2025-12-21 13:34:05 +01:00
20 lines
965 B
TypeScript
20 lines
965 B
TypeScript
import type { Doc } from "prettier";
|
|
import * as PrettierTypes from "./prettier-types";
|
|
import * as Ast from "@unified-latex/unified-latex-types";
|
|
export declare function printVerbatimEnvironment(path: PrettierTypes.AstPath, print: PrettierTypes.RecursivePrintFunc, options: any): Doc;
|
|
export declare function printEnvironment(path: PrettierTypes.AstPath, print: PrettierTypes.RecursivePrintFunc, options: any): Doc;
|
|
export declare function printAlignedEnvironment(path: PrettierTypes.AstPath, print: PrettierTypes.RecursivePrintFunc, options: any): Doc;
|
|
/**
|
|
* Formats the content of an aligned/tabular environment's content.
|
|
* Ensures the "&" delimiters all line up.
|
|
*
|
|
* @export
|
|
* @param {[object]} nodes
|
|
* @returns {{rows: [string], rowSeps: [object]}}
|
|
*/
|
|
export declare function formatAlignedContent(nodes: Ast.Node[]): {
|
|
rows: string[];
|
|
rowSeps: string[];
|
|
trailingComments: (Ast.Comment | null)[];
|
|
};
|
|
//# sourceMappingURL=environment.d.ts.map
|