import type { OnChangeValue, Options, PropsValue } from "react-select"; import type { NDSOption, NDSOptionValue } from "./Select"; export declare function calcOptionsLength(options: any): any; export declare function flattenGroupedChildren(children: any): any; export declare function isFocused({ props: { isFocused } }: { props: { isFocused: any; }; }): boolean; export declare function getCurrentIndex(children: any): number; export declare function createGetHeight({ groupHeadingStyles, noOptionsMsgStyles, optionStyles, loadingMsgStyles }: { groupHeadingStyles: any; noOptionsMsgStyles: any; optionStyles: any; loadingMsgStyles: any; }): (child: any) => any; export declare function checkOptionsAreValid(options: Options): void; export declare function getOption(options: Options, value: PropsValue): any; export declare function getReactSelectValue(options: Options, input: PropsValue): any; export type CustomOnChangeValue = IsMulti extends true ? NDSOptionValue[] : NDSOptionValue; export declare function extractValue(options: OnChangeValue, isMulti: IsMulti): CustomOnChangeValue;