docutils-ts
Version:
Port of the Python Docutils library to TypeScript
30 lines (29 loc) • 980 B
TypeScript
import { Statefactory, StatemachineInterface, StateConstructor, LoggerType } from "../../types.js";
declare class StateFactory implements Statefactory {
private stateClasses;
private args;
private logger;
constructor(args: {
logger: LoggerType;
stateClasses?: StateConstructor[];
});
createBody(): any;
createBulletList(): any;
createDefinition(): any;
createDefinitionList(): any;
createEnumeratedList(): any;
createExplicit(): any;
createExtensionOptions(): any;
createFieldList(): any;
createLineBlock(): any;
createLine(): any;
createOptionList(): any;
createQuotedLiteralBlock(): any;
createSpecializedBody(): any;
createSpecializedText(): any;
createText(): any;
createState(stateName: string, stateMachine?: StatemachineInterface): any;
getStateClasses(): StateConstructor[];
withStateClasses(stateClasses: StateConstructor[]): this;
}
export default StateFactory;