/** * @file select/utils * @author */ import Base from 'santd/base'; import { DefaultValueType, RawValueType } from './interface'; export declare const prefixCls: string; export declare const emptyPrefixCls: string; export declare const dropdownPrefixCls: string; export declare function toTitle(title?: string): string; export declare function toArray(value: T | T[] | undefined): T[]; export declare function getPropValue(child: Base, prop?: string): any; export declare function getMapKey(value: string | number): string; export declare function memoize(): (obj: Record) => Record; export declare function preventDefaultEvent(e: Event): void; export declare function includesSeparators(str: string, separators: string[]): boolean; export declare function splitBySeparators(str: string, separators: string[]): string[]; export declare function generateUUID(): string; export declare function defaultFilterFn(input: string, child: any, optionFilterProp?: string): boolean; export declare function isValueArray(value: DefaultValueType | undefined): value is RawValueType[]; export declare function isValueString(value: DefaultValueType | undefined): value is string; export declare function isValueArrayOrString(value: DefaultValueType | undefined): value is RawValueType[] | string;