import type { Tab, PreloadRegistrar } from '@kui-shell/core'; import { Channel } from './channel'; /** * Return the cached websocket for the given tab * */ export declare function getChannelForTab(tab: Tab): Promise; /** * Keep trying until we can establish a session * */ export declare function pollUntilOnline(tab: Tab): Promise; /** Connection to Kui proxy has been severed */ export declare function invalidateSession(tab: Tab): Promise; /** * Initialize per-tab websocket session management * */ export declare function init(registrar: PreloadRegistrar): Promise;