/** * Shared by every entry point that accepts an explicit --kyro-scope. Commands that bypass * resolveScope (integrity prepare, artifact doctor) must call this themselves, or a foreign * directory would still be reported as a damaged scope instead of a wrong name. * * Both axes decide, not the directory alone. Only UNREGISTERED + FOREIGN is a wrong name. * REGISTERED + FOREIGN is contamination an earlier rehydrate wrote into project.json: the id is a * real registry entry that must stay addressable, or `repair integrity prepare --kyro-scope ` * could never reach unregister-orphan and the only cleanup path would be a global scan. */ export declare function assertNotForeignDirectory(scope: string): void; export declare function resolveScope(explicit: string | null): string; //# sourceMappingURL=scope-resolution.d.ts.map