UNPKG

ecmarkup

Version:

Custom element definitions and core utilities for markup that specifies ECMAScript and related technologies.

6 lines (5 loc) 416 B
import type { AlgorithmNode } from 'ecmarkdown'; import type { FragmentNode } from 'ecmarkdown/dist/node-types'; import { LineBuilder } from './line-builder'; export declare function printAlgorithm(source: string, alg: AlgorithmNode, indent: number): Promise<LineBuilder>; export declare function printFragments(source: string, contents: FragmentNode[], indent: number, commonIndent?: string): Promise<LineBuilder>;