import { APIResource } from "../core/resource.js"; import { APIPromise } from "../core/api-promise.js"; import { RequestOptions } from "../internal/request-options.js"; export declare class WebhookSecret extends APIResource { /** * Get the signing secret used to sign webhook deliveries for this project, * creating one if none exists yet. Verify deliveries by comparing the * `modapi-signature` header to HMAC-SHA256(raw request body, secret) hex-encoded. */ retrieve(options?: RequestOptions): APIPromise; } export interface WebhookSecretRetrieveResponse { /** * The signing secret for this project. Every webhook delivery is signed with * HMAC-SHA256 over the raw JSON body, hex-encoded in the `modapi-signature` * header. */ secret: string; } export declare namespace WebhookSecret { export { type WebhookSecretRetrieveResponse as WebhookSecretRetrieveResponse }; } //# sourceMappingURL=webhook-secret.d.ts.map