import React from 'react'; export type TabId = string | number | null; export interface UseTabsProps { defaultOpen?: TabId; } export interface UseTabsReturn { register: (id: TabId) => { role: string; href: string; id: string; 'aria-selected': boolean; 'aria-controls': string; tabIndex: number; onClick: (e: any) => void; onKeyDown: (e: React.KeyboardEvent) => void; ref?: React.RefObject; }; panel: (id: TabId) => { tab: TabId; role: string; 'aria-labelledby': string; id: string; active: boolean; }; currentOpen: TabId; open: (id: TabId) => void; } export declare const useTabs: ({ defaultOpen, }?: UseTabsProps) => UseTabsReturn;