kui-shell
Version:
This is the monorepo for Kui, the hybrid command-line/GUI electron-based Kubernetes tool
19 lines (18 loc) • 736 B
TypeScript
import { PrescanModel } from './prescan';
import { KuiPlugin } from '../models/plugin';
declare type Filter = (path: string) => boolean;
export declare const scanForModules: (dir: string, quiet?: boolean, filter?: Filter) => Promise<{
plugins: Record<string, string>;
preloads: Record<string, string>;
} | {
plugins?: undefined;
preloads?: undefined;
}>;
export declare const generatePrescanModel: (registrar: Record<string, KuiPlugin>, opts: PrescanOptions) => Promise<PrescanModel>;
interface PrescanOptions {
assembly?: boolean;
pluginRoot?: string;
externalOnly?: boolean;
}
export declare const assemble: (registrar: Record<string, KuiPlugin>, opts: PrescanOptions) => Promise<PrescanModel>;
export {};