import { APIChannel } from "../api"; import { Client } from "../Client"; import { PermissionFlags } from "../utils/PermissionFlags"; import { Channel, ChannelType } from "./Channel"; import { User } from "./User"; export declare class GroupDMChannel extends Channel { get type(): ChannelType.GroupDM; get source(): Extract; constructor(client: Client, data: APIChannel); get ownerID(): string; get owner(): User; fetchOwner(fetchNew?: boolean): Promise; /** Does not include yourself. */ get recipientIDs(): string[]; /** Does not include yourself. */ get recipients(): User[]; /** Does not include yourself. */ fetchRecipients(): Promise; /** Add a user to this group. */ addRecipient(user: User | string): Promise; /** Remove a user from this group. */ removeRecipient(user: User | string): Promise; get permissions(): PermissionFlags; }