/** Static import information exposed by Rollup after module graph resolution. */
interface VendorModuleInfo {
    /** Only static edges participate; dynamic imports preserve lazy ownership. */
    importedIds: readonly string[];
}
/**
 * Checks whether a module and its static dependencies are safe to share in the
 * vendor chunk. Vite 8's Rolldown callback exposes dependency lookups but does
 * not expose whole-graph enumeration, so this walks from the requested module.
 */
export declare function hasVendorDependencyClosure(id: string, getModuleInfo: (id: string) => VendorModuleInfo | null, isCandidate: (id: string) => boolean): boolean;
/**
 * Admit only dependency-closed vendor modules. Forcing a package that imports
 * generated project modules into vendor can create a chunk initialization cycle
 * with Vue or other neutral dependencies. Reverse propagation also handles
 * strongly connected imports without recursive traversal or partial memoization.
 */
export declare function createVendorModuleSet(moduleIds: Iterable<string>, getModuleInfo: (id: string) => VendorModuleInfo | null, isCandidate: (id: string) => boolean): Set<string>;
export {};
//# sourceMappingURL=vendor-graph.d.ts.map