import { Ref } from 'vue';
import { ItemType, SelectValue, SelectArray } 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 | string | number) => string | number, getStoredValue: (item: ItemType | string | number) => ItemType | string | number, getPlainText: (item: ItemType) => string, selected: Ref<SelectValue | SelectArray>, search: Ref<string>, emit: EmitFunction): {
    updateValue: (item: ItemType | string | number | null) => void;
};
export {};
