import React from "react"; import { ContentRef } from "@nteract/core"; import { CellType, ExecutionCount } from "@nteract/commutable"; export interface ComponentProps { id: string; contentRef: ContentRef; children: React.ReactNode; } export interface StateProps { type?: CellType; executionCount?: ExecutionCount; } export interface DispatchProps { executeCell: () => void; deleteCell: () => void; clearOutputs: () => void; toggleParameterCell: () => void; toggleCellInputVisibility: () => void; toggleCellOutputVisibility: () => void; toggleOutputExpansion: () => void; changeToMarkdownCell: () => void; changeToCodeCell: () => void; changeCellType: (to: CellType) => void; selectCell: () => void; focusEditor: () => void; focusAboveCell: () => void; focusBelowCell: () => void; unfocusEditor: () => void; markCellAsDeleting: () => void; insertCodeCellBelow: () => void; insertCodeCellAbove: () => void; } export declare const CellToolbarContext: React.Context<{}>; export declare type CellToolbarProps = DispatchProps & StateProps; declare class CellToolbar extends React.Component { render(): JSX.Element; } declare const _default: import("react-redux").ConnectedComponent & ComponentProps>; export default _default;