import { type APIThreadChannel, type ThreadChannelType } from "discord-api-types/v10"; import { BaseGuildChannel } from "../abstracts/BaseGuildChannel.js"; import type { IfPartial } from "../types/index.js"; export declare class GuildThreadChannel extends BaseGuildChannel { rawData: APIThreadChannel | null; /** * Whether the thread is archived. */ get archived(): IfPartial; /** * The duration until the thread is auto archived. */ get autoArchiveDuration(): IfPartial; /** * The timestamp of when the thread was archived. */ get archiveTimestamp(): IfPartial; /** * Whether the thread is locked. */ get locked(): IfPartial; /** * Whether non-moderators can add other non-moderators to a thread; only available on private threads */ get invitable(): IfPartial; /** * The timestamp of when the thread was created. */ get createTimestamp(): IfPartial; /** * The number of messages in the thread. */ get messageCount(): IfPartial; /** * The number of members in the thread. * * @remarks * This is only accurate until 50, after that, Discord stops counting. */ get memberCount(): IfPartial; /** * The ID of the owner of the thread. */ get ownerId(): IfPartial; /** * The number of messages sent in the thread. */ get totalMessageSent(): IfPartial; /** * The tags applied to the thread. */ get appliedTags(): IfPartial; /** * Join the thread */ join(): Promise; /** * Add a member to the thread */ addMember(userId: string): Promise; /** * Leave the thread */ leave(): Promise; /** * Get the pinned messages in the thread */ removeMember(userId: string): Promise; /** * Archive the thread */ archive(): Promise; /** * Unarchive the thread */ unarchive(): Promise; /** * Set the auto archive duration of the thread */ setAutoArchiveDuration(duration: number): Promise; /** * Lock the thread */ lock(): Promise; /** * Unlock the thread */ unlock(): Promise; } //# sourceMappingURL=GuildThreadChannel.d.ts.map