export interface MediaData { mediaKey: string; directPath: string; url: string; mimetype: string; messageType: string; caption?: string; fileName?: string; fileLength?: string; ptt?: boolean; seconds?: number; } export declare function extractMediaData(payload: any): MediaData; export declare function hasMedia(payload: any): boolean; export declare function getMediaType(payload: any): 'image' | 'video' | 'audio' | 'document' | 'sticker' | null; export declare function extractCaption(payload: any): string | undefined; export declare function extractFileName(payload: any): string | undefined;