import type { RequestData } from "../types_internal.js"; import type { ProblemDetails, QueryResponse, RegisterRequest, RegisterResponse } from "../types_external.js"; /** * Factory object for creating webhooks requests. */ export declare const webhooksRequestFactory: { /** * There is a limit to the number of webhooks that can be registered * per event, see the developer guide for more information. * * @param token - The authentication token. * @param body - The request body containing the webhook details. * @returns A `RegisterResponse` or `ProblemDetails` object. */ register: (token: string, body: RegisterRequest) => RequestData; /** * Retrieves a list of registered webhooks. * * @param token - The access token for authentication. * @returns A `WebhooksGetRegisteredOKResponse` or `ProblemDetails` object. */ list: (token: string) => RequestData; /** * Deletes a webhook. * * @param token - The authentication token. * @param webhookId - The ID of the webhook to delete. * @returns void or a `ProblemDetails` object. */ delete: (token: string, webhookId: string) => RequestData; }; //# sourceMappingURL=webhooks.d.ts.map