import { type ElementType, type HTMLAttributes, type ReactNode } from 'react';
declare const textHighlighterColors: {
readonly yellow: "#ffffaf";
readonly green: "#b8ffaf";
readonly pink: "#ffafd4";
readonly blue: "#afd7ff";
};
type TextHighlighterColor = keyof typeof textHighlighterColors;
type TextHighlighterProps = Omit, 'color'> & {
children: ReactNode;
as?: ElementType;
color?: TextHighlighterColor;
highlightColor?: string;
};
declare const TextHighlighter: ({ children, as: Component, color, highlightColor, className, style, ...props }: TextHighlighterProps) => import("react/jsx-runtime").JSX.Element;
export { TextHighlighter };
export type { TextHighlighterColor, TextHighlighterProps };