import type { Channel as APIChannel } from 'revolt-api'; import { Category, Channel, Server } from './index'; import { Client } from '../client/Client'; import { ChannelPermissions, Collection } from '../util'; declare type APIServerChannel = Extract; export interface Overwrite { allow: ChannelPermissions; deny: ChannelPermissions; } export declare class ServerChannel extends Channel { name: string; serverId: string; description: string | null; icon: string | null; overwrites: Collection; nsfw: boolean; constructor(client: Client, data: T); protected _patch(data: T): this; createInvite(): Promise; iconURL(options?: { size: number; }): string | null; get server(): Server; get category(): Category | null; } export {};