UNPKG

wed

Version:

Wed is a schema-aware editor for XML documents.

17 lines (16 loc) 462 B
import { Modal } from "./gui/modal"; export interface ModalMaker { makeModal(): Modal; docURL: string; } export declare type ModalNames = "limitation" | "straddling" | "help" | "disconnect" | "editedByOther" | "tooOld"; /** * A collection of stock modals. */ export declare class StockModals { private readonly maker; private readonly modals; constructor(maker: ModalMaker); getModal(name: ModalNames): Modal; private make(name); }