import BaseFriendMessage from './BaseFriendMessage'; import type Friend from './Friend'; import type Client from '../../Client'; import type { MessageData } from '../../../resources/structs'; /** * Represents a received friend whisper message */ declare class ReceivedFriendMessage extends BaseFriendMessage { /** * The message's author */ author: Friend; /** * @param client The main client * @param data The message's data */ constructor(client: Client, data: MessageData & { author: Friend; }); /** * Replies to this whisper message * @param content The message that will be sent * @throws {FriendNotFoundError} The user is not friends with the client */ reply(content: string): Promise; } export default ReceivedFriendMessage;