UNPKG

docutils-ts

Version:

Port of the Python Docutils library to TypeScript

13 lines (12 loc) 659 B
import { Publisher } from './publisher'; import StateFactory from './parsers/rst/stateFactory'; import RSTStateMachine from './parsers/rst/rstStateMachine'; import { Document, LoggerType, ReporterInterface } from './types'; export declare function createLogger(options?: any): LoggerType; export declare function createPublisher(): Publisher; export declare function createRSTStateMachine(args: { logger: LoggerType; }): RSTStateMachine; export declare function createStateFactory(): StateFactory; export declare function createNewDocument(sourcePath?: string): Document; export declare function createNewReporter(sourcePath?: string): ReporterInterface;