/**
 * Configuration for the webhook proxy
 */
export interface WebhookProxyConfig {
    /** Allowed webhook destinations (for security) */
    allowedDestinations?: string[];
    /** Secret key for webhook authentication */
    secretKey?: string;
    /** Rate limiting configuration */
    rateLimit?: {
        /** Maximum number of requests per window */
        max: number;
        /** Time window in seconds */
        windowSec: number;
    };
    /** Custom headers to add to all webhook requests */
    defaultHeaders?: Record<string, string>;
}
/**
 * Request handler type for different frameworks
 */
type RequestHandler = (req: any, res: any) => Promise<void>;
/**
 * Create a proxy handler for webhooks
 * This function returns a handler compatible with various server frameworks
 */
export declare function createWebhookProxy(config: WebhookProxyConfig): RequestHandler;
export {};
