kui-shell
Version:
This is the monorepo for Kui, the hybrid command-line/GUI electron-based Kubernetes tool
20 lines (19 loc) • 523 B
TypeScript
interface StylesheetDirect {
css: string;
key: string;
}
interface StylesheetFile {
path: string;
key: string;
}
declare type StylesheetSpec = StylesheetDirect | StylesheetFile | string;
export declare const injectCSS: (file: StylesheetSpec) => void;
export declare const uninjectCSS: ({ key }: {
key: string;
}) => void;
export declare const injectScript: (url: string | {
key: string;
src: string;
}) => Promise<void>;
export declare const loadHTML: (file: any) => Promise<string>;
export {};