import React from "react";
import { AnalysisResponseEntry, AnalysisToken } from "./client";
type TokenSelectProps = {
    span: AnalysisResponseEntry;
    onSelect(token: AnalysisToken | null): void;
    selected: AnalysisToken | null;
    isOpen: boolean;
    optionIndex: number | null;
    onOptionIndexChange(optionIndex: number): void;
    isAutoSlected: boolean;
    isColorSearch?: boolean;
    setOpenedDropdown: React.Dispatch<React.SetStateAction<{
        textPosition: number;
        optionPosition: number;
    } | null>>;
};
export declare function TokenSelect({ span, onSelect, selected, isOpen, optionIndex, onOptionIndexChange, isAutoSlected, setOpenedDropdown, isColorSearch, }: TokenSelectProps): import("react/jsx-runtime").JSX.Element;
export declare function getTokenLabel(token: AnalysisToken): string;
export {};
