import type { Tab } from '@kui-shell/core'; import type { Channel } from './channel'; /** Has the electron app already begun to terminate? */ export declare function isExiting(): boolean; export declare function invalidateCache(tab: Tab): void; /** * Return the session for the given tab * */ export declare function getSessionForTab(tab: Tab): Promise; /** * Set it * */ export declare function setChannelForTab(tab: Tab, channel: Promise): Promise;