import BasePendingFriend from './BasePendingFriend'; import type { PendingFriendData } from '../../../resources/structs'; import type Client from '../../Client'; /** * Represents an incoming friendship request */ declare class IncomingPendingFriend extends BasePendingFriend { constructor(client: Client, data: PendingFriendData); /** * Accepts this incoming pending friend request * @throws {UserNotFoundError} The user wasn't found * @throws {DuplicateFriendshipError} The user is already friends with the client * @throws {InviterFriendshipsLimitExceededError} The client's friendship limit is reached * @throws {InviteeFriendshipsLimitExceededError} The user's friendship limit is reached * @throws {InviteeFriendshipSettingsError} The user disabled friend requests * @throws {EpicgamesAPIError} */ accept(): Promise; /** * Declines this incoming pending friend request * @throws {UserNotFoundError} The user wasn't found * @throws {FriendNotFoundError} The user is not friends with the client * @throws {EpicgamesAPIError} */ decline(): Promise; } export default IncomingPendingFriend;