import React from 'react'; import * as monacoEditor from 'monaco-editor'; declare type Props = { active: boolean; source: string; onChange?: (source: string) => void; language: 'javascript' | 'css' | 'html'; }; export declare const useMonacoEditor: (props: Props) => { editor: monacoEditor.editor.IStandaloneCodeEditor | null; editorJsx: JSX.Element | null; resetValue: () => void; setValue: React.Dispatch>; getValue: () => string; }; export {};