import { type KeyboardEvent } from 'react'; /** * A helper function for managing the state and interactions of tabs. * * @param {string[]} items - An array of strings representing the IDs of the tabs. * @param {number} [initialSelectedId] - An optional index of the initially selected tab. Defaults to 0 if not provided. * @param onTabChange */ export declare const useTabState: (items: string[], initialSelectedId?: number, onTabChange?: (id: string) => void) => { onTabKeyDown: (event: KeyboardEvent) => void; onTabClick: (id: string) => void; selectedId: string; };