import type { ComponentPropsWithoutRef } from 'react'; declare const paletteVariableMap: { readonly foreground: "--code-hover-card-foreground"; readonly surface: "--code-hover-card-surface"; readonly border: "--code-hover-card-border"; readonly characterCore: "--code-hover-card-character-core"; readonly characterMid: "--code-hover-card-character-mid"; readonly characterRing: "--code-hover-card-character-ring"; readonly characterHot: "--code-hover-card-character-hot"; readonly characterGlow: "--code-hover-card-character-glow"; }; export type CodeHoverCardPalette = Partial>; export type CodeHoverCardProps = ComponentPropsWithoutRef<'div'> & { /** * Number of random characters generated whenever the pointer moves. */ characterCount?: number; /** * Character set used for the generated background texture. */ characters?: string; /** * Optional text shown below the center icon/content. */ label?: string; /** * Color overrides mapped to CSS variables. `style` can still override any * `--code-hover-card-*` variable directly. */ palette?: CodeHoverCardPalette; }; export declare const CodeHoverCard: ({ characterCount, characters, children, className, label, palette, onBlur, onFocus, onMouseEnter, onMouseLeave, onMouseMove, onTouchEnd, onTouchMove, onTouchStart, style, ...props }: CodeHoverCardProps) => import("react/jsx-runtime").JSX.Element; export {};