import type { BaseOptionType, FieldNames, FlattenOptionData } from '../interface'; export declare function fillFieldNames(fieldNames: FieldNames | undefined): { label: string | keyof OptionType; value: string | keyof OptionType; options: string | keyof OptionType; groupLabel: string | keyof OptionType; disabled: string | keyof OptionType; }; /** * Flat options into flatten list. * We use `optionOnly` here is aim to avoid user use nested option group. * Here is simply set `key` to the index if not provided. */ export declare function flattenOptions(options: OptionType[], fieldNames?: FieldNames): FlattenOptionData[]; export declare function getSeparatedContent(text: string, tokens?: string[]): string[] | null;