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 new subscription is created. * * @remarks * * When this event occurs, the subscription `status` might not be `active` yet, as we can still have to wait for the first payment to be processed. * * **Discord & Slack support:** Full */ export type WebhookSubscriptionCreatedPayload = { type: "subscription.created"; timestamp: Date; data: Subscription; }; /** @internal */ export declare const WebhookSubscriptionCreatedPayload$inboundSchema: z.ZodMiniType; /** @internal */ export type WebhookSubscriptionCreatedPayload$Outbound = { type: "subscription.created"; timestamp: string; data: Subscription$Outbound; }; /** @internal */ export declare const WebhookSubscriptionCreatedPayload$outboundSchema: z.ZodMiniType; export declare function webhookSubscriptionCreatedPayloadToJSON(webhookSubscriptionCreatedPayload: WebhookSubscriptionCreatedPayload): string; export declare function webhookSubscriptionCreatedPayloadFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=webhooksubscriptioncreatedpayload.d.ts.map