import type { ISelectProps } from './token'; import type { Option } from './select.types'; import type { ComputedRef } from 'vue'; export declare function useAllowCreate(props: ISelectProps, states: Record, optionsMap: ComputedRef>): { createNewOption: (query: string) => { [x: number]: string; created: boolean; disabled: boolean; } | undefined; removeNewOption: (option: any) => void; selectNewOption: (option: any) => void; clearAllNewOption: () => void; };