import { RstGeneratorOutput } from './Generator/RstGeneratorState.ts'; import { RstCompiler } from './RstCompiler.ts'; import { RstParserOptions } from './Parser/RstParserOptions.ts'; import { RstGeneratorOptions } from './Generator/RstGeneratorOptions.ts'; import { RstNode } from './RstNode/RstNode.ts'; import { SimpleName } from './SimpleName.ts'; import { createDirectiveGenerators, createInterpretedTextGenerators } from './Generator/RstGenerator.ts'; import { RstParserOutput } from './Parser/RstParserState.ts'; export type RstCompilerPlugin = Partial<{ onInstall: (compiler: RstCompiler) => void; getSimpleName: (node: RstNode) => 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; }>; type CreateRstCompilerPluginsOptions = Omit & { directiveGenerators?: Array>; interpretedTextGenerators?: Array>; }; export declare function createRstCompilerPlugins(opts: CreateRstCompilerPluginsOptions): { htmlPlugin: Partial<{ onInstall: (compiler: RstCompiler) => void; getSimpleName: (node: RstNode) => 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; }>; mdPlugin: Partial<{ onInstall: (compiler: RstCompiler) => void; getSimpleName: (node: RstNode) => 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; }>; }; export {}; //# sourceMappingURL=RstCompilerPlugin.d.ts.map