declare const CHANNEL_TYPE_TEXT = 0; declare const CHANNEL_TYPE_CATEGORY = 4; export interface DiscordGuild { readonly id: string; readonly name: string; readonly owner: boolean; } export interface DiscordChannel { readonly id: string; readonly name: string; readonly type: number; readonly parent_id: string | undefined; } export interface DiscordWebhook { readonly id: string; readonly name: string; readonly channel_id: string; readonly token: string; } export interface DiscordApi { readonly listGuilds: (botToken: string) => Promise; readonly createGuild: (botToken: string, name: string) => Promise; readonly getGuildChannels: (botToken: string, guildId: string) => Promise; readonly createChannel: (botToken: string, guildId: string, name: string, type: number, parentId?: string) => Promise; readonly getChannelWebhooks: (botToken: string, channelId: string) => Promise; readonly createWebhook: (botToken: string, channelId: string, name: string) => Promise; readonly executeWebhook: (webhookId: string, webhookToken: string, content: string) => Promise; } export { CHANNEL_TYPE_CATEGORY, CHANNEL_TYPE_TEXT }; export declare const discordApi: DiscordApi; //# sourceMappingURL=discord-api.d.ts.map