import { Ref } from 'vue'; import { ItemType, SelectArray, SelectPrimitive, SelectValue } from '../types'; interface SelectionLogicProps { multiple: boolean; returnObject: boolean; valueKey: string; } type EmitFunction = (event: 'update:modelValue', value: SelectValue | SelectArray) => void; export declare function useSelectionLogic(props: SelectionLogicProps, getValueKey: (item: ItemType | SelectPrimitive) => SelectPrimitive, getStoredValue: (item: ItemType | SelectPrimitive) => ItemType | SelectPrimitive, getPlainText: (item: ItemType) => string, selected: Ref, search: Ref, emit: EmitFunction): { updateValue: (item: ItemType | SelectPrimitive | null) => void; }; export {};