import type { ChatMessageEntity, ChatMemberEntity } from '../types/chat'; import type { PaginationCursor } from '../types/common'; import type { BaseChatConsumer } from './BaseChat'; type ChatMethodParams = Record; interface ChatMethodPropertyDescriptor extends PropertyDescriptor { value: (params: ParamsType) => Promise; } type ChatMethodDescriptor = ChatMethodPropertyDescriptor & ThisType; /** * Chat Methods */ export declare const publish: ChatMethodDescriptor; interface GetMessagesOutput { messages: ChatMessageEntity[]; cursor: PaginationCursor; } export declare const getMessages: ChatMethodDescriptor; interface GetMembersOutput { members: ChatMemberEntity[]; } export declare const getMembers: ChatMethodDescriptor; /** * Chat Member Methods */ export declare const setMemberState: ChatMethodDescriptor; interface GetMemberStateOutput { channels: any; } export declare const getMemberState: ChatMethodDescriptor; export {}; //# sourceMappingURL=methods.d.ts.map