export interface RegisteredRepository { id: string; path: string; prefix?: string; identity?: string; [key: string]: unknown; } export declare function canonicalPath(value: string): string; export declare function isWithin(root: string, candidate: string): boolean; export declare function readWorkspaceConfig(root: string): Record; /** Only visits explicitly registered paths. Missing checkouts stay registered but are not scanned. */ export declare function registeredRepositories(root: string): Array; /** Explicit selection never falls back when invalid, and inherited context must match membership. */ export declare function explicitWorkspaceRoot(startDir: string, selected?: string | undefined, requireMembership?: boolean): string | null; /** Config membership replaces the directory convention, which remains a legacy fallback. */ export declare function isWorkspaceRoot(root: string): boolean; /** Old umbrella flags predate explicit inventories and imply nested membership. */ export declare function hasLegacyWorkspaceLayout(root: string): boolean; //# sourceMappingURL=context.d.ts.map