import type { AbsolutePath } from '@-xun/fs'; import type { WorkspacePackageId } from '@-xun/project-types'; /** * Synchronously determine the package-id of a package in a monorepo from the * path to the package's root directory. * * Any character that is not alphanumeric will be replaced with a hyphen (-) in * the resulting package-id. If `packageRoot` ends in a path separator * character, it is trimmed off. */ export declare function packageRootToId(packageRoot: AbsolutePath): WorkspacePackageId;