import { Voice } from '../types/index.js';
export interface CacheKey {
    text: string;
    voice?: Voice;
}
export declare class NarrationCacheService {
    private cacheDir;
    constructor(cacheDir?: string);
    ensureCacheDir(): Promise<void>;
    generateCacheKey(key: CacheKey): string;
    getCachePath(key: CacheKey): string;
    exists(key: CacheKey): Promise<boolean>;
    get(key: CacheKey): Promise<string | null>;
    set(key: CacheKey, audioPath: string): Promise<string>;
    clear(): Promise<void>;
    getCacheStats(): Promise<{
        count: number;
        size: number;
    }>;
}
export declare const narrationCacheService: NarrationCacheService;
//# sourceMappingURL=narration-cache.d.ts.map