/** * Shared logic for @mrsf/rehype-mrsf. * * Contains the plugin factory using shared comment loading/grouping logic. */ import type { Root } from "hast"; import type { MrsfPluginOptions, CommentLoader } from "./types.js"; /** * Create a rehype plugin function with the given comment loader. * * @param loader - Function that resolves sidecar data from plugin options * @returns A rehype plugin function */ export declare function createRehypeMrsf(loader: CommentLoader): (options?: MrsfPluginOptions) => (tree: Root) => void; //# sourceMappingURL=shared.d.ts.map