import type { ValidAnswerId } from '../../api/Routes/channels'; import { type MessageStructure, type ThreadChannelStructure, type UserStructure } from '../../client'; import type { RESTGetAPIChannelMessagesQuery, RESTPostAPIChannelMessagesThreadsJSONBody } from '../../types'; import type { MessageCreateBodyRequest, MessageUpdateBodyRequest } from '../types/write'; import { BaseShorter } from './base'; export declare class MessageShorter extends BaseShorter { write(channelId: string, { files, ...body }: MessageCreateBodyRequest): Promise; edit(messageId: string, channelId: string, { files, ...body }: MessageUpdateBodyRequest): Promise; crosspost(messageId: string, channelId: string, reason?: string): Promise; delete(messageId: string, channelId: string, reason?: string): Promise; raw(messageId: string, channelId: string, force?: boolean): Promise; fetch(messageId: string, channelId: string, force?: boolean): Promise; purge(messages: string[], channelId: string, reason?: string): Promise; thread(channelId: string, messageId: string, options: RESTPostAPIChannelMessagesThreadsJSONBody & { reason?: string; }): Promise; endPoll(channelId: string, messageId: string): Promise; getAnswerVoters(channelId: string, messageId: string, answerId: ValidAnswerId): Promise; list(channelId: string, fetchOptions?: RESTGetAPIChannelMessagesQuery): Promise; }