export type AutocompleteSelectOption<TValue extends string = string> = {
    value: TValue;
    label: string;
    keywords?: string[];
    disabled?: boolean;
};
export type AutocompleteSelectProps<TValue extends string = string> = {
    /** Searchable options available in the autocomplete dropdown. */
    options: AutocompleteSelectOption<TValue>[];
    /** Currently selected option value. */
    value: TValue;
    /** Called when the selected option changes. */
    onChange: (value: TValue) => void;
    /** Placeholder shown in the closed trigger button. */
    placeholder?: string;
    /** Placeholder shown inside the search input. */
    searchPlaceholder?: string;
    /** Label shown when no matching options are found. */
    emptyLabel?: string;
    /** Accessible label announced for the control. */
    ariaLabel?: string;
    /** Custom class name applied to the root element. */
    className?: string;
    /** Whether the control should be disabled. */
    disabled?: boolean;
};
