import { type ReactElement } from 'react'; import type { GroupBase } from 'react-select'; import { type StratoLogger } from '../../../core/sdk/sdk-logger.js'; import type { SelectContentProps } from '../SelectContent.js'; import type { OptionOrGroup, BaseOption } from '../types.js'; /** Type guard helper to identify an element as an Option */ export declare function _isOption(optionOrGroup: any): optionOrGroup is BaseOption; /** Type guard helper to identify an element as a Group */ export declare function _isGroup(optionOrGroup: any): optionOrGroup is GroupBase; /** * @internal */ export declare function safeStringify(value: unknown): string; /** * Helper hook that will extract Options or Groups from the Content children * and return a valid options or group array for react-select * * @internal */ export declare function useSelectOptions(contentSlot: ReactElement | null, logger?: StratoLogger): { optionsOrGroups: OptionOrGroup>; optionsHavePrefix: boolean; allOptions: BaseOption[]; };