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 canceled. * * @remarks * Customers might still have access until the end of the current period. * * **Discord & Slack support:** Full */ export type WebhookSubscriptionCanceledPayload = { type: "subscription.canceled"; timestamp: Date; data: Subscription; }; /** @internal */ export declare const WebhookSubscriptionCanceledPayload$inboundSchema: z.ZodMiniType; /** @internal */ export type WebhookSubscriptionCanceledPayload$Outbound = { type: "subscription.canceled"; timestamp: string; data: Subscription$Outbound; }; /** @internal */ export declare const WebhookSubscriptionCanceledPayload$outboundSchema: z.ZodMiniType; export declare function webhookSubscriptionCanceledPayloadToJSON(webhookSubscriptionCanceledPayload: WebhookSubscriptionCanceledPayload): string; export declare function webhookSubscriptionCanceledPayloadFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=webhooksubscriptioncanceledpayload.d.ts.map