import { ReactNode } from 'react';
declare function reactNodeToString(node: ReactNode): string;
declare function highlightKeywordInReactNode(node: ReactNode, keyword: string, className: string): ReactNode;
declare const _default: {
    getTextWidth: (value: string, fontSize?: number | undefined, fontFamily?: string | undefined) => number;
    highLight: (text?: string | undefined, search?: string | undefined, color?: string | undefined) => JSX.Element | "";
    reactNodeToString: typeof reactNodeToString;
    highlightKeywordInReactNode: typeof highlightKeywordInReactNode;
};
export default _default;
