/**
 * Cache-based route filtering
 * Unified filtering logic for both build and CLI contexts
 */
import type { CachedRouteInfo, PluginOptions, Logger } from '../types';
/**
 * Filter cached routes based on current plugin configuration
 * This provides unified filtering logic for both build and CLI contexts
 */
export declare function filterCachedRoutesForConfig(cachedRoutes: readonly CachedRouteInfo[], config: PluginOptions, logger?: Logger): CachedRouteInfo[];
/**
 * Check if cache-based filtering would produce different results than current cache
 * This helps determine if the CLI needs to warn about config changes
 */
export declare function wouldFilteringChangeCachedRoutes(cachedRoutes: readonly CachedRouteInfo[], config: PluginOptions): {
    wouldChange: boolean;
    currentCount: number;
    filteredCount: number;
    changeReason?: string;
};
//# sourceMappingURL=cache-filter.d.ts.map