import { Context } from "koishi"; export interface MemoryBlockData { title: string; label: string; description: string; content: string; } export declare class MemoryBlock { private _metadata; private _content; private lastModifiedInMemory; private _filePath; private watcher?; private debounceTimer?; private lastModifiedFileMs; private readonly logger; private constructor(); get title(): string; get label(): string; get description(): string; get content(): string; get lastModified(): Date; get currentSize(): number; get filePath(): string; dispose(): void; toData(): MemoryBlockData; private reloadFromFile; startWatching(): Promise; private stopWatching; static createFromFile(ctx: Context, filePath: string): Promise; private static loadDataFromFile; }