/** * @mrsf/rehype-mrsf — rehype plugin for MRSF review comments. * * This is the full-featured Node.js entry point. It supports all four * sidecar provisioning modes: `comments`, `loader`, `sidecarPath`, and * `documentPath`. The latter two require Node.js file-system APIs. * * In browser / bundler environments, the `"browser"` export condition in * package.json automatically resolves to the browser-safe entry, so you * never need to import a different path — just use: * * @example * ```ts * import { unified } from "unified"; * import remarkParse from "remark-parse"; * import remarkRehype from "remark-rehype"; * import rehypeStringify from "rehype-stringify"; * import { rehypeMrsf } from "@mrsf/rehype-mrsf"; * * const result = await unified() * .use(remarkParse) * .use(remarkRehype) * .use(rehypeMrsf, { documentPath: "docs/guide.md" }) * .use(rehypeStringify) * .process(markdownSource); * ``` */ import type { MrsfPluginOptions } from "./types.js"; export type { MrsfPluginOptions, SlimComment, CommentThread, LineMap, CommentLoader } from "./types.js"; /** * The rehype plugin function (Node.js — full feature set). */ export declare const rehypeMrsf: (options?: MrsfPluginOptions) => (tree: import("hast").Root) => void; export default rehypeMrsf; //# sourceMappingURL=index.d.ts.map