export = AmdLibraryPlugin; /** @typedef {import("webpack-sources").Source} Source */ /** @typedef {import("../../declarations/WebpackOptions").LibraryOptions} LibraryOptions */ /** @typedef {import("../../declarations/WebpackOptions").LibraryType} LibraryType */ /** @typedef {import("../Chunk")} Chunk */ /** @typedef {import("../Compilation").ChunkHashContext} ChunkHashContext */ /** @typedef {import("../Compiler")} Compiler */ /** @typedef {import("../javascript/JavascriptModulesPlugin").RenderContext} RenderContext */ /** @typedef {import("../util/Hash")} Hash */ /** @template T @typedef {import("./AbstractLibraryPlugin").LibraryContext} LibraryContext */ /** * @typedef {Object} AmdLibraryPluginOptions * @property {LibraryType} type * @property {boolean=} requireAsWrapper */ /** * @typedef {Object} AmdLibraryPluginParsed * @property {string} name * @property {string} amdContainer */ /** * @typedef {AmdLibraryPluginParsed} T * @extends {AbstractLibraryPlugin} */ declare class AmdLibraryPlugin extends AbstractLibraryPlugin { /** * @param {AmdLibraryPluginOptions} options the plugin options */ constructor(options: AmdLibraryPluginOptions); requireAsWrapper: boolean; } declare namespace AmdLibraryPlugin { export { Source, LibraryOptions, LibraryType, Chunk, ChunkHashContext, Compiler, RenderContext, Hash, LibraryContext, AmdLibraryPluginOptions, AmdLibraryPluginParsed, T, }; } type AmdLibraryPluginParsed = { name: string; amdContainer: string; }; import AbstractLibraryPlugin = require('./AbstractLibraryPlugin'); type AmdLibraryPluginOptions = { type: LibraryType; requireAsWrapper?: boolean | undefined; }; type Source = any; type LibraryOptions = import('../../declarations/WebpackOptions').LibraryOptions; type LibraryType = import('../../declarations/WebpackOptions').LibraryType; type Chunk = import('../Chunk'); type ChunkHashContext = import('../Compilation').ChunkHashContext; type Compiler = import('../Compiler'); type RenderContext = import('../javascript/JavascriptModulesPlugin').RenderContext; type Hash = import('../util/Hash'); /** * */ type LibraryContext = import('./AbstractLibraryPlugin').LibraryContext; type T = AmdLibraryPluginParsed;