import type { BedrockPortal } from '../index'; import type { FriendRequestPerson } from '../types/peoplehub'; import type { EventResponse } from 'xbox-rta'; import Module from '../classes/Module'; import Host from '../classes/Host'; export default class AutoFriendAccept extends Module { options: { /** * Automatically invites added friends to the game * @default false */ inviteOnAdd: boolean; /** * If the function returns true then the request will be accepted * @default () => true * @example * (player) => player.gamertag === 'Steve' */ conditionToMeet: (request: FriendRequestPerson) => boolean; }; listeners: Map Promise; }>; constructor(portal: BedrockPortal); run(): Promise; stop(): Promise; }