import { BuildOptions } from 'esbuild' ; interface InputBuildOptions extends BuildOptions { entryPoints : string [ ] ; } type DefineBuild = ( base : string , options : InputBuildOptions ) => void | Promise < void > | BuildOptions [ ] | Promise < BuildOptions [ ] > ; export const defineBuild = ( callback ) => callback ;