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