function useSendMessage(
streamId: string,
config?: ActionConfig<Channel["sendMessage"]>,
): {
data: {
eventId: string;
} | undefined;
error: Error | undefined;
isPending: boolean;
isSuccess: boolean;
isError: boolean;
sendMessage: (message: string, options?: {
threadId?: string;
replyId?: string;
mentions?: PlainMessage<ChannelMessage.Post.Mention>[];
attachments?: PlainMessage<ChannelMessage.Post.Attachment>[];
appClientAddress?: string;
} | undefined) => Promise<{
eventId: string;
}>;
}