declare module monaco.worker { export interface IMirrorModel { uri: Uri; version: number; getText(): string; } export var mirrorModels: IMirrorModel[]; } declare module monaco.languages { #includeAll(vs/editor/browser/standalone/standaloneLanguages;modes.=>;editorCommon.=>editor.): #include(vs/editor/common/modes/supports/richEditSupport): CommentRule, IRichLanguageConfiguration #include(vs/editor/common/modes/supports/onEnter): IIndentationRules, IOnEnterRegExpRules #include(vs/editor/common/modes/supports/electricCharacter): IBracketElectricCharacterContribution, IDocComment #includeAll(vs/editor/common/modes;editorCommon.IRange=>IRange;editorCommon.IPosition=>IPosition;editorCommon.=>editor.;IToken2=>IToken;ILineTokens2=>ILineTokens;IState2=>IState): #include(vs/editor/common/services/modeService): ILanguageExtensionPoint } declare module monaco.editor { #includeAll(vs/editor/browser/standalone/standaloneEditor;modes.=>languages.): #include(vs/editor/browser/standalone/standaloneCodeEditor): IEditorConstructionOptions, IDiffEditorConstructionOptions #include(vs/editor/browser/standalone/standaloneServices): IEditorOverrideServices #include(vs/platform/markers/common/markers): IMarkerData export interface IColorizerOptions { tabSize?: number; } export interface IColorizerElementOptions extends IColorizerOptions { theme?: string; mimeType?: string; } } declare module monaco { interface Thenable { /** * Attaches callbacks for the resolution and/or rejection of the Promise. * @param onfulfilled The callback to execute when the Promise is resolved. * @param onrejected The callback to execute when the Promise is rejected. * @returns A Promise for the completion of which ever callback is executed. */ then(onfulfilled?: (value: R) => TResult | Thenable, onrejected?: (reason: any) => TResult | Thenable): Thenable; then(onfulfilled?: (value: R) => TResult | Thenable, onrejected?: (reason: any) => void): Thenable; } export interface IDisposable { dispose(): void; } export interface IEvent { (listener: (e: T) => any, thisArg?: any): IDisposable; } export class Emitter { constructor(); event: Event; fire(event?: T): void; dispose(): void; } export enum Severity { Ignore = 0, Info = 1, Warning = 2, Error = 3, } #include(vs/base/common/winjs.base.d.ts): TValueCallback, ProgressCallback, TPromise #include(vs/base/common/cancellation): CancellationTokenSource, CancellationToken #include(vs/base/common/uri): URI #include(vs/base/common/eventEmitter): EmitterEvent, BulkListenerCallback #include(vs/base/common/keyCodes): KeyCode, KeyMod #include(vs/base/common/htmlContent): IHTMLContentElementCode, IHTMLContentElement #include(vs/base/common/actions): IAction #include(vs/base/browser/keyboardEvent): IKeyboardEvent #include(vs/base/browser/mouseEvent): IMouseEvent #include(vs/editor/common/editorCommon): IScrollEvent #include(vs/editor/common/editorCommon): IPosition, IRange, SelectionDirection, ISelection #include(vs/editor/common/core/position): Position #include(vs/editor/common/core/range): Range #include(vs/editor/common/core/selection): Selection } declare module monaco.editor { #include(vs/editor/common/modes/monarch/monarchTypes): ILanguage, ILanguageBracket #include(vs/base/browser/ui/scrollbar/scrollableElementOptions): ScrollbarVisibility #includeAll(vs/editor/common/editorCommon;IMode=>languages.IMode): IPosition, IRange, ISelection, SelectionDirection, IScrollEvent #includeAll(vs/editor/browser/editorBrowser;editorCommon.=>): }