routie dev init since i didn't adhere to any proper guidance up until now

This commit is contained in:
2026-04-29 22:27:29 -06:00
commit e1dabb71e2
15301 changed files with 3562618 additions and 0 deletions
@@ -0,0 +1,15 @@
import type { ComputedRef, Ref } from 'vue';
import type { VCommandPaletteItem } from '../types.js';
export interface UseCommandPaletteNavigationOptions {
filteredItems: ComputedRef<VCommandPaletteItem[]>;
onItemClick: (item: VCommandPaletteItem, event: KeyboardEvent | MouseEvent) => void;
}
export interface UseCommandPaletteNavigationReturn {
selectedIndex: Readonly<Ref<number>>;
getSelectedItem: () => VCommandPaletteItem | undefined;
execute: (index: number, event: KeyboardEvent | MouseEvent) => void;
executeSelected: (event: KeyboardEvent | MouseEvent) => void;
reset: () => void;
setSelectedIndex: (index: number) => void;
}
export declare function useCommandPaletteNavigation(options: UseCommandPaletteNavigationOptions): UseCommandPaletteNavigationReturn;