import { AxiosInstance } from "axios"; import { Resource } from "../Resource"; export type WebhookRequest = { url?: string | null; enabled?: boolean; events?: string[] | null; description?: string | null; }; export type Webhook = { id: string; url: string; enabled: boolean; events: string[]; secret: string; description: string; createdAt: string; updatedAt: string; }; export declare class Webhooks extends Resource { constructor(axiosInstance: AxiosInstance); create(webhookRequest: WebhookRequest): Promise; get(id: string): Promise; update(id: string, webhookRequest: WebhookRequest): Promise; delete(id: string): Promise; list({ page, pageSize }?: { page?: number; pageSize?: number; }): Promise; }