import type { Dependency, JsModuleGraph } from '@rspack/binding';
import { ExportsInfo } from './ExportsInfo.js';
import type { ModuleGraphConnection } from './ModuleGraphConnection.js';
import type { Module } from './Module.js';
export default class ModuleGraph {
    #private;
    static __from_binding(binding: JsModuleGraph): ModuleGraph;
    constructor(binding: JsModuleGraph);
    getModule(dependency: Dependency): Module | null;
    getResolvedModule(dependency: Dependency): Module | null;
    getUsedExports(module: Module, runtime: string | string[]): string[] | boolean | null;
    getParentModule(dependency: Dependency): Module | null;
    getIssuer(module: Module): Module | null;
    getExportsInfo(module: Module): ExportsInfo;
    getConnection(dependency: Dependency): ModuleGraphConnection | null;
    getOutgoingConnections(module: Module): ModuleGraphConnection[];
    getIncomingConnections(module: Module): ModuleGraphConnection[];
    getParentBlockIndex(dependency: Dependency): number;
    isAsync(module: Module): boolean;
    getOutgoingConnectionsInOrder(module: Module): ModuleGraphConnection[];
}
