import * as React from 'react'; import { FunctionComponent } from 'react'; import { EditorOptions, WritingMode } from '../components/editor/Editor'; import { StandaloneCodeEditor, RenderingContext, Selection, IPosition } from '../vs'; export declare const enum Position { LEFT = 0, RIGHT = 1, BOTTOM = 2 } export declare enum ProductName { ElectricTypewriter = "Electric Typewriter", QBasic = "QBasic", PocketScheme = "Pocket Scheme", Monaka = "Monaka" } export declare type AppState = { status: { line: number; column: number; }; }; export declare type SideBarState = { hidden: boolean; position: Position; width: number; }; export declare type WidthKey = 'width' | 'height'; export declare type HeightKey = 'width' | 'height'; export declare type TopKey = 'top' | 'right'; export declare type LeftKey = 'left' | 'top'; export declare const EditorViewContext: React.Context<{ editor: StandaloneCodeEditor; writingMode: WritingMode; renderingContext: RenderingContext | undefined; selection: Selection | undefined; selectionStart: IPosition | undefined; setSelectionStart: (selectionStart: IPosition | undefined) => void; leftToRightHorizontalWriting: boolean; rightToLeftVerticalWriting: boolean; wordWrap: string; scrollLeft: number; widthKey: WidthKey; heightKey: WidthKey; topKey: TopKey; leftKey: LeftKey; }>; declare type Props = { editor: StandaloneCodeEditor; options?: EditorOptions; }; export declare const EditorViewProvider: FunctionComponent; export {};