/** * Custom hook to preload all pages for a product. * This eliminates sequential server calls when navigating to /page/ * by fetching all page metadata in a single API call on mount. * After fetching metadata, it preloads the actual widget modules in the background. * * @param {Function} getWidget - Function to load widget modules * @returns {Object} - { pages, loading, error, refetch, preloadingWidgets } */ export declare const usePreloadPages: () => Object; //# sourceMappingURL=usePreloadPages.d.ts.map