import { Ref } from 'vue';
export declare function useLabelEdit(initialLabel: string | Ref<string>, onSave: (newLabel: string) => void): {
    isEditing: Ref<boolean, boolean>;
    tempLabel: Ref<string, string>;
    inputRef: Ref<HTMLInputElement | null, HTMLInputElement | null>;
    startEditing: () => Promise<void>;
    saveLabel: () => void;
    handleKeydown: (event: KeyboardEvent) => void;
};
