UNPKG

@hpcc-js/observablehq-compiler

Version:
12 lines (11 loc) 674 B
import { type Notebook, type Cell } from "@observablehq/notebook-kit"; import { type Definition } from "@observablehq/notebook-kit/runtime"; export { Notebook, Cell }; export interface CompileCellOptions { inline?: boolean; resolveLocalImports?: boolean; includePinned?: boolean; } export declare function compileCell(cell: Cell, { inline, resolveLocalImports, includePinned }?: CompileCellOptions): Definition[]; export declare function compileNotebook(notebook: Notebook, { inline, resolveLocalImports, includePinned }?: CompileCellOptions): Definition[]; export declare function resetCellIDs(notebook: Notebook, start?: number, increment?: number): Notebook;