/**
 * Background theme utils for Components.
 *
 * @internal
 * @internal
 */
import type { Symbol2DUnion } from "../../symbols/types.js";

/**
 * Determines the contrasting background theme ("light", "dark", or null) for a
 * given symbol based on color luminance and a threshold.
 *
 * @param symbol
 * @param threshold
 * @internal
 * @internal
 */
export function getContrastingBackgroundTheme(symbol: Symbol2DUnion, threshold?: number): "light" | "dark" | null | undefined;