UNPKG

@devlander/collect-exports-for-bundle

Version:

Generate comprehensive export files for TypeScript/JavaScript projects with Rollup compatibility

12 lines (11 loc) 580 B
import { AutoExporterOptions } from '../types/module-exporter.types'; export interface ExportStatementOptions { componentName: string; withoutExtension: string; targetVersion: 'es5' | 'es6'; exportType: 'named' | 'default' | 'both'; config: AutoExporterOptions; alias?: string; } export declare function generateExportStatement(componentName: string, withoutExtension: string, targetVersion: 'es5' | 'es6', config: AutoExporterOptions, alias?: string): string; export declare function generateMixedExportStatement(options: ExportStatementOptions): string;