import type { WebhookType } from "#enums"; import type { Channel } from "./channel.js"; import type { Embed } from "./embed.js"; import type { Guild } from "./guild.js"; import type { Message } from "./message.js"; import type { User } from "./user.js"; export declare namespace Webhook { interface Structure { id: string; type: WebhookType; guild_id?: string | null; channel_id: string | null; user?: User.Structure; name: string | null; avatar: string | null; token?: string; application_id: string | null; source_guild?: Partial; source_channel?: Partial; url?: string; } interface EditWebhookJSONParams { content?: string | null; embeds?: Array | null; allowed_mentions?: Channel.AllowedMentionsStructure | null; components?: Array | null; attachments?: Array> | null; } interface ExecuteWebhookJSONParams { content?: string; username?: string; avatar_url?: string; tts?: boolean; embeds?: Array; allowed_mentions?: Channel.AllowedMentionsStructure; components?: Array; attachments?: Array>; flags?: number; thread_name?: string; applied_tags?: Array; } } //# sourceMappingURL=webhook.d.ts.map