import * as z from "zod/v4-mini";
import { Result as SafeParseResult } from "../../types/fp.js";
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
import { Subscription, Subscription$Outbound } from "./subscription.js";
/**
 * Sent when a subscription is updated. This event fires for all changes to the subscription, including renewals.
 *
 * @remarks
 *
 * If you want more specific events, you can listen to `subscription.active`, `subscription.canceled`, `subscription.past_due`, and `subscription.revoked`.
 *
 * To listen specifically for renewals, you can listen to `order.created` events and check the `billing_reason` field.
 *
 * **Discord & Slack support:** On cancellation, past due, and revocation. Renewals are skipped.
 */
export type WebhookSubscriptionUpdatedPayload = {
    type: "subscription.updated";
    timestamp: Date;
    data: Subscription;
};
/** @internal */
export declare const WebhookSubscriptionUpdatedPayload$inboundSchema: z.ZodMiniType<WebhookSubscriptionUpdatedPayload, unknown>;
/** @internal */
export type WebhookSubscriptionUpdatedPayload$Outbound = {
    type: "subscription.updated";
    timestamp: string;
    data: Subscription$Outbound;
};
/** @internal */
export declare const WebhookSubscriptionUpdatedPayload$outboundSchema: z.ZodMiniType<WebhookSubscriptionUpdatedPayload$Outbound, WebhookSubscriptionUpdatedPayload>;
export declare function webhookSubscriptionUpdatedPayloadToJSON(webhookSubscriptionUpdatedPayload: WebhookSubscriptionUpdatedPayload): string;
export declare function webhookSubscriptionUpdatedPayloadFromJSON(jsonString: string): SafeParseResult<WebhookSubscriptionUpdatedPayload, SDKValidationError>;
//# sourceMappingURL=webhooksubscriptionupdatedpayload.d.ts.map