import { LPInboxMessage } from './LPInboxMessage'; export declare const LPInbox: { /** * Returns the number of all inbox messages on the device. */ count: () => Promise; /** * Returns the number of the unread inbox messages on the device. */ unreadCount: () => Promise; /** * Returns the identifiers of all inbox messages on the device sorted in ascending * chronological order, i.e. the id of the oldest message is the first one, and the most * recent one is the last one in the array. */ messagesIds: () => Promise; /** * Returns an array containing all of the inbox messages (as LPInboxMessage objects) * on the device, sorted in ascending chronological order, i.e. the oldest message is the * first one, and the most recent one is the last one in the array. */ allMessages: () => Promise; /** * Returns an array containing all of the unread inbox messages on the device, sorted * in ascending chronological order, i.e. the oldest message is the first one, and the * most recent one is the last one in the array. */ unreadMessages: () => Promise; /** * Returns the inbox messages associated with the given messageId identifier. */ messageForId: (messageId: string) => Promise; /** * Call this method if you don't want Inbox images to be prefetched. * Useful if you only want to deal with image URL. */ disableImagePrefetching: () => void; };