import type { MetadataEntry, MetadataCollection } from '../metadata'; import { MetadataType } from '../metadata'; /** * Adds platform discriminator to metadata entries received from native code. * * Native code doesn't include the platform field to avoid redundancy with `Platform.OS`. * This utility injects the platform field based on the current platform, enabling * TypeScript discriminated union type narrowing for platform-specific metadata structures. * * @param collection - Metadata collection from native code without platform discriminators * @returns Metadata collection with platform field added to each entry */ export declare function addPlatformToMetadata(collection: Omit, 'entries'> & { entries: Omit[]; }): MetadataCollection; /** * Adds the platform discriminator to metadata-carrying events when needed. * * Native payloads omit the platform field; this helper enriches only metadata * events that require platform-specific discriminators (ID3 and DATERANGE). */ export declare function addPlatformToMetadataEvent; }>(event: TEvent): TEvent; //# sourceMappingURL=metadataPlatform.d.ts.map