import type { Merge } from 'type-fest'; import type { IGif, IImages, IUser } from '@giphy/js-types'; export type GiphyMediaID = Readonly<{ id: string; }>; export type GiphyMediaData = GiphyMediaID & IGif; export type GiphyMedia = GiphyMediaID & { url: string; aspectRatio: number; isDynamic: boolean; isVideo: boolean; data: GiphyMediaData; }; type GiphyVideo = Exclude; type NativeAsset = Partial<{ height: any; size: string; url: string; width: any; }>; type NativeAssets = Record; type NativeTag = string | { text: string; }; type NativeUser = Merge>; type NativeVideo = Merge; export type NativeGiphyMediaData = Merge; export type NativeGiphyMedia = Merge; export declare function deserializeGiphyMedia(rawMedia: NativeGiphyMedia): GiphyMedia; export {}; //# sourceMappingURL=giphyMedia.d.ts.map