UNPKG

@prefecthq/prefect-design

Version:

A collection of low-level Vue components.

13 lines (12 loc) 605 B
import { Ref } from 'vue'; import { SelectModelValue, SelectOptionNormalized } from '../types'; import { MaybeRef } from '../types/ref'; export declare const unselected: unique symbol; export type UseHighlightedValue = { highlightedValue: Ref<SelectModelValue | typeof unselected>; isUnselected: (value: unknown) => value is typeof unselected; setNextHighlightedValue: () => void; setPreviousHighlightedValue: () => void; setHighlightedValueUnselected: () => void; }; export declare function useHighlightedValue(selectOptions: MaybeRef<SelectOptionNormalized[]>): UseHighlightedValue;