/** * @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md. */ export interface CachedValue { get(): T; invalidate(): void; } /** * Caches the computed value until the cache is invalidated. */ export declare function cacheValue(compute: () => T): CachedValue; /** * Stringifies the values of the given object. */ export declare function stringifyValues(obj: Record): Record; export declare function normalizePackageName(packageName: string): string; /** * Builds a predicate that decides whether a package is part of the `include` selection. When the * selection is empty every package is included. Package names are matched by their normalized form, * so both short (`case-change`) and full (`ckeditor5-case-change`) names work. A `null` package name * (an asset without a package segment) is only kept when the selection is empty. */ export declare function createPackageNameFilter(includePackageNames: Array): (packageName: string | null) => boolean; export declare function toPublicFilePath(filePath: string, workspaceRoot: string): string; export declare function toPublicSpecifier(relativeFilePath: string): string; export declare function toPosixPath(value: string): string; export declare function stripLeadingSlash(value: string): string;