export type ConflictPolicy = "warning" | "error" | "ignore"; /** * How this command treats cross-major conflicts. It is a property of the * invocation, not of one resolve call: a command can resolve more than once * (the memo collapses the repeats, but writing mops.lock or mops.toml mid-run * forces a fresh walk), and `mops sources --conflicts ignore` has to silence * all of them, not just the last. So the CLI sets the policy up front rather * than threading an option down through installAll, the lockfile and the * integrity check. */ export declare function setConflictPolicy(policy: ConflictPolicy): void; export declare function resolvePackages({ skipLock }?: { skipLock?: boolean | undefined; }): Promise>; export type ResolveResult = { deps: Record; graph: Record>; }; export declare function resolveDepsAndGraph({ skipLock, }?: { skipLock?: boolean | undefined; }): Promise;