import { type NotebookDocument } from "../edit/notebook"; import type { RlmCellResult } from "./types"; export declare class RlmNotebookWriter { #private; constructor(notebookPath: string, initial?: NotebookDocument); get document(): NotebookDocument; get cellCount(): number; appendMarkdown(source: string): Promise; appendCode(code: string, result: RlmCellResult): Promise; /** Resolve once all queued writes have flushed. */ flush(): Promise; }