/** * remake-blocks * * A remark plugin that transforms callout directives inside blockquotes * into styled callout components, disclosure widgets, and optionally * enhances regular blockquotes. * * 27 first-class callout types + disclosure widgets ([!]) * + accordion grouping + tree view nesting * — each directive maps 1:1 to its own unique visual identity. * * @security By default, raw HTML in markdown source is HTML-escaped before * being placed into callout bodies (safe-by-default). Set * `allowDangerousHtml: true` in plugin options to disable escaping — * only do this if you fully trust your markdown source. */ import type { Root } from "mdast"; import type { Plugin } from "unified"; import type { RemakeBlocksOptions, CalloutConfig } from "./types.js"; declare const BUILTIN_CALLOUTS: CalloutConfig[]; declare function escapeAttribute(str: string): string; declare function sanitizeColor(value: string, fallback: string): string; declare function escapeHtml(str: string): string; export declare const remarkRemakeBlocks: Plugin<[RemakeBlocksOptions?], Root>; export declare const remarkCalloutBlocks: Plugin<[(RemakeBlocksOptions | undefined)?], Root>; export { escapeHtml, escapeAttribute, sanitizeColor }; export { BUILTIN_CALLOUTS }; //# sourceMappingURL=remark-remake-blocks.d.ts.map