import type { ComponentType } from 'react'; import type { FeatureDriver } from '../../core/runtimeTypes'; import type { DebugTab } from '../../types/config'; import type { DebugFeature, FeatureConfig } from '../../types/feature'; export interface TabsItemState { id: string; title: string; component: ComponentType<{ snapshot?: unknown; }>; hasSource: boolean; snapshot?: unknown; badge: { label: string; color: string; } | null; canClear: boolean; error?: string; } export interface TabsSnapshot { items: readonly TabsItemState[]; error?: string; } export interface TabsFeature extends DebugFeature, FeatureDriver { actions: { clear(id: string): void; }; } export declare function createTabsFeature(config?: FeatureConfig<{ items?: { readonly [K in keyof S]: DebugTab; }; }>): TabsFeature; //# sourceMappingURL=index.d.ts.map