starboard-notebook
Version:
Starboard Notebook
19 lines (18 loc) • 633 B
TypeScript
import { BaseCellHandler } from "./base";
import { Cell, CellHandlerAttachParameters, Runtime } from "../types";
export declare const DEFAULT_CELL_TYPE_DEFINITION: {
name: string;
cellType: string;
createHandler: (c: Cell, r: Runtime) => DefaultCellHandler;
};
/**
* The cell handler that gets used when there is an unknown cell type
*/
export declare class DefaultCellHandler extends BaseCellHandler {
private editor;
constructor(cell: Cell, runtime: Runtime);
attach(params: CellHandlerAttachParameters): void;
focusEditor(opts: {
position?: "start" | "end";
}): void;
}