import type { GetModuleInfo, Plugin } from 'rollup'; import { Path } from '@boost/common'; import type { InputMap } from '../../types'; export interface AddMjsWrapperOptions { inputs: InputMap; packageRoot: Path; } export type ExternalExport = { type: 'export-all'; namespace?: string; source: string; } | { type: 'export-named'; names: string[]; source: string; }; export interface ExtractedExports { externalExports: ExternalExport[]; namedExports: string[]; defaultExport: boolean; } export declare function extractExports(id: string, getModuleInfo: GetModuleInfo): ExtractedExports; export declare function addMjsWrapperForCjs({ inputs, packageRoot }: AddMjsWrapperOptions): Plugin; //# sourceMappingURL=addMjsWrapperForCjs.d.ts.map