import { RedaksjonEntity as Entity, RedaksjonEntityType as EntityType } from '../types'; export interface StorageInstance { load(contextDirs: string[]): Promise; save(entity: Entity, targetDir: string): Promise; delete(type: EntityType, id: string, targetDir: string): Promise; get(type: EntityType, id: string): T | undefined; getAll(type: EntityType): T[]; search(query: string): Entity[]; findBySoundsLike(phonetic: string): Entity | undefined; clear(): void; getEntityFilePath(type: EntityType, id: string, contextDirs: string[]): string | undefined; } export declare const create: () => StorageInstance; //# sourceMappingURL=storage.d.ts.map