import type { RelayCredential } from "./credentials.js"; export interface VerifyWebhookSignatureOptions { nowSeconds?: number; toleranceSeconds?: number; } export declare class WebhookSecretError extends Error { constructor(message: string); } export declare class WebhookVerificationError extends Error { constructor(message: string); } export declare function decodeWebhookSecret(secret: string): Uint8Array; /** * Verify Relay's current Standard Webhooks v1 signature over the exact body. */ export declare function verifyWebhookSignature(input: { headers: Pick; payload: string; secret: RelayCredential; options?: VerifyWebhookSignatureOptions; }): Promise; //# sourceMappingURL=signature.d.ts.map