import { Request } from '../structures/Request'; import { BaseRoute } from './BaseRoute'; export declare class Webhooks extends BaseRoute { /** * @constructor * @param {Request} request A request instance */ constructor(request: Request); /** * Update a webhook * * @param {String} webhookId The webhook id * @param {Object} data The webhook data */ update(webhookId: string, data: object): Promise>; /** * Delete a webhook * * @param {String} webhookId The webhook id */ delete(webhookId: string): Promise>; }