import { TabChangeEvent, TabsConfig, TabsService } from '@codella-software/utils/tabs'; import { default as React } from 'react'; interface TabsContextValue { service: TabsService; activeTabId: string; tabs: ReturnType; } /** * Props for TabsProvider */ export interface TabsProviderProps { config: TabsConfig; children: React.ReactNode; } /** * Tabs provider for React */ export declare function TabsProvider({ config, children }: TabsProviderProps): import("react/jsx-runtime").JSX.Element; /** * Hook to access tabs service from context */ export declare function useTabsContext(): TabsContextValue; /** * Hook to use tabs service directly */ export declare function useTabsService(): TabsService; /** * Hook to get active tab */ export declare function useActiveTab(): import('@codella-software/utils').TabItem | undefined; /** * Hook to get all tabs */ export declare function useTabs(): import('@codella-software/utils').TabItem[]; /** * Hook to listen to tab changes */ export declare function useTabChange(): TabChangeEvent | null; /** * Hook to set active tab */ export declare function useSetActiveTab(): { setActiveTab: (tabId: string) => void; setActiveTabByIndex: (index: number) => void; nextTab: () => void; previousTab: () => void; }; export {}; //# sourceMappingURL=useTabsHooks.d.ts.map