import React from 'react';
type TagRenderer = (chunks: React.ReactNode) => React.ReactElement;
type TagRenderers = Record<string, TagRenderer>;
export declare function createRichTextRenderer(customRenderers?: TagRenderers): (t: any, key: string) => any;
export declare const richText: (t: any, key: string) => any;
export {};
