import type { Node } from "unist"; import { JsonObject } from "./types.js"; import { Db } from "./db.js"; import { BrainDBOptionsIn } from "./index.js"; export declare const emptyAst: {}; export declare function addDocument(db: Db, idPath: string, cfg: BrainDBOptionsIn, revision: number): Promise; export declare function getFrontmatter(ast: Node): JsonObject;