import { type Extension } from 'prosekit/core'; import { type Parser } from 'prosemirror-highlight'; /** * An alias for the `Parser` type from the `prosemirror-highlight` package. * * @public */ export type HighlightParser = Parser; /** * Adds syntax highlighting to code blocks. This function requires a `Parser` * instance from the `prosemirror-highlight` package. See the * [documentation](https://github.com/ocavue/prosemirror-highlight) for more * information. * * @public */ export declare function defineFrontmatterHighlight({ parser, }: { parser: HighlightParser; }): Extension;