import { Ref } from 'vue'; export interface AccordionState { openItems: { value: string[]; }; focusedItemId: { value: string | null; }; toggleItem: (itemId: string) => void; isItemOpen: (itemId: string) => boolean; isItemFocused: (itemId: string) => boolean; setFocus: (itemId: string | null) => void; } export default function useAccordionState(openItems: Ref): AccordionState;