docutils-ts
Version:
Port of the Python Docutils library to TypeScript
11 lines (10 loc) • 580 B
TypeScript
import Text from './text.js';
import { RegexpResult, ContextArray, StateInterface, ParseMethodReturnType } from "../../../types.js";
declare class SpecializedText extends Text {
blank(match: any, context: any[], nextState: any): any[];
underline(match: any, context: any[], nextState: any): any[];
indent(match: RegexpResult, context: ContextArray, nextState: StateInterface): ParseMethodReturnType;
text(match: RegexpResult, context: ContextArray, nextState: StateInterface): ParseMethodReturnType;
eof(...args: any): any[];
}
export default SpecializedText;