/** * Splits text by the configured delimiter(s). * @param text - The text to split * @param delimiter - The delimiter(s) to split by * @returns An array of trimmed, non-empty strings */ export declare const splitByDelimiter: (text: string, delimiter?: RegExp | string | string[]) => string[]; export interface TokenizeTextParams { currentValues: T[]; delimiter: RegExp | string | string[]; freeSolo: boolean; getOptionDisabled?: (option: T) => boolean; getOptionLabel: (option: T) => string; options: T[]; text: string; } /** * Tokenizes text by delimiter and returns matching options or new values (for freeSolo mode). * Filters out duplicates, disabled options, and non-matching values (unless freeSolo). */ export declare const tokenizeText: ({ currentValues, delimiter, freeSolo, getOptionDisabled, getOptionLabel, options, text, }: TokenizeTextParams) => T[];