import type { ISessionContext } from '@jupyterlab/apputils'; import { DataConnector } from '@jupyterlab/statedb'; import type { InspectionHandler } from './handler'; /** * The default connector for making inspection requests from the Jupyter API. */ export declare class KernelConnector extends DataConnector { /** * Create a new kernel connector for inspection requests. * * @param options - The instantiation options for the kernel connector. */ constructor(options: KernelConnector.IOptions); /** * Fetch inspection requests. * * @param request - The inspection request text and details. */ fetch(request: InspectionHandler.IRequest): Promise; private _sessionContext; } /** * A namespace for kernel connector statics. */ export declare namespace KernelConnector { /** * The instantiation options for an inspection handler. */ interface IOptions { /** * The session context used to make API requests to the kernel. */ sessionContext: ISessionContext; } }