docutils-ts
Version:
Port of the Python Docutils library to TypeScript
12 lines (11 loc) • 582 B
TypeScript
import { ReporterInterface } from "../../types.js";
declare function setClasses(options: any): void;
/**
* Locate and return a role function from its language-dependent name, along
* with a list of system messages. If the role is not found in the current
* language, check English. Return a 2-tuple: role function (``None`` if the
* named role cannot be found) and a list of system messages.
*/
declare function roleInterface(roleName: string, languageModule: any, lineno: number, reporter: ReporterInterface): any[];
export { setClasses };
export default roleInterface;