import { CreateWebhookRequestData, DeleteWebhookRequestData, GetWebhookRequestData, ListWebhooksRequestData, ListWebhooksResponse, UpdateWebhookRequestData, Webhook } from '../../../models'; import { ConversationDomainApi } from '../conversation-domain-api'; import { LazyConversationApiClient } from '../conversation-service'; export declare class WebhooksApi extends ConversationDomainApi { constructor(lazyApiClient: LazyConversationApiClient); /** * Create a new webhook * Creates a webhook for receiving callbacks on specific triggers. You can create up to 5 webhooks per app. * @param { CreateWebhookRequestData } data - The data to provide to the API call. */ create(data: CreateWebhookRequestData): Promise; /** * Delete an existing webhook * Deletes a webhook as specified by the webhook ID. * @param { DeleteWebhookRequestData } data - The data to provide to the API call. */ delete(data: DeleteWebhookRequestData): Promise; /** * Get a webhook * Get a webhook as specified by the webhook ID. * @param { GetWebhookRequestData } data - The data to provide to the API call. */ get(data: GetWebhookRequestData): Promise; /** * List webhooks * List all webhooks for a given app as specified by the App ID. * @param { ListWebhooksRequestData } data - The data to provide to the API call. */ list(data: ListWebhooksRequestData): Promise; /** * Update an existing webhook * Updates an existing webhook as specified by the webhook ID. * @param { UpdateWebhookRequestData } data - The data to provide to the API call. */ update(data: UpdateWebhookRequestData): Promise; }