import type { InputValue } from '../input';
import type { TagInputProps } from './interface';
import type { TagInputChangeContext, TagInputValue } from './type';
export declare type ChangeParams = [TagInputChangeContext];
export default function useTagList(props: TagInputProps): {
    tagValue: import("vue").Ref<TagInputValue>;
    clearAll: (context: {
        e: MouseEvent;
    }) => void;
    onClose: (p: {
        e?: MouseEvent;
        index: number;
        item: string | number;
    }) => void;
    onInnerEnter: (value: InputValue, context: {
        e: KeyboardEvent;
    }) => void;
    onInputBackspaceKeyUp: (value: InputValue) => void;
    onInputBackspaceKeyDown: (value: InputValue, context: {
        e: KeyboardEvent;
    }) => void;
    renderLabel: ({ displayNode, label }: {
        displayNode: any;
        label: any;
    }) => any[];
};
