UNPKG

695 BTypeScriptView Raw
1import NameManager from "./NameManager";
2declare const HELPERS: {
3 interopRequireWildcard: string;
4 interopRequireDefault: string;
5 createNamedExportFrom: string;
6 createStarExport: string;
7 nullishCoalesce: string;
8 asyncNullishCoalesce: string;
9 optionalChain: string;
10 asyncOptionalChain: string;
11 optionalChainDelete: string;
12 asyncOptionalChainDelete: string;
13};
14export declare class HelperManager {
15 readonly nameManager: NameManager;
16 helperNames: {
17 [baseName in keyof typeof HELPERS]?: string;
18 };
19 constructor(nameManager: NameManager);
20 getHelperName(baseName: keyof typeof HELPERS): string;
21 emitHelpers(): string;
22}
23export {};