import * as z from "zod/v4-mini";
import { Result as SafeParseResult } from "../../types/fp.js";
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
import { CustomerState, CustomerState$Outbound } from "./customerstate.js";
/**
 * Sent when a customer state has changed.
 *
 * @remarks
 *
 * It's triggered when:
 *
 * * Customer is created, updated or deleted.
 * * A subscription is created or updated.
 * * A benefit is granted or revoked.
 *
 * **Discord & Slack support:** Basic
 */
export type WebhookCustomerStateChangedPayload = {
    type: "customer.state_changed";
    timestamp: Date;
    data: CustomerState;
};
/** @internal */
export declare const WebhookCustomerStateChangedPayload$inboundSchema: z.ZodMiniType<WebhookCustomerStateChangedPayload, unknown>;
/** @internal */
export type WebhookCustomerStateChangedPayload$Outbound = {
    type: "customer.state_changed";
    timestamp: string;
    data: CustomerState$Outbound;
};
/** @internal */
export declare const WebhookCustomerStateChangedPayload$outboundSchema: z.ZodMiniType<WebhookCustomerStateChangedPayload$Outbound, WebhookCustomerStateChangedPayload>;
export declare function webhookCustomerStateChangedPayloadToJSON(webhookCustomerStateChangedPayload: WebhookCustomerStateChangedPayload): string;
export declare function webhookCustomerStateChangedPayloadFromJSON(jsonString: string): SafeParseResult<WebhookCustomerStateChangedPayload, SDKValidationError>;
//# sourceMappingURL=webhookcustomerstatechangedpayload.d.ts.map