import { ImmutableOutput } from "./outputs"; import { ExecutionCount, MimeBundle } from "./primitives"; import { List as ImmutableList, Map as ImmutableMap, Record, RecordOf } from "immutable"; export interface CodeCellParams { cell_type: "code"; id?: string; metadata: ImmutableMap; execution_count: ExecutionCount; source: string; outputs: ImmutableList; } export declare const makeCodeCell: Record.Factory; export declare type ImmutableCodeCell = RecordOf; export interface MarkdownCellParams { attachments?: ImmutableMap>; cell_type: "markdown"; id?: string; source: string; metadata: ImmutableMap; } export declare const makeMarkdownCell: Record.Factory; export declare type ImmutableMarkdownCell = RecordOf; export interface RawCellParams { id?: string; cell_type: "raw"; source: string; metadata: ImmutableMap; } export declare const makeRawCell: Record.Factory; export declare type ImmutableRawCell = RecordOf; export declare type ImmutableCell = ImmutableMarkdownCell | ImmutableCodeCell | ImmutableRawCell; export declare type CellType = "raw" | "markdown" | "code";