import { getIntelligentPrefetchEngine, IntelligentPrefetchConfig } from './intelligent-prefetch'; import { getPrefetchQueue, PrefetchQueueConfig } from './prefetch-queue'; import { getRoutePrefetchManager, RoutePrefetchConfig } from './route-prefetch'; import { getDataPrefetchManager, DataPrefetchConfig } from './data-prefetch'; import { getAssetPrefetchManager, AssetPrefetchConfig } from './asset-prefetch'; /** * @file Prefetch Module * @description Intelligent prefetching utilities for routes, data, and assets. * * Provides ML-like prediction, multiple prefetch strategies, and priority-based * queue management for optimal resource loading. */ export { IntelligentPrefetchEngine, getIntelligentPrefetchEngine, resetIntelligentPrefetchEngine, type NavigationEvent, type PrefetchCandidate, type PredictionResult, type PredictionFactor, type BehaviorMetrics, type IntelligentPrefetchConfig, } from './intelligent-prefetch'; export { PrefetchStrategy, ViewportPrefetchStrategy, HoverPrefetchStrategy, IdlePrefetchStrategy, SequentialPrefetchStrategy, ConditionalPrefetchStrategy, StrategyComposer, createViewportStrategy, createHoverStrategy, createIdleStrategy, createSequentialStrategy, createConditionalStrategy, type PrefetchStrategyType, type PrefetchTarget, type StrategyContext, type StrategyResult, type BaseStrategyConfig, type ViewportStrategyConfig, type HoverStrategyConfig, type IdleStrategyConfig, type SequentialStrategyConfig, type ConditionalStrategyConfig, } from './prefetch-strategies'; export { PrefetchQueue, getPrefetchQueue, resetPrefetchQueue, type PrefetchPriority, type PrefetchStatus, type PrefetchItem, type PrefetchQueueConfig, type QueueStats, type QueueEventType, type QueueEventListener, } from './prefetch-queue'; export { RoutePrefetchManager, getRoutePrefetchManager, resetRoutePrefetchManager, prefetchRoute, registerPrefetchRoutes, createRouteLinkHandlers, type PrefetchableRoute, type RoutePrefetchConfig, type RoutePrefetchResult, type LinkPrefetchHandlers, } from './route-prefetch'; export { DataPrefetchManager, getDataPrefetchManager, resetDataPrefetchManager, prefetchData, prefetchGraphQL, getCachedData, invalidateData, invalidateDataByTag, type DataPrefetchConfig, type PrefetchRequestOptions, type PrefetchResult, type GraphQLPrefetchOptions, } from './data-prefetch'; export { AssetPrefetchManager, getAssetPrefetchManager, resetAssetPrefetchManager, prefetchImage, prefetchImages, prefetchFont, dnsPrefetch, preconnect, preloadAsset, type AssetType, type Asset, type ResponsiveImage, type FontAsset, type AssetPrefetchConfig, type AssetPrefetchResult, } from './asset-prefetch'; /** * Unified prefetch configuration */ export interface PrefetchSystemConfig { /** Enable the prefetch system */ enabled?: boolean; /** Intelligent prefetch configuration */ intelligent?: Partial; /** Queue configuration */ queue?: Partial; /** Route prefetch configuration */ routes?: Partial; /** Data prefetch configuration */ data?: Partial; /** Asset prefetch configuration */ assets?: Partial; } /** * Prefetch system instance references */ export interface PrefetchSystem { engine: ReturnType; queue: ReturnType; routes: ReturnType; data: ReturnType; assets: ReturnType; } /** * Initialize the prefetch system */ export declare function initPrefetchSystem(config?: PrefetchSystemConfig): PrefetchSystem;