import type { ComponentType } from "react"; /** * Utility function to attach optionValue to a component in a type-safe way. * This avoids the need for `as any` type assertions throughout the codebase. * * @param component - The React component to attach optionValue to * @param value - The option value string * @returns The component with optionValue attached */ export declare function withOptionValue>(component: T, value: string): T & { optionValue: string; };