import type { ComponentType, LegacyRef } from 'react'; export declare enum Tag { FunctionComponent = 0, ClassComponent = 1, IndeterminateComponent = 2, HostRoot = 3, HostPortal = 4, HostComponent = 5, HostText = 6, Fragment = 7, Mode = 8, ContextConsumer = 9, ContextProvider = 10, ForwardRef = 11, Profiler = 12, SuspenseComponent = 13, MemoComponent = 14, SimpleMemoComponent = 15, LazyComponent = 16, IncompleteClassComponent = 17, DehydratedSuspenseComponent = 18 } export interface Fiber { tag: Tag; key: null | string; elementType: ComponentType | string | null; type: ComponentType | string | null; stateNode: any; return: Fiber | null; child: Fiber | null; sibling: Fiber | null; index: number; ref: LegacyRef; pendingProps: unknown; memoizedProps: unknown; memoizedState: unknown; } export interface ReactInstance { _reactInternalFiber: Fiber; } export declare function findCurrentFiberUsingSlowPath(fiber: any): Fiber | null; //# sourceMappingURL=react.d.ts.map