import { type APIGuildChannel, type GuildChannelType, type RESTGetAPIGuildInvitesResult, type RESTPostAPIChannelInviteJSONBody } from "discord-api-types/v10"; import { Guild } from "../structures/Guild.js"; import type { GuildCategoryChannel } from "../structures/GuildCategoryChannel.js"; import { Message } from "../structures/Message.js"; import type { IfPartial, MessagePayload } from "../types/index.js"; import { BaseChannel } from "./BaseChannel.js"; export declare abstract class BaseGuildChannel extends BaseChannel { rawData: APIGuildChannel | null; /** * The name of the channel. */ get name(): IfPartial; /** * The ID of the guild this channel is in */ get guildId(): IfPartial; /** * The ID of the parent category for the channel. */ get parentId(): IfPartial; /** * Whether the channel is marked as nsfw. */ get nsfw(): IfPartial; /** * The guild this channel is in */ get guild(): IfPartial>; /** * Set the name of the channel * @param name The new name of the channel */ setName(name: string): Promise; /** * Set the parent ID of the channel * @param parent The new category channel or ID to set */ setParent(parent: GuildCategoryChannel | string): Promise; /** * Set whether the channel is nsfw * @param nsfw The new nsfw status of the channel */ setNsfw(nsfw: boolean): Promise; /** * Send a message to the channel */ send(message: MessagePayload): Promise>; /** * Get the invites for the channel */ getInvites(): Promise; /** * Create an invite for the channel */ createInvite(options?: RESTPostAPIChannelInviteJSONBody): Promise; /** * Trigger a typing indicator in the channel (this will expire after 10 seconds) */ triggerTyping(): Promise; } //# sourceMappingURL=BaseGuildChannel.d.ts.map