import type { UrlPatternOptions } from "@stackflow/plugin-history-sync"; import type { ActivityComponentType } from "@stackflow/react"; export type PreloadFunc = >(activityName: K, activityParams: T[K] extends ActivityComponentType ? U : {}, options?: { activityContext?: {}; }) => any; export type UsePreloaderOptions = { urlPatternOptions?: UrlPatternOptions; }; export declare function usePreloader(usePreloaderOptions?: UsePreloaderOptions): { preload: PreloadFunc; }; //# sourceMappingURL=usePreloader.d.ts.map