import Cache from '../model/Cache'; import AsyncCache from '../model/AsyncCache'; export default class SourceDAO { cache: Cache | null; persistence: AsyncCache | null; constructor(); setPersistence(persistence: AsyncCache): void; getSource(code: string): Promise; setSource(code: any, source: any): Promise; deleteSource(code: any): Promise; }