@kui-shell/plugin-core-support
Version:
Kui plugin offering core extensions such as help and screenshot commands
10 lines (9 loc) • 678 B
TypeScript
import { Common } from '@kui-shell/test';
export declare function lastOutput(inNotebook: boolean): string;
export declare function startEditing(ctx: Common.ISuite): void;
/** focus the monaco editor component */
export declare function focus(ctx: Common.ISuite, inNotebook: boolean): Promise<void>;
/** set the monaco editor text */
export declare function type(ctx: Common.ISuite, text: string, inNotebook: boolean): Promise<void>;
export declare function verifyTextInMonaco(ctx: Common.ISuite, expectedText: string, inNotebook: boolean): Promise<true | void>;
export declare function typeAndVerify(ctx: Common.ISuite, text: string, expect: string, inNotebook: boolean): void;