import type { Node } from 'ricos-schema'; import { RichContent } from 'ricos-schema'; import type { ContentNode, Context, Rule } from './models'; export type Interceptor = (context: { contentNode: ContentNode; context: Context; result: Node[]; }) => Node[]; declare const _default: (rules: Rule[], interceptorFn: Interceptor) => (html: string) => RichContent; export default _default; //# sourceMappingURL=parser.d.ts.map