import type { MonolithConfig } from './MonolithConfig.ts';
import type { CustomCompileEntry } from './XyConfig.ts';
export type MonolithEntries = Record<string, (string | CustomCompileEntry)[]>;
/**
 * Computes the per-platform custom compile entries for a monolith package.
 * The `modulesPlatform` (default `neutral`) gets the master barrels plus
 * every exported module (and model) shim; every other active platform gets
 * the master barrel plus its `platformEntries` shims. Exported modules with
 * a conditional `#import` skip the modules-platform entry — the subpath
 * shim already resolves the default condition.
 *
 * With `moduleLinkage: 'external'` the subpath and platform entries bypass
 * the generated one-line shims and target the module files directly via
 * `{in, out}` pairs: esbuild only preserves `export * from '#external'`
 * when it appears in the entry file itself — routed through an intermediate
 * re-export file the star export is silently lost in ESM output. The shims
 * remain the tsc declaration sources for the same dist names.
 */
export declare function buildMonolithEntries(config: MonolithConfig): MonolithEntries;
//# sourceMappingURL=monolithCompileEntries.d.ts.map