import { type IUserInfo, type LatestMessageProps, type MessageProps, MessageStatus, type SendMessageProps, type MediaType } from '../interfaces'; declare const formatMessageText: (message: MessageProps | LatestMessageProps, regexPattern?: RegExp | undefined, encryptKey?: string, decryptMessageFunc?: (text: string) => Promise) => Promise<{ text: string; readBy: { [userId: string]: boolean; }; senderId: string; name: string; status?: MessageStatus; type?: MediaType; path?: string; extension?: string; } | { text: string; senderId: string; readBy: { [userId: string]: boolean; }; status?: MessageStatus; type?: MediaType; path?: string; extension?: string; createdAt: Date | number; id: string; _id: string | number; user: import("react-native-gifted-chat").User; image?: string; video?: string; audio?: string; system?: boolean; sent?: boolean; received?: boolean; pending?: boolean; quickReplies?: import("react-native-gifted-chat").QuickReplies; }>; declare const formatMessageData: (message: MessageProps, userInfo: IUserInfo, regexPattern?: RegExp | undefined, encryptKey?: string, decryptMessageFunc?: (text: string) => Promise) => Promise<{ text: string; _id: string; createdAt: number | Date; user: { _id: string; name: string; avatar: string; }; senderId: string; readBy: { [userId: string]: boolean; }; status?: MessageStatus; type?: MediaType; path?: string; extension?: string; id: string; image?: string; video?: string; audio?: string; system?: boolean; sent?: boolean; received?: boolean; pending?: boolean; quickReplies?: import("react-native-gifted-chat").QuickReplies; }>; declare const formatdecryptedMessageData: (text: string, encryptionKey: string) => Promise; declare const formatSendMessage: (userId: string, text: string, type?: MediaType, path?: string, extension?: string) => SendMessageProps; declare const formatLatestMessage: (userId: string, name: string, message: string, type?: MediaType, path?: string, extension?: string) => LatestMessageProps; export declare const getMediaTypeFromExtension: (path: string) => MediaType; export declare const getAbsoluteFilePath: (path: string) => string; export { formatMessageData, formatdecryptedMessageData, formatSendMessage, formatLatestMessage, formatMessageText, }; //# sourceMappingURL=messageFormatter.d.ts.map