preact-reconciler
Version:
Custom renderers for Preact in <1KB.
16 lines (15 loc) • 921 B
TypeScript
type Fiber = any;
type SuspenseInstance = any;
type Container = any;
type ReactComponent = any;
export declare const getNearestMountedFiber: (_fiber: Fiber) => Fiber | null;
export declare const getSuspenseInstanceFromFiber: (_fiber: Fiber) => SuspenseInstance | null;
export declare const getContainerFromFiber: (_fiber: Fiber) => Container | null;
export declare const isFiberMounted: (_fiber: Fiber) => boolean;
export declare const isMounted: (_component: ReactComponent) => boolean;
export declare const findCurrentFiberUsingSlowPath: (_fiber: Fiber) => Fiber | null;
export declare const findCurrentHostFiber: (_parent: Fiber) => Fiber | null;
export declare const findCurrentHostFiberWithNoPortals: (_parent: Fiber) => Fiber | null;
export declare const isFiberSuspenseAndTimedOut: (_fiber: Fiber) => boolean;
export declare const doesFiberContain: (_parentFiber: Fiber, _childFiber: Fiber) => boolean;
export {};