react-native-ai-debugger 1.0.25 → 1.0.26

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -3,4 +3,46 @@ export declare function executeInApp(expression: string, awaitPromise?: boolean,
3
3
  export declare function listDebugGlobals(): Promise<ExecutionResult>;
4
4
  export declare function inspectGlobal(objectName: string): Promise<ExecutionResult>;
5
5
  export declare function reloadApp(): Promise<ExecutionResult>;
6
+ /**
7
+ * Get the React component tree from the running app.
8
+ * This traverses the fiber tree to extract component hierarchy with names.
9
+ */
10
+ export declare function getComponentTree(options?: {
11
+ maxDepth?: number;
12
+ includeProps?: boolean;
13
+ includeStyles?: boolean;
14
+ hideInternals?: boolean;
15
+ format?: 'json' | 'tonl';
16
+ }): Promise<ExecutionResult>;
17
+ /**
18
+ * Get layout styles for all components on the current screen.
19
+ * Useful for verifying layout without screenshots.
20
+ */
21
+ export declare function getScreenLayout(options?: {
22
+ maxDepth?: number;
23
+ componentsOnly?: boolean;
24
+ shortPath?: boolean;
25
+ summary?: boolean;
26
+ format?: 'json' | 'tonl';
27
+ }): Promise<ExecutionResult>;
28
+ /**
29
+ * Inspect a specific component by name, returning its props, state, and layout.
30
+ */
31
+ export declare function inspectComponent(componentName: string, options?: {
32
+ index?: number;
33
+ includeState?: boolean;
34
+ includeChildren?: boolean;
35
+ shortPath?: boolean;
36
+ simplifyHooks?: boolean;
37
+ }): Promise<ExecutionResult>;
38
+ /**
39
+ * Find all components matching a name pattern and return summary info.
40
+ */
41
+ export declare function findComponents(pattern: string, options?: {
42
+ maxResults?: number;
43
+ includeLayout?: boolean;
44
+ shortPath?: boolean;
45
+ summary?: boolean;
46
+ format?: 'json' | 'tonl';
47
+ }): Promise<ExecutionResult>;
6
48
  //# sourceMappingURL=executor.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"executor.d.ts","sourceRoot":"","sources":["../../src/core/executor.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,eAAe,EA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