import { ChannelType, Snowflake } from "@wilsonjs/constants"; import { BasicChannel } from "@wilsonjs/models"; import { Cache, Resolvable } from "../cache/Cache"; import { WilsonClient } from "../Client"; import { AttachmentInfo, MessageOptions } from "../models/MessageOptions"; import { Channel } from "./Channel"; import { MemberOverwrite } from "./MemberOverwrite"; import { Message } from "./Message"; import { RoleOverwrite } from "./RoleOverwrite"; export declare class TextChannel extends Channel { protected client: WilsonClient; type: ChannelType.GuildText; private guild_id; last_message_id: Snowflake; parent_id: Snowflake; last_pin_timestamp: number; last_pin_at: Date; name: string; position: number; rate_limit: number; nsfw: boolean; topic: string; overwrites: Cache; constructor(client: WilsonClient, basic: Partial); get guild(): import("./Guild").Guild | undefined; get last_message(): Message | undefined; get parent(): Message | undefined; patch(basic: Partial): void; send(content: string | MessageOptions, files?: AttachmentInfo[]): Promise; deleteMessage(message: Resolvable): Promise; }