export interface BuildWorkbenchOptions { globalRoot?: string; sourceRoot?: string; compile?(outputRoot: string, sourceRoot: string): Promise; validate?(runtimeRoot: string): Promise; installLauncher?(launcher: string, entry: string): Promise; } export interface BuildWorkbenchResult { globalRoot: string; cacheRoot: string; current: string; launcher: string; } export function buildWorkbench(options?: BuildWorkbenchOptions): Promise;