import type { SkillSource } from '../../storage/skill-registry-storage.js';
import type { SkillCacheFileEntry } from '../../types/marketplace-fetcher.js';
export declare const DEFAULT_CACHE_TTL_MS: number;
export declare const FETCHED_HEADER_PREFIX = "<!-- fetched:";
/**
 * Read from .planu/skill-cache/{source}/{skillName}.md.
 * Returns null if the file is missing or older than maxAgeMs.
 */
export declare function readCache(projectPath: string, source: SkillSource, skillName: string, maxAgeMs?: number): Promise<SkillCacheFileEntry | null>;
/**
 * Write raw content to .planu/skill-cache/{source}/{skillName}.md.
 * Prepends a <!-- fetched: ISO_TIMESTAMP --> header comment.
 */
export declare function writeCache(projectPath: string, source: SkillSource, skillName: string, content: string): Promise<void>;
//# sourceMappingURL=cache.d.ts.map