UNPKG

@braindb/core

Version:

markdown-graph-content-layer-database

8 lines (7 loc) 368 B
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<void>; export declare function getFrontmatter(ast: Node): JsonObject;