UNPKG

@signalwire/docusaurus-plugin-llms-txt

Version:

Generate Markdown versions of Docusaurus HTML pages and an llms.txt index file

24 lines 907 B
/** * Cache strategy management * Handles cache validation, strategy determination, and related logging */ import type { PluginOptions, Logger, CacheSchema } from '../types'; import type { CacheManager } from './cache'; /** * Cache strategy analysis result */ export interface CacheStrategyResult { readonly useCache: boolean; readonly cacheHasRoutes: boolean; readonly configMatches: boolean; readonly reason: string; } /** * Analyze cache strategy for the given context */ export declare function analyzeCacheStrategy(cacheManager: CacheManager, cache: CacheSchema, config: PluginOptions, isCliContext: boolean, logger: Logger, currentRouteCount?: number): CacheStrategyResult; /** * Validate CLI context requirements */ export declare function validateCliContext(cacheHasRoutes: boolean, configMatches: boolean, logger: Logger): void; //# sourceMappingURL=cache-strategy.d.ts.map