import { Configuration } from 'webpack';
export interface ResolveExternalsConfig {
    resolve: {
        alias: {
            [key: string]: string;
        };
    };
    externals: Configuration['externals'];
}
export interface ExternalProps {
    lib: string;
    externalName?: string | {
        [key: string]: string;
    };
}
export declare class ResolveExternals {
    private _config;
    constructor(config: ResolveExternalsConfig);
    addAlias: (props: ExternalProps) => void;
}
