@kui-shell/core
Version:
An Electron-based shell for cloud-native development
15 lines (14 loc) • 633 B
TypeScript
import { Writable } from 'stream';
import colors from 'colors/safe';
import { Entity } from '../models/entity';
/** @return whether the state has changed as a result of this call */
export declare const setGraphicalShellIsOpen: (isPopup: boolean) => boolean;
/**
* Pretty print routine that dispatches to the underlying smarter
* pretty printers (such as prettyDom and prettyjson)
*
*/
export declare const print: (msg: Entity | Promise<Entity>, logger?: {
(...data: any[]): void;
(message?: any, ...optionalParams: any[]): void;
}, stream?: Writable, colorFn?: typeof colors.reset, ok?: string) => void | Promise<void>;