/**
 * [[include:./private/README.md]]
 * @module PrivateChat
 * @group Chat
 */
import type { Message } from '../chat/useChat';
export interface Chat {
    epub: string;
    messages: Record<string, Message>;
    sorted?: Message[];
    send: (message: string) => Promise<void>;
}
export declare function usePrivateChat(pub: string): Chat;
export declare function usePrivateChatCount(pub: string): {
    count: import("vue").ComputedRef<number>;
    available: import("vue").Ref<boolean>;
};
export declare function usePrivateChatList(): Record<string, Message>;
