import { RstParserOutput } from './Parser/RstParserState.ts'; import { RstDirectiveGenerator, RstInterpretedTextGenerator, RstNodeGenerator } from './Generator/RstGenerator.ts'; import { RstGeneratorState, RstGeneratorInput, RstGeneratorOutput } from './Generator/RstGeneratorState.ts'; import { RstGeneratorOptions } from './Generator/RstGeneratorOptions.ts'; import { RstParserOptions } from './Parser/RstParserOptions.ts'; import { RstNodeType } from './RstNode/RstNodeType.ts'; import { RstNodeParser } from './Parser/RstParser.ts'; import { RstCompilerPlugin } from './RstCompilerPlugin.ts'; import { RstNodeJson } from './RstNode/RstNode.ts'; import { RstDocument } from './RstNode/Block/Document.ts'; export declare class RstCompiler { readonly nodeParsers: RstNodeParser[]; readonly nodeGenerators: Map; readonly directiveGenerators: Map; generate: (generatorState: RstGeneratorState, node: import('./index.ts').RstDirective) => void; }>>; readonly interpretedTextGenerators: Map; generate: (generatorState: RstGeneratorState, node: import('./index.ts').RstInterpretedText) => void; }>>; readonly plugins: Partial<{ onInstall: (compiler: RstCompiler) => void; getSimpleName: (node: import('./RstNode/RstNode.ts').RstNode) => import('./SimpleName.ts').SimpleName | null; onBeforeParse: (parserOption: RstParserOptions) => void; onParse: (parserOutput: RstParserOutput) => void; onBeforeGenerate: (generatorOptions: RstGeneratorOptions) => void; onGenerate: (generatorOutput: RstGeneratorOutput) => void; isValidInterpretedText: (rawBodyText: string, role: string) => boolean | null; }>[]; private readonly _outputWarnings; private readonly _outputErrors; useNodeParser(parser: RstNodeParser): void; useNodeGenerator(generator: RstNodeGenerator): void; useDirectiveGenerator(generator: RstDirectiveGenerator): void; useInterpretedTextGenerator(generator: RstInterpretedTextGenerator): void; usePlugin(plugin: RstCompilerPlugin): void; notifyWarning(text: string): void; notifyError(text: string): void; clearNotifications(): void; get outputWarnings(): ReadonlyArray; get outputErrors(): ReadonlyArray; consoleLogProblems(opts?: { disableWarnings?: boolean; disableErrors?: boolean; }): void; parse(input: string, parserOptions?: Partial): RstParserOutput; parseJson(rootJson: RstNodeJson, parserOptions?: Partial): RstParserOutput; generate(generatorInput: RstGeneratorInput, generatorOptions?: Partial): RstGeneratorOutput; createParserOutput(root: RstDocument): RstParserOutput; compile(input: string | RstParserOutput, parserOptions?: Partial, generatorOptions?: Partial): RstGeneratorOutput; } export declare class RstToHtmlCompiler extends RstCompiler { constructor(); } export declare class RstToMdCompiler extends RstCompiler { constructor(); } //# sourceMappingURL=RstCompiler.d.ts.map