import { default as Fuse } from 'fuse.js';
import { CachedParticipantSettings } from '../chat/types';
import { Conversation, ConversationPaginationMeta, Group, Message, MessagePaginationMeta, OfflineStore, PaginatedResponse } from './types';
export declare class OfflineStoreLocalStorage implements OfflineStore {
    #private;
    storePrefix: string;
    constructor(storePrefix?: string);
    getGroupMessages(groupId: string, pagination: MessagePaginationMeta): PaginatedResponse<Message>;
    getThreadMessages(parentId: string, pagination: MessagePaginationMeta): PaginatedResponse<Message>;
    getMessage(messageId: string): {
        data: Message;
    };
    saveMessages(messages: Message[]): void;
    purgeMessages(keepByConversationIds: string[]): void;
    getConversations(pagination: ConversationPaginationMeta): PaginatedResponse<Conversation>;
    saveConversations(conversations: Conversation[]): void;
    purgeConversations(keepConversationIds: string[]): void;
    getGroup(groupId: string): Group | null;
    saveGroup(group: Group): void;
    purgeGroups(keepGroupIds: string[]): void;
    getFuseConversations(): Fuse<Conversation>;
    getFuseMessages(): Fuse<Message>;
    getParticipantSettings(uid: string): CachedParticipantSettings | null;
    storeSettings(participantSettings: CachedParticipantSettings): void;
}
