import { ChatType } from '../../module/types/messageType'; declare const usePinnedMessage: (params?: { conversation?: { conversationType?: ChatType | undefined; conversationId?: string | undefined; } | undefined; pageSize?: number | undefined; } | undefined) => { list: import("easemob-websdk").EasemobChat.PinnedMessageInfo[]; cursor: string | null; pageSize: number; visible: boolean; show: () => void; hide: () => void; pinMessage: (messageId: string) => Promise; unpinMessage: (messageId: string) => Promise; getPinnedMessages: () => void; clearPinnedMessages: () => void; }; export { usePinnedMessage };