import Service from "../../service";
import { CreateMerchantWebhookRequest, GenerateHmacKeyResponse, ListWebhooksResponse, TestWebhookRequest, TestWebhookResponse, UpdateMerchantWebhookRequest, Webhook } from "../../typings/management/models";
import { IRequest } from "../../typings/requestOptions";
declare class MerchantWebhooks extends Service {
    /**
     * List all webhooks
     */
    list(merchantId: string, requestOptions?: IRequest.Options): Promise<ListWebhooksResponse>;
    /**
     * Set up a webhook
     */
    create(merchantId: string, request: CreateMerchantWebhookRequest): Promise<Webhook>;
    /**
     * Remove a webhook
     */
    delete(merchantId: string, webhookId: string): Promise<void>;
    /**
     * Get a webhook
     */
    retrieve(merchantId: string, webhookId: string): Promise<Webhook>;
    /**
     * Update a webhook
     */
    update(merchantId: string, webhookId: string, request: UpdateMerchantWebhookRequest): Promise<Webhook>;
    /**
     * Generate an HMAC key
     */
    generateHmac(merchantId: string, webhookId: string): Promise<GenerateHmacKeyResponse>;
    /**
     * Test a webhook
     */
    test(merchantId: string, webhookId: string, request: TestWebhookRequest): Promise<TestWebhookResponse>;
}
export default MerchantWebhooks;
