import { Editor, InputBox, WebView } from "../.."; /** * Page object for custom editors */ export declare class CustomEditor extends Editor { /** * Get the WebView object contained in the editor * @returns WebView page object */ getWebView(): WebView; /** * Check if the editor has unsaved changes * @returns Promise resolving to true if there are unsaved changes, false otherwise */ isDirty(): Promise; /** * Save the editor */ save(): Promise; /** * Open the Save as prompt * * @returns InputBox serving as a simple file dialog */ saveAs(): Promise; }