import { type BigString, type DiscordChannel, type GetMessagesOptions } from '@discordeno/types'; import type Client from '../../Client.js'; import Collection from '../../Collection.js'; import type { FileContent, GetMessageReactionOptions, MessageContent, MessageContentEdit } from '../../typings.js'; import type Message from '../Message.js'; import User from '../users/User.js'; import Channel from './Channel.js'; export declare class PrivateChannel extends Channel { /** The ID of the last message in this channel */ lastMessageID: string; /** The rate limit per user. */ rateLimitPerUser?: number; /** Collection of Messages in this channel */ messages: Collection; /** The recipient in this private channel */ recipient?: User; constructor(data: DiscordChannel, client: Client); /** Add a reaction to a message */ addMessageReaction(messageID: BigString, reaction: string): Promise; /** Create a message in a text channel */ createMessage(content: MessageContent, file?: FileContent | FileContent[]): Promise; /** Delete a message */ deleteMessage(messageID: BigString, reason?: string): Promise; /** Edit a message */ editMessage(messageID: BigString, content: MessageContentEdit): Promise; /** Get a previous message in a text channel */ getMessage(messageID: BigString): Promise; /** Get a list of users who reacted with a specific reaction */ getMessageReaction(messageID: BigString, reaction: string, options: GetMessageReactionOptions): Promise; /** Get a previous message in a text channel */ getMessages(options: GetMessagesOptions): Promise; /** Get all the pins in a text channel */ getPins(): Promise; /** Leave the channel */ leave(): Promise; /** Pin a message */ pinMessage(messageID: BigString): Promise; /** Remove a reaction from a message */ removeMessageReaction(messageID: BigString, reaction: string): Promise; /** Send typing status in a text channel */ sendTyping(): Promise; /** Unpin a message */ unpinMessage(messageID: BigString): Promise; toJSON(props?: string[]): Record; } export default PrivateChannel; //# sourceMappingURL=Private.d.ts.map