import type { BuildOptions, Loader } from "esbuild"; import type { BundlerEntryRecord, BundlerOptions, NormalizedBundlerI18nOptions, NormalizedBundlerLogger } from "../types.d.ts"; import { normalizeManifestOptions } from "./discovery.js"; import type { NormalizedBundlerOutputLayoutOptions } from "./output-layout.js"; import type { NormalizedBundlerPrecompressOptions } from "./precompression.js"; type NormalizedBundlerOptions = { annotateSources: boolean; clean: boolean; define?: Record; environment?: BundlerOptions["environment"]; entryRecords?: BundlerEntryRecord[]; external?: string[]; format?: BundlerOptions["format"]; i18n: NormalizedBundlerI18nOptions; loader: Record; logger?: BundlerOptions["logger"]; loggerAdapter?: BundlerOptions["loggerAdapter"]; manifest: ReturnType; minify: boolean; onEntrySetChanged?: BundlerOptions["onEntrySetChanged"]; onRebuilt?: BundlerOptions["onRebuilt"]; outDir: string; outputLayout: NormalizedBundlerOutputLayoutOptions; precompress: NormalizedBundlerPrecompressOptions; publicPath?: string; rootDir: string; sourcemap?: BundlerOptions["sourcemap"]; splitting: boolean; stripComments: boolean; target?: string | string[]; }; declare function normalizeBundlerOptions(options: BundlerOptions): NormalizedBundlerOptions; declare function createEsbuildOptions(options: NormalizedBundlerOptions, logger: NormalizedBundlerLogger): BuildOptions; export { createEsbuildOptions, normalizeBundlerOptions }; export type { NormalizedBundlerOptions }; //# sourceMappingURL=esbuild-options.d.ts.map