import type { MonolithConfig } from './MonolithConfig.ts';
export declare function addJsExtension(spec: string): string;
/** Returns the number of declaration files rewritten. */
export declare function fixMonolithDeclarations(distDir: string, config: MonolithConfig): number;
/**
 * Validates `#module` specifiers retained in compiled `.mjs` output. With
 * `moduleLinkage: 'bundle'` no `#` specifier may survive (everything is
 * inlined). With `'external'` every retained specifier must have a
 * dist-resolvable package.json `imports` mapping: an exported module, an
 * exported module's model barrel, or a conditional import with `distImports`.
 * Returns human problem lines (empty = ok).
 */
export declare function verifyMonolithRuntimeSpecifiers(distDir: string, config: MonolithConfig): string[];
//# sourceMappingURL=monolithCompileDeclarations.d.ts.map