import { Component, type FocusEvent, type MouseEvent, type ReactElement } from 'react'; import { type ClosedPanel, type DashboardPanelProps } from '@deephaven/dashboard'; import type { ReactComponentConfig } from '@deephaven/golden-layout'; import type * as monaco from 'monaco-editor'; import './MarkdownPanel.scss'; import type MarkdownEditorType from '../controls/markdown/MarkdownEditor'; interface PanelState { content?: string; } interface MarkdownPanelProps extends DashboardPanelProps { panelState: PanelState; closedPanels: ClosedPanel[]; } interface MarkdownPanelState { isStartPageShown: boolean; isEditing: boolean; content?: string | null; panelState: PanelState; } export declare class MarkdownPanel extends Component { static defaultProps: { panelState: null; }; static COMPONENT: string; constructor(props: MarkdownPanelProps); markdownEditor: MarkdownEditorType | null; editor?: monaco.editor.IStandaloneCodeEditor; setEditorPosition(clickPositionY: number): void; getClosedMarkdowns: (closedPanels: import("@deephaven/dashboard").ClosedPanels) => ClosedPanel[]; handleContainerDoubleClick(event: MouseEvent): void; handleEditorInitialized(editor: monaco.editor.IStandaloneCodeEditor): void; handleCreateMarkdown(): void; handleOpenMarkdown(markdown: ReactComponentConfig): void; handleDeleteMarkdown(markdown: ReactComponentConfig): void; handleEditorBlur(event: FocusEvent): void; handleEditorResize(): void; render(): ReactElement; } declare const ConnectedMarkdownPanel: import("react-redux").ConnectedComponent & { panelState?: PanelState | undefined; } & {}, "closedPanels"> & { localDashboardId: string; }>; export default ConnectedMarkdownPanel; //# sourceMappingURL=MarkdownPanel.d.ts.map