import type { Channel as APIChannel } from 'revolt-api'; import { Base, DMChannel, GroupChannel, ServerChannel, TextChannel, VoiceChannel } from './index'; import type { Client } from '../client/Client'; import { ChannelTypes } from '../util/index'; export declare abstract class Channel extends Base { type: ChannelTypes | 'UNKNOWN'; constructor(client: Client, data: T); static create(client: Client, data: APIChannel): Channel; get createdTimestamp(): number; get createdAt(): Date; delete(): Promise; isText(): this is TextChannel | GroupChannel | DMChannel; isVoice(): this is VoiceChannel; isGroup(): this is GroupChannel; inServer(): this is ServerChannel; toString(): string; fetch(force?: boolean): Promise; }