import type { RawUniversalConfig } from '@redocly/openapi-core'; import type { MarkdocChunk } from '../loader.js'; export declare function isPlainNonMarkdownText(markdown: string): boolean; /** * False once `node[key]` holds a string other than the chunk's markdown: the value was replaced * after bundling (e.g. by an AsyncAPI 2.x trait), so writing the chunk back would restore it. */ export declare function isChunkCurrent(node: Record, key: string, markdown: string): boolean; /** * Chunks for `description` strings that were copied onto other objects after bundling (AsyncAPI * traits), each taking the parse source of the chunk whose markdown it copies. */ export declare function collectCopiedDescriptionChunks(document: unknown, chunks: MarkdocChunk[]): MarkdocChunk[]; export declare const MarkdownParserDecorator: ({ outputRelativePath, cwd, }: { outputRelativePath: string; cwd: string; }) => { any: { leave(node: Record, ctx: any): void; }; ref: { leave(node: Record, ctx: any): void; }; }; export declare const RbacDecorator: () => { Tag: { enter(node: Record): void; }; any: { leave(node: Record, ctx: any): void; }; ref: { leave(node: Record): void; }; }; export declare function injectDecoratorIntoConfig(config: RawUniversalConfig, outputRelativePath: string, cwd: string): RawUniversalConfig; //# sourceMappingURL=decorators.d.ts.map