
import { CubeTextProps } from "../Text.js";
import { AutoTooltipValue } from "../use-auto-tooltip.js";
import { Styles } from "@tenphi/tasty";
import * as react from "react";
import { OverlayProps } from "react-aria";

//#region src/components/content/TextItem/TextItem.d.ts
interface CubeTextItemProps extends CubeTextProps {
  /**
   * String to highlight within children.
   * Only works when children is a plain string.
   */
  highlight?: string;
  /**
   * Whether highlight matching is case-sensitive.
   * @default false
   */
  highlightCaseSensitive?: boolean;
  /**
   * Custom styles for highlighted text.
   */
  highlightStyles?: Styles;
  /**
   * Tooltip content and configuration:
   * - string: simple tooltip text
   * - true: auto tooltip on overflow (shows children as tooltip when truncated)
   * - object: advanced configuration with optional auto property
   * @default true
   */
  tooltip?: AutoTooltipValue;
  /**
   * Default tooltip placement.
   * @default "top"
   */
  tooltipPlacement?: OverlayProps['placement'];
}
declare const TextItem: react.ForwardRefExoticComponent<CubeTextItemProps & react.RefAttributes<HTMLElement>>;
//#endregion
export { CubeTextItemProps, TextItem };
//# sourceMappingURL=TextItem.d.ts.map