import type { ManagementMediaAsset } from '../../client/management/types';
import type { MediaValue } from './identifiers';
/**
 * Normalize a media identifier to the canonical slug form.
 * Returns null when the raw value is empty or invalid.
 */
export declare const normalizeMediaIdentifierInput: (raw: string) => string | null;
/**
 * Normalize a media value to the portable identifier-only representation.
 *
 * This mutates the original media value in-place by:
 * - setting `identifier` (required)
 * - removing env-specific fields (`assetId`, `storagePath`, `storageBucket`, `src`, `mimeType`)
 */
export declare const normalizeMediaValueToIdentifierOnly: (value: MediaValue, identifier: string, asset?: Pick<ManagementMediaAsset, "width" | "height"> | null) => void;
