import React from "react"; import { AppState, ContentRef } from "@nteract/core"; import { EditorSlots } from "../inputs/editor"; import { ImmutableCell } from "@nteract/commutable/src"; import { ReactMarkdownProps } from "react-markdown"; interface NamedMDCellSlots { editor?: EditorSlots; toolbar?: () => JSX.Element; } interface ComponentProps { id: string; contentRef: ContentRef; cell_type?: "markdown"; children?: NamedMDCellSlots; } interface StateProps { isCellFocused: boolean; isEditorFocused: boolean; cell?: ImmutableCell; markdownOptions: ReactMarkdownProps; } interface DispatchProps { focusAboveCell: () => void; focusBelowCell: () => void; focusEditor: () => void; unfocusEditor: () => void; } export declare class PureMarkdownCell extends React.Component { render(): JSX.Element; } export declare const makeMapStateToProps: (initialState: AppState, ownProps: ComponentProps) => (state: AppState) => StateProps; declare const MarkdownCell: import("react-redux").ConnectedComponent & ComponentProps>; export default MarkdownCell;