import { TypedFetch, ValueResponse, WebhookField, WebhookRecord } from "../typeDefs"; import { BaseResource } from "./BaseResource"; /** * Webhooks allow developers to receive updates regarding actions that have * occurred in Trello. * @see https://developers.trello.com/reference#webhooks * @see https://developers.trello.com/page/webhooks */ export declare class Webhook extends BaseResource { getWebhook(): TypedFetch; getWebhooks(): TypedFetch; getFieldValue(field: Omit): TypedFetch>; addWebhook(params: { callbackURL: string; idModel: string; description?: string; active?: boolean; }): TypedFetch; updateWebhook(params: { callbackURL?: string; idModel?: string; description?: string; active?: boolean; }): TypedFetch; deleteWebhook(): TypedFetch>; }