import type { Channel as APIChannel } from 'revolt-api'; import { BaseManager } from './BaseManager'; import { Server, ServerChannel } from '../structures/index'; declare type APIServerChannel = Extract; export declare type ServerChannelResolvable = ServerChannel | APIServerChannel | string; export interface CreateChannelOptions { name: string; type?: 'Text' | 'Voice'; description?: string; } export declare class ServerChannelManager extends BaseManager { protected readonly server: Server; holds: typeof ServerChannel; constructor(server: Server); _add(data: APIChannel): ServerChannel; create({ name, type, description }: CreateChannelOptions): Promise; fetch(channel: ServerChannelResolvable, { force }?: { force?: boolean | undefined; }): Promise; } export {};