import WebpackError from '../lib/WebpackError.js';
export declare class ModuleError extends WebpackError {
    error?: Error;
    constructor(err: Error, { from }?: {
        from?: string;
    });
}
export declare class ModuleWarning extends WebpackError {
    error?: Error;
    constructor(err: Error, { from }?: {
        from?: string;
    });
}
