import { type ReactNode } from "react";
import { type MenuItemProps } from "../menu/MenuItem.js";
/**
 * @internal
 * @remarks \@since 6.0.0
 */
export interface SelectOption<Value extends string | number = string> extends MenuItemProps {
    value: Value;
}
/**
 * @internal
 * @remarks \@since 6.0.0
 */
interface ExtractedOptions<Value extends string | number> {
    options: readonly SelectOption<Value>[];
    currentOption: SelectOption<Value> | undefined;
    searchValues: readonly string[];
    currentIndex: number;
}
/**
 * @internal
 * @remarks \@since 6.0.0
 */
export declare function extractOptionsFromChildren<Value extends string | number>(children: ReactNode, currentValue: Value | undefined): ExtractedOptions<Value>;
export {};
