import { ReactNode } from 'react'; import { GroupTypeBase, OptionTypeBase } from './types'; export type formatGroupLabel< OptionType extends OptionTypeBase = any, GroupType extends GroupTypeBase = GroupTypeBase > = (group: GroupType) => ReactNode; export function formatGroupLabel(group: GroupTypeBase): ReactNode; export type getOptionLabel = (option: OptionType) => string; export function getOptionLabel(option: any): string; export type getOptionValue = (option: OptionType) => string; export function getOptionValue(option: any): string; export type isOptionDisabled = (option: OptionType) => boolean; export function isOptionDisabled(option: any): boolean;