import { Context } from '..'; import { Author } from '../types/author'; import { Post } from '../types/post'; import { Profile } from '../types/profile'; import { Recommendation } from '../types/recommendation'; import { Store, StoreListRequest, StoreListResponse, StoreObject } from '../types/store'; import { Tag } from '../types/tag'; export declare class RamStore implements Store { protected posts: Post[]; protected tags: Tag[]; protected authors: Author[]; protected profiles: Profile[]; protected recommendations: Recommendation[]; protected related: Post[]; protected pins: string[]; constructor(); prepare(_: (o: StoreObject) => string): Promise; destroy(): void; update(_: Context): Promise; protected fetchObject(slugId: string, type?: string): Promise; protected fetchRelated(_ids: string[], _relays: string[]): Promise; get(slugId: string, type?: string, sync?: boolean): Promise; getUrl(id: string, type?: string): string | undefined; private getSync; list(req: StoreListRequest): Promise; isValidType(type: string): boolean; }