import { ComputedRef, MaybeRefOrGetter, ShallowRef } from 'vue';
type ItemWithId = {
    id: string;
};
type Options<T extends ItemWithId> = {
    containerEl: ShallowRef<HTMLElement | null>;
    selectableItems: ComputedRef<Array<T>>;
    enabledItems: ComputedRef<Array<T>>;
    listItemRole: MaybeRefOrGetter<"menuitem" | "option">;
    allowNoSelection?: boolean;
    emptyOptionId?: string;
    loading?: boolean;
    triggers?: {
        onEnter?: (activeItemId: string, item: T, event: KeyboardEvent) => void;
        onSpace?: (activeItemId: string, item: T, event: KeyboardEvent) => void;
    };
};
export declare const useListItemKeyboardNav: <T extends ItemWithId>(options: Options<T>) => {
    handleKeydown: (event: KeyboardEvent) => void;
    activeId: Readonly<import('vue').Ref<string | undefined, string | undefined>>;
    focus: () => void;
    blur: () => void;
    setActiveId: (id: string | undefined) => void;
    scrollSelectedIntoView: () => void;
};
export {};
//# sourceMappingURL=useListItemKeyboardNav.d.ts.map