import { Command } from 'commander' declare global { namespace Build { interface Plugin { name: string posBuild?: (config: Build.CompilerConfigs, outDir: string) => Promise cliCreate?: (program: Command) => Promise } interface Config { env?: PlataEnv copyFolderToRoot?: string[] mapFiles?: boolean otimizar?: boolean plugins?: Plugin[] dropLabels?: string[] } interface CompilerConfigs extends Config { basePath: string packageJsonSetup: boolean } } }