export interface ParsedPackageName {
    scope: string;
    packageName: string;
}
/**
 * Parses a full package.json name to extract scope and package name.
 * Handles the unisphere- prefix rules and tolerates incorrect prefixes.
 *
 * @param packageJsonName - Full package name (e.g., "@kaltura-corp/unisphere-rtc-avatar")
 * @param experienceName - Experience name from .unisphere config (e.g., "rtc")
 * @returns Parsed scope and package name
 */
export declare function parsePackageJsonName(packageJsonName: string, experienceName: string): ParsedPackageName;
/**
 * Calculates the new package.json name based on target scope and package name.
 * Automatically handles unisphere- prefix rules.
 *
 * @param packageName - Package identifier (e.g., "avatar", "models")
 * @param experienceName - Experience name from .unisphere config (e.g., "rtc")
 * @param newScope - Target scope (e.g., "@kaltura-corp", "@unisphere")
 * @returns New package.json name
 */
export declare function calculateNewPackageJsonName(packageName: string, experienceName: string, newScope: string): string;
/**
 * Extracts the scope from a subdirectory name.
 *
 * @param subdirectory - Subdirectory name (e.g., "kaltura-corp") or null for flat structure
 * @returns Scope (e.g., "@kaltura-corp") or null
 */
export declare function extractScopeFromSubdirectory(subdirectory: string | null): string | null;
/**
 * Converts a scope to a subdirectory name.
 *
 * @param scope - Scope (e.g., "@kaltura-corp")
 * @returns Subdirectory name (e.g., "kaltura-corp")
 */
export declare function scopeToSubdirectory(scope: string): string;
//# sourceMappingURL=utils.d.ts.map