import { RstNode, RstNodeJson, RstNodeObject, RstNodeSource } from '../RstNode.ts'; import { RstFieldList } from '../List/FieldList.ts'; import { RstNodeRegistrar } from '../../Parser/RstNodeRegistrar.ts'; import { RstNodeType } from '../RstNodeType.ts'; export type RstDirectiveData = { rawDirective: string; isInvisibleContent: boolean; initContent: Array; config: RstNodeJson | null; rawBodyText?: string; }; export declare class RstDirective extends RstNode { private readonly _rawDirective; private readonly _isInvisibleContent; private readonly _initContent; private readonly _config; private readonly _rawBodyText?; constructor(registrar: RstNodeRegistrar, source: RstNodeSource, children: ReadonlyArray | undefined, rawDirective: string, isInvisibleContent: boolean, initContent: ReadonlyArray, // Content on first line of directive config: RstFieldList | null, // FieldList that specifies the Directive's settings rawBodyText?: string); toObject(): RstNodeObject; toJSON(): RstNodeJson; static reviveRstNodeFromJson(registrar: RstNodeRegistrar, json: RstNodeJson): RstDirective; clone(registrar: RstNodeRegistrar): RstDirective; get nodeType(): RstNodeType; get willRenderVisibleContent(): boolean; get directive(): string; get initContent(): ReadonlyArray; get initContentText(): string; get config(): RstFieldList | null; get rawBodyText(): string; get shouldExportPlainText(): boolean; toShortString(): string; toString(depth?: number): string; } //# sourceMappingURL=Directive.d.ts.map