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 revoked and the user loses access immediately. * * @remarks * Happens when the subscription is canceled or payment retries are exhausted (status becomes `unpaid`). * * For payment failures that can still be recovered, see `subscription.past_due`. * * **Discord & Slack support:** Full */ export type WebhookSubscriptionRevokedPayload = { type: "subscription.revoked"; timestamp: Date; data: Subscription; }; /** @internal */ export declare const WebhookSubscriptionRevokedPayload$inboundSchema: z.ZodMiniType; /** @internal */ export type WebhookSubscriptionRevokedPayload$Outbound = { type: "subscription.revoked"; timestamp: string; data: Subscription$Outbound; }; /** @internal */ export declare const WebhookSubscriptionRevokedPayload$outboundSchema: z.ZodMiniType; export declare function webhookSubscriptionRevokedPayloadToJSON(webhookSubscriptionRevokedPayload: WebhookSubscriptionRevokedPayload): string; export declare function webhookSubscriptionRevokedPayloadFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=webhooksubscriptionrevokedpayload.d.ts.map