import * as esbuild from 'esbuild'; /** * Builds pure TS packages with esbuild. * * Platforms can be node | browser. For shared builds use browser * * The `entries` parameter is either a subset of entry points to build, or `'auto'` * to find all index.ts files in the project. * * @scalar/build-tooling type building should be run after to generate types and handle path aliases * * If post-build actions are needed (such as copying files), use the `onSuccess` callback. */ export declare function build({ platform, sourcemap, entries, bundle, shimRequire, options, onSuccess, allowCss, allowJs, }: { platform?: 'node' | 'browser' | 'shared'; sourcemap?: boolean; entries: string[] | 'auto'; bundle?: boolean; shimRequire?: boolean; allowCss?: boolean; allowJs?: boolean; options?: esbuild.BuildOptions; /** * Handler that runs after the build is complete * Used for post-build actions (ex. copying css files) */ onSuccess?: () => Promise | void; onBeforeBuild?: () => Promise | void; }): Promise; //# sourceMappingURL=build.d.ts.map