import React from 'react'; export type LazyMode = 'virtual' | 'visibility' | 'hybrid'; export interface UseLazyComponentProps { mode?: LazyMode; threshold?: number; rootMargin?: string; onVisible?: () => void; onHidden?: () => void; } export interface UseLazyComponentReturn { isVisible: boolean; isInView: boolean; ref: React.RefObject; shouldRender: boolean; shouldMount: boolean; } /** * Hook for lazy component rendering with multiple modes * * Modes: * - virtual: Traditional virtual scrolling (render all, show visible) * - visibility: Intersection Observer (mount only when visible) * - hybrid: Combine both (best performance) */ export declare function useLazyComponent(props?: UseLazyComponentProps): UseLazyComponentReturn; /** * HOC for lazy rendering components * * Usage: * const LazyCard = withLazyRender(Card); * * */ export declare function withLazyRender

(WrappedComponent: React.ComponentType

): (props: P) => React.JSX.Element; export default useLazyComponent; //# sourceMappingURL=useLazyComponent.d.ts.map