UNPKG

ai-debug-local-mcp

Version:

🎯 ENHANCED AI GUIDANCE v4.1.2: Dramatically improved tool descriptions help AI users choose the right tools instead of 'close enough' options. Ultra-fast keyboard automation (10x speed), universal recording, multi-ecosystem debugging support, and compreh

37 lines • 1.05 kB
import { Page } from 'playwright'; export interface ReactComponent { name: string; props: any; state: any; hooks?: any[]; fiber?: any; element?: string; children?: ReactComponent[]; } export interface ReactStateSnapshot { timestamp: Date; components: ReactComponent[]; stateTree: any; propFlows: Array<{ from: string; to: string; prop: string; value: any; }>; } export declare class ReactStateEngine { private page?; private stateSnapshots; private componentMap; attach(page: Page): Promise<void>; captureComponentTree(): Promise<ReactComponent[]>; getCurrentState(): Promise<ReactStateSnapshot>; private buildStateTree; private tracePropFlows; detectStatePropMismatches(apiData: any): Promise<any[]>; private isDataMatch; getComponentByName(name: string): Promise<ReactComponent | null>; monitorStateChanges(duration: number): Promise<any[]>; private compareSnapshots; } //# sourceMappingURL=react-state-engine.d.ts.map