import type { QualityIntelligencePromptSegments } from "./promptSegmentation.js";
import type { QualityIntelligenceTaskProfile } from "./taskProfiles.js";
export interface QualityIntelligenceReplayCachePort<TValue> {
    readonly get: (key: string) => TValue | undefined;
    readonly set: (key: string, value: TValue) => void;
    readonly delete: (key: string) => void;
}
export declare function deriveReplayCacheKey(profile: QualityIntelligenceTaskProfile, segments: QualityIntelligencePromptSegments, modelId: string): Promise<string>;
export declare function isCacheable(profile: QualityIntelligenceTaskProfile): boolean;
export declare function createInMemoryReplayCache<TValue>(capacity: number): QualityIntelligenceReplayCachePort<TValue>;
//# sourceMappingURL=replayCache.d.ts.map