import type { LemonSqueezyWebhookPayload, WebhookProcessResult } from '../../types/index.js';
/**
 * Handles subscription_cancelled: the customer cancelled their subscription.
 * The tier should be reverted to free when the subscription period ends.
 */
export declare function handleSubscriptionCancelled(payload: LemonSqueezyWebhookPayload): WebhookProcessResult;
/**
 * Handles subscription_updated: plan tier may have changed (upgrade/downgrade).
 */
export declare function handleSubscriptionUpdated(payload: LemonSqueezyWebhookPayload): WebhookProcessResult;
/**
 * Handles license_key_created: a new license key was issued (after purchase).
 * This is informational — the user will activate the key via activate_license tool.
 */
export declare function handleLicenseKeyCreated(payload: LemonSqueezyWebhookPayload): WebhookProcessResult;
/**
 * Returns a generic "acknowledged" result for unhandled but recognised events.
 */
export declare function handleUnknownEvent(eventType: string): WebhookProcessResult;
/**
 * Dispatches a parsed webhook payload to the appropriate event handler.
 * Unhandled but valid events are acknowledged with a 200 response.
 */
export declare function dispatchWebhookEvent(payload: LemonSqueezyWebhookPayload): WebhookProcessResult;
//# sourceMappingURL=event-handlers.d.ts.map