import type { BuildResult, Message } from "esbuild"; import type { BundlerBuildResult, BundlerOutputLayoutStats, BundlerPrecompressStats, BundlerResolvedDiscovery, NormalizedBundlerLogger } from "../src/types.d.ts"; import type { NormalizedManifestOptions } from "./discovery.js"; export declare function formatEsbuildMessage(message: Partial): string; declare function logWarnings(logger: NormalizedBundlerLogger, warnings: Message[]): void; declare function resolveOutputs(result: BuildResult, rootDir: string): string[]; declare function pathExists(filePath: string): Promise; declare function toBuildResult(args: { manifest: NormalizedManifestOptions; outDir: string; outputLayout?: BundlerOutputLayoutStats; precompressed?: BundlerPrecompressStats; resolvedDiscovery: BundlerResolvedDiscovery; result: BuildResult; rootDir: string; startedAt: number; }): Promise; export declare function cleanOutDir(outDir: string): Promise; export declare function formatFailure(error: unknown): string; export { logWarnings, pathExists, resolveOutputs, toBuildResult }; //# sourceMappingURL=shared.d.ts.map