import type FAttachment from "../entities/fattachment.js"; import type FAttribute from "../entities/fattribute.js"; import type FBlob from "../entities/fblob.js"; import type FBranch from "../entities/fbranch.js"; import type FNote from "../entities/fnote.js"; export interface Froca { notes: Record; branches: Record; attributes: Record; attachments: Record; blobPromises: Record | null>; getBlob(entityType: string, entityId: string): Promise; getNote(noteId: string, silentNotFoundError?: boolean): Promise; getNoteFromCache(noteId: string): FNote; getNotesFromCache(noteIds: string[], silentNotFoundError?: boolean): FNote[]; getNotes(noteIds: string[], silentNotFoundError?: boolean): Promise; getBranch(branchId: string, silentNotFoundError?: boolean): FBranch | undefined; getBranches(branchIds: string[], silentNotFoundError?: boolean): FBranch[]; getAttachmentsForNote(noteId: string): Promise; }