import type { LibraryItemKind, LibraryItemScope, LibraryManifestV1, LibraryManifestV1Item } from "../library/library-manifest.js"; export type PackScopeAction = "toggle-default" | "toggle-dev" | "clear"; export interface PackEntrySelectionState { readonly scopes: readonly LibraryItemScope[]; readonly hasSelectedDescendants: boolean; } export declare function normalizeRepoPath(value: string): string; export declare function deriveLibraryItemId(params: { kind: LibraryItemKind; repoPath: string; existingIds: ReadonlySet; }): string; export declare function getSelectionState(items: readonly LibraryManifestV1Item[], entryRepoPath: string): PackEntrySelectionState; export declare function selectionIcon(params: { isAssetRoot: boolean; scopes: readonly LibraryItemScope[]; hasSelectedDescendants: boolean; }): string; export declare function applyScopeAction(params: { manifest: LibraryManifestV1; repoPath: string; kind: LibraryItemKind; action: PackScopeAction; }): boolean; export declare function sortManifestItems(items: readonly LibraryManifestV1Item[]): LibraryManifestV1Item[]; export declare function minimizeOverlappingRepoPaths(paths: readonly string[]): string[];