export type AgentNativeRouteWarmupStrategy = "off" | "marked" | "intent" | "render" | "viewport"; export interface AgentNativeRouteWarmupResolvedConfig { /** * How unmarked internal route links are warmed. * * Links can opt in/out individually with `data-an-prefetch`: * - `render`: warm as soon as the link renders. * - `intent`: warm on hover/focus/touch. * - `viewport`: warm when the link scrolls into view. * - `none`: never warm this link. */ strategy: AgentNativeRouteWarmupStrategy; /** Warm React Router `.data` URLs with ordinary fetches. */ data: boolean; /** Warm matched route JS chunks with `modulepreload`. */ modules: boolean; /** Selector for links explicitly marked for render-time warmup. */ selector: string; /** Maximum concurrent `.data` fetches. */ maxConcurrent: number; } export type AgentNativeRouteWarmupConfigInput = boolean | AgentNativeRouteWarmupStrategy | Partial; export declare const DEFAULT_AGENT_NATIVE_ROUTE_WARMUP_SELECTOR = "a[data-an-prefetch=\"render\"][href]"; export declare const DEFAULT_AGENT_NATIVE_ROUTE_WARMUP_CONFIG: AgentNativeRouteWarmupResolvedConfig; export declare function isAgentNativeRouteWarmupStrategy(value: unknown): value is AgentNativeRouteWarmupStrategy; export declare function normalizeAgentNativeRouteWarmupConfig(input?: AgentNativeRouteWarmupConfigInput | undefined): AgentNativeRouteWarmupResolvedConfig; export declare function mergeAgentNativeRouteWarmupConfig(baseInput: AgentNativeRouteWarmupConfigInput | undefined, overrideInput: AgentNativeRouteWarmupConfigInput | undefined): AgentNativeRouteWarmupResolvedConfig; //# sourceMappingURL=route-warmup-config.d.ts.map