export type ZaloContentType = 'text' | 'image' | 'video' | 'voice' | 'file' | 'sticker' | 'gif' | 'link' | 'location' | 'unknown';
export declare const MEDIA_URL_FIELDS: readonly ["hdUrl", "href", "normalUrl", "fileUrl", "url", "thumbUrl", "thumb", "thumbnail"];
export declare const MEDIA_CONTENT_TYPES: ReadonlySet<ZaloContentType>;
export declare function detectContentType(msgType: unknown, content: unknown): ZaloContentType;
export declare function extractMediaUrls(content: unknown): string[];
export declare function messageSortKey(msgId: unknown, timestamp: unknown): bigint;
export declare function compareBySortKey(a: bigint, b: bigint, direction: 1 | -1): number;
