/** Expand leading `~` to the user home directory. */ export declare function expandWorkspacePathString(raw: string): string; /** * Normalize and validate a workspace directory path. * Returns `null` when the input is empty or resolves to a filesystem root * (e.g. `/` or `C:\`) — both are almost certainly misconfiguration. */ export declare function normalizeWorkspaceDir(workspaceDir?: string): string | null; /** * Resolve a workspace root, falling back to `process.cwd()` when the * provided path is empty or invalid. */ export declare function resolveWorkspaceRoot(workspaceDir?: string): string;