docutils-ts
Version:
Port of the Python Docutils library to TypeScript
12 lines (11 loc) • 593 B
TypeScript
import { StateMachine } from './stateMachine.js';
import { Document, GetIndentedArgs, WhitespaceStatemachine } from "./types.js";
import StringList from "./stringList.js";
declare class StateMachineWS extends StateMachine implements WhitespaceStatemachine {
document?: Document;
matchTitles?: boolean;
getIndented(labeled: GetIndentedArgs): [StringList, number, number, boolean];
getKnownIndented(labeled: GetIndentedArgs): [StringList, number, boolean];
getFirstKnownIndented(args: GetIndentedArgs): [StringList, number, number, boolean];
}
export default StateMachineWS;