import { ClipboardEvent } from 'react'; import { SelectValue } from '../Select/typings'; type UseAutoCompleteCreationParams = { addable: boolean; createSeparators: string[]; filterUnselected: (options: SelectValue[]) => SelectValue[]; clearUnselected: () => void; isMultiple: boolean; isSingle: boolean; markCreated: (id: string) => void; clearNewlyCreated: (ids?: string[]) => void; markUnselected: (ids: string[]) => void; onChangeMultiple?: (newOptions: SelectValue[]) => void; onInsert?: (text: string, currentOptions: SelectValue[]) => SelectValue[]; onSetInputDisplay?: (text: string) => void; options: SelectValue[]; stepByStepBulkCreate?: boolean; toggleOpen: (newOpen: boolean | ((prev: boolean) => boolean)) => void; trimOnCreate: boolean; value: SelectValue[] | SelectValue | null | undefined; wrappedOnChange: (chooseOption: SelectValue | null) => SelectValue[] | SelectValue | null; setSearchText: (value: string) => void; }; type ProcessBulkCreate = (text: string) => string[]; export declare function getFullParsedList(text: string, createSeparators: string[], trimOnCreate: boolean): string[]; export declare function useAutoCompleteCreation({ addable, createSeparators, filterUnselected, clearUnselected, isMultiple, isSingle, markCreated, markUnselected, onChangeMultiple, onInsert, onSetInputDisplay, options, stepByStepBulkCreate, toggleOpen, trimOnCreate, value, wrappedOnChange, setSearchText, clearNewlyCreated, }: UseAutoCompleteCreationParams): { getPendingCreateList: (text: string) => string[]; handleActionCustom: () => void; handleBulkCreate: (texts: string[]) => void; handlePaste: (e: ClipboardEvent) => void; insertText: string; processBulkCreate: ProcessBulkCreate; resetCreationInputs: () => void; setInsertText: import("react").Dispatch>; }; export {};