import { ClientSDK, RequestOptions } from "../lib/sdks.js"; import * as operations from "../models/operations/index.js"; import { PageIterator } from "../types/operations.js"; export declare class Webhooks extends ClientSDK { /** * List webhooks * * @remarks * List the webhooks of the project. The list is paginated. */ list(page?: number | undefined, pageSize?: number | undefined, projectId?: string | undefined, options?: RequestOptions): Promise>; /** * Create a webhook * * @remarks * Create a webhook subscribed to one or more event types. Deliveries use the v2 envelope and are signed with the project signing secret (see the signing secret endpoint). */ create(body: operations.CreateWebhookRequestBody, projectId?: string | undefined, options?: RequestOptions): Promise; /** * Get a webhook * * @remarks * Get a webhook by ID. */ retrieve(id: string, projectId?: string | undefined, options?: RequestOptions): Promise; /** * Update a webhook * * @remarks * Update a webhook. Legacy v1 webhooks are read-only: delete them and create a new webhook instead. */ update(id: string, body: operations.UpdateWebhookRequestBody, projectId?: string | undefined, options?: RequestOptions): Promise; /** * Delete a webhook * * @remarks * Delete a webhook. */ delete(id: string, projectId?: string | undefined, options?: RequestOptions): Promise; } //# sourceMappingURL=webhooks.d.ts.map