import type { Fiber } from 'react-reconciler'; import type { InteractionNode } from '@heap/heap-javascript-bridge-support'; import { CaptureSettings } from '../core'; import { HeapIgnoreProps } from './HeapIgnoreProps'; import { ComponentHierarchyTraversalElement, PropExtractorConfig, VirtualDOMComponent } from './types'; export declare const getFiber: (node: VirtualDOMComponent | undefined, settings: CaptureSettings) => Fiber | null; export declare const traverseAllElementsInAncestry: (bottomNode: Fiber | null, heapIgnorePropsFromSettings: Required, config: PropExtractorConfig) => ComponentHierarchyTraversalElement[]; /** * Traverses the component hierarchy of a given Fiber node and returns an array of ComponentHierarchyTraversalElement objects. * @param currentNode The current Fiber node to start the traversal from. * @param config The property extractor config to use. * @param settings The capture settings to use. * @returns An array of ComponentHierarchyTraversalElement objects representing the component hierarchy traversal. */ export declare const buildInteractionNodeAncestryInternal: (currentNode: Fiber | null, config: PropExtractorConfig, settings: CaptureSettings) => Array;