@kui-shell/core
Version:
An Electron-based shell for cloud-native development
22 lines (21 loc) • 1.34 kB
TypeScript
export { isPopup } from '../webapp/popup-core';
/** Is the current client running in offline/disconnected mode? */
export declare function isOfflineClient(): boolean;
export declare function isOffline(): boolean;
/** Is the current client running in readonly mode? */
export declare function isReadOnlyClient(): boolean;
export declare function isReadOnly(): boolean;
/** Is the current client running in an executable mode? */
export declare function isExecutableClient(): boolean;
export declare function isExecutable(): boolean;
export declare function hideReplayOutput(): boolean;
/** @return the model specified by `@kui-shell/client/config.d/notebooks.json` */
export declare function guidebooksMenu(): (import("../main/load").NotebookDefinitionMenuItem | import("../main/load").SeparatorMenuItem | import("../main/load").NotebooksMenu)[];
/** @return first guidebook from Client.guidebooksMenu() with an `open` property */
export declare function firstOpenGuidebook(): string;
/** @return a list of guidebook filepaths that `@kui-shell/client` offers */
export declare function clientGuidebooks(): string[];
/** @return whether to show the Sidebar onload */
export declare function showGuidebooksSidebar(): boolean;
/** @return whether to present guidebooks one-at-a-time */
export declare function singletonGuidebooks(): boolean;