import type { ResolvedDiscovery } from "./discovery.js"; import { normalizeBundlerOptions } from "./esbuild-options.js"; import { type PreparedFrontendConfigStyles } from "./frontend-config.js"; import type { resolveLogger } from "../src/logging.d.ts"; import type { BundlerOptions } from "../src/types.d.ts"; type NormalizedBundlerOptions = ReturnType; /** * Discovers entries and appends the synthesized client-root and * frontend-config-style entries, in that order. * * `bundle()` and `watch()` both need this exact composition: a project * configured with `clientRoot` must have it excluded from normal discovery * (`withClientRootIgnored`) and re-added as its own synthesized entry * (`appendClientRootEntry`), or that entry is silently missing from the * manifest. `watch()` used to reimplement discovery inline without either * call, so a `clientRoot`-configured project built correctly once via * `bundle()` and then lost its client entry on the very next watch rebuild, * with no error — whatever read the manifest just found nothing there. */ declare function resolveFrontendDiscovery(options: BundlerOptions, normalized: NormalizedBundlerOptions, logger: ReturnType, frontendStyles: PreparedFrontendConfigStyles | null, discoveryOptions?: { allowEmpty?: boolean; }): Promise; export { resolveFrontendDiscovery }; //# sourceMappingURL=discovery-resolve.d.ts.map