import type { sources as WebpackSources } from 'webpack';
import type { WebpackAssetCompilationLike } from './asset-emission-plan.js';
import type { SetupWebpackV5ProcessAssetsHookOptions } from './helpers.js';
import type { LinkedJsModuleResult } from '../../../../types/index.js';
export declare function createWebpackJsAssetModuleGraph(options: {
    compilation: {
        getAsset: (file: string) => {
            source: {
                source: () => unknown;
            };
        } | undefined;
    };
    compilerOptions: SetupWebpackV5ProcessAssetsHookOptions['options'];
    entries: Array<[string, unknown]>;
    outputDir: string;
}): {
    jsAssets: Map<string, string>;
    moduleGraphOptions: {
        resolve(specifier: string, importer: string): string | undefined;
        load: (id: string) => string | undefined;
        filter(id: string): boolean;
    };
};
export declare function applyWebpackLinkedJsResults(options: {
    ConcatSource: new (code: string) => WebpackSources.Source;
    compilation: Pick<WebpackAssetCompilationLike, 'getAsset' | 'updateAsset'>;
    compilerOptions: SetupWebpackV5ProcessAssetsHookOptions['options'];
    debug: SetupWebpackV5ProcessAssetsHookOptions['debug'];
    jsAssets: ReadonlyMap<string, string>;
    linked: Record<string, LinkedJsModuleResult> | undefined;
}): void;
