///
import type { AccountEnvOptionsType, IGroup, IMessageIPFS } from '../../types';
import type { Env, IConnectedUser, IFeeds, IUser } from '@pushprotocol/restapi';
import { PushAPI } from '@pushprotocol/restapi';
type HandleOnChatIconClickProps = {
isModalOpen: boolean;
setIsModalOpen: React.Dispatch>;
};
type GetChatsType = {
pgpPrivateKey?: string;
supportAddress: string;
user: PushAPI;
limit: number;
threadHash?: string;
env?: Env;
account: string;
};
export declare const handleOnChatIconClick: ({ isModalOpen, setIsModalOpen }: HandleOnChatIconClickProps) => void;
export declare const createUserIfNecessary: (options: AccountEnvOptionsType) => Promise;
type GetChatsResponseType = {
chatsResponse: IMessageIPFS[];
lastThreadHash: string | null;
lastListPresent: boolean;
};
export declare const getChats: (options: GetChatsType) => Promise;
export declare const copyToClipboard: (address: string) => void;
export declare const getDefaultFeedObject: ({ user, groupInformation, }: {
user?: IUser | undefined;
groupInformation?: IGroup | undefined;
}) => IFeeds;
type CheckIfIntentType = {
chat: IFeeds;
account: string;
};
export declare const checkIfIntent: ({ chat, account }: CheckIfIntentType) => boolean;
export declare const checkIfUnread: (chatId: string, chat: IFeeds) => boolean;
export declare const getChatId: ({ msg, account }: {
msg: IMessageIPFS;
account: string;
}) => string;
export declare const appendUniqueMessages: (parentList: any[], newlist: any[], infront: boolean) => any[];
export {};