/** * Normalize package name by trimming whitespace. */ declare function normalizeName(rawName: unknown): string | undefined; /** * Normalize package namespace by trimming and collapsing path separators. */ declare function normalizeNamespace(rawNamespace: unknown): string | undefined; /** * Normalize purl path component by collapsing separators and filtering segments. */ declare function normalizePurlPath(pathname: string, options?: { filter?: ((_segment: string) => boolean) | undefined; }): string; /** * Normalize qualifiers by trimming values and lowercasing keys. */ declare function normalizeQualifiers(rawQualifiers: unknown): Record | undefined; /** * Normalize subpath by filtering invalid segments. */ declare function normalizeSubpath(rawSubpath: unknown): string | undefined; /** * Normalize package type to lowercase. */ declare function normalizeType(rawType: unknown): string | undefined; /** * Normalize package version by trimming whitespace. */ declare function normalizeVersion(rawVersion: unknown): string | undefined; export { normalizeName, normalizeNamespace, normalizePurlPath, normalizeQualifiers, normalizeSubpath, normalizeType, normalizeVersion, };