// Copyright (c) Jupyter Development Team. // Distributed under the terms of the Modified BSD License. /// declare module "jupyter-js-widgets" { import * as services from 'jupyter-js-services'; export class ManagerBase { display_view(msg: services.IKernelMessage, view: Backbone.View, options: any): T; handle_comm_open(comm: shims.services.Comm, msg: services.IKernelIOPubCommOpenMessage): Promise; display_model(msg: services.IKernelMessage, model: Backbone.Model, options: any): Promise; get_model(id: string): Promise; validateVersion(): Promise; comm_target_name: string; } export namespace shims { export namespace services { export class Comm { constructor(comm: any); } } } }