| 1 | /** Universal Module Definition for use in automated build systems |
| 2 | * - simple synchronous wrapping of a string |
| 3 | * - return style module support |
| 4 | * - CommonJS support |
| 5 | * - prevents internal UMDs from conflicting |
| 6 | */ |
| 7 | declare function Umd(name: string, src: string, options?: boolean | Umd.Options): string; |
| 8 | |
| 9 | declare namespace Umd { |
| 10 | interface Options { |
| 11 | commonJS?: boolean | undefined; |
| 12 | } |
| 13 | |
| 14 | function prelude(moduleName: string, options?: boolean | Options): string; |
| 15 | |
| 16 | function postlude(moduleName: string, options?: boolean | Options): string; |
| 17 | } |
| 18 | |
| 19 | export = Umd; |