UNPKG

697 BTypeScriptView Raw
1import { CodeEditorWrapper } from '@jupyterlab/codeeditor';
2import { CodeCellModel } from './model';
3import { Cell } from './widget';
4/**
5 * The default notebook content.
6 */
7export declare namespace NBTestUtils {
8 const editorFactory: any;
9 const mimeTypeService: import("@jupyterlab/codeeditor").IEditorMimeTypeService;
10 /**
11 * Create a base cell content factory.
12 */
13 function createBaseCellFactory(): Cell.IContentFactory;
14 /**
15 * Create a new code cell content factory.
16 */
17 function createCodeCellFactory(): Cell.IContentFactory;
18 /**
19 * Create a cell editor widget.
20 */
21 function createCellEditor(model?: CodeCellModel): CodeEditorWrapper;
22}