import { Client, Conversation, Message } from '@xmtp/xmtp-js';
import { Signer } from 'ethers';
import { GroupMessage } from '../xmtp-react/groups';
declare enum Status {
    disconnected = "no signer available",
    idle = "idle",
    waiting = "waiting on signature",
    denied = "signature denied",
    loading = "loading messages",
    ready = "ready",
    error = "error"
}
interface ReceiverState {
    activity: Record<string, Date>;
    client: Client | null;
    conversations: Record<string, Conversation>;
    groupMessages: Record<string, Record<string, GroupMessage>>;
    messages: Record<string, Record<string, Message>>;
    peerAddress: string | null;
    peerName: string | null;
    xmtpStatus: Status;
    setPeerAddress: (address: string) => void;
    xmtpInit: (wallet: Signer) => void;
}
export declare const receiverStore: import("zustand").UseBoundStore<import("zustand").StoreApi<ReceiverState>>;
export {};
