import { FC } from 'react';
import { editor as MonacoEditor } from 'monaco-editor';
export type TEditor = MonacoEditor.IStandaloneCodeEditor | null;
type CodeEditorContextType = {
    editor: TEditor;
    setEditor: (editor: MonacoEditor.IStandaloneCodeEditor) => void;
};
export declare const CodeEditorProvider: FC;
export declare function useCodeEditor(): CodeEditorContextType;
export {};
