import * as Schema from "effect/Schema";
export declare const PostRadarPaymentEvaluationsInput: Schema.Struct<{
    readonly client_device_metadata_details: Schema.optional<Schema.Struct<{
        readonly radar_session: Schema.String;
    }>>;
    readonly customer_details: Schema.Struct<{
        readonly customer: Schema.optional<Schema.String>;
        readonly customer_account: Schema.optional<Schema.String>;
        readonly email: Schema.optional<Schema.String>;
        readonly name: Schema.optional<Schema.String>;
        readonly phone: Schema.optional<Schema.String>;
    }>;
    readonly expand: Schema.optional<Schema.$Array<Schema.String>>;
    readonly metadata: Schema.optional<Schema.$Record<Schema.String, Schema.String>>;
    readonly payment_details: Schema.Struct<{
        readonly amount: Schema.Number;
        readonly currency: Schema.String;
        readonly description: Schema.optional<Schema.String>;
        readonly money_movement_details: Schema.optional<Schema.Struct<{
            readonly card: Schema.optional<Schema.Struct<{
                readonly customer_presence: Schema.optional<Schema.Literals<readonly ["off_session", "on_session"]>>;
                readonly payment_type: Schema.optional<Schema.Literals<readonly ["one_off", "recurring", "setup_one_off", "setup_recurring"]>>;
            }>>;
            readonly money_movement_type: Schema.Literals<readonly ["card"]>;
        }>>;
        readonly payment_method_details: Schema.Struct<{
            readonly billing_details: Schema.optional<Schema.Struct<{
                readonly address: Schema.optional<Schema.Struct<{
                    readonly city: Schema.optional<Schema.String>;
                    readonly country: Schema.optional<Schema.String>;
                    readonly line1: Schema.optional<Schema.String>;
                    readonly line2: Schema.optional<Schema.String>;
                    readonly postal_code: Schema.optional<Schema.String>;
                    readonly state: Schema.optional<Schema.String>;
                }>>;
                readonly email: Schema.optional<Schema.String>;
                readonly name: Schema.optional<Schema.String>;
                readonly phone: Schema.optional<Schema.String>;
            }>>;
            readonly payment_method: Schema.String;
        }>;
        readonly shipping_details: Schema.optional<Schema.Struct<{
            readonly address: Schema.optional<Schema.Struct<{
                readonly city: Schema.optional<Schema.String>;
                readonly country: Schema.optional<Schema.String>;
                readonly line1: Schema.optional<Schema.String>;
                readonly line2: Schema.optional<Schema.String>;
                readonly postal_code: Schema.optional<Schema.String>;
                readonly state: Schema.optional<Schema.String>;
            }>>;
            readonly name: Schema.optional<Schema.String>;
            readonly phone: Schema.optional<Schema.String>;
        }>>;
        readonly statement_descriptor: Schema.optional<Schema.String>;
    }>;
}>;
export type PostRadarPaymentEvaluationsInput = typeof PostRadarPaymentEvaluationsInput.Type;
export declare const PostRadarPaymentEvaluationsOutput: Schema.Struct<{
    readonly client_device_metadata_details: Schema.optional<Schema.Struct<{
        readonly radar_session: Schema.String;
    }>>;
    readonly created_at: Schema.Number;
    readonly customer_details: Schema.optional<Schema.Struct<{
        readonly customer: Schema.NullOr<Schema.String>;
        readonly customer_account: Schema.NullOr<Schema.String>;
        readonly email: Schema.NullOr<Schema.String>;
        readonly name: Schema.NullOr<Schema.String>;
        readonly phone: Schema.NullOr<Schema.String>;
    }>>;
    readonly events: Schema.optional<Schema.$Array<Schema.Struct<{
        readonly dispute_opened: Schema.optional<Schema.Struct<{
            readonly amount: Schema.Number;
            readonly currency: Schema.String;
            readonly reason: Schema.Literals<readonly ["account_not_available", "credit_not_processed", "customer_initiated", "duplicate", "fraudulent", "general", "noncompliant", "product_not_received", "product_unacceptable", "subscription_canceled", "unrecognized"]>;
        }>>;
        readonly early_fraud_warning_received: Schema.optional<Schema.Struct<{
            readonly fraud_type: Schema.Literals<readonly ["made_with_lost_card", "made_with_stolen_card", "other", "unauthorized_use_of_card"]>;
        }>>;
        readonly occurred_at: Schema.Number;
        readonly refunded: Schema.optional<Schema.Struct<{
            readonly amount: Schema.Number;
            readonly currency: Schema.String;
            readonly reason: Schema.Literals<readonly ["duplicate", "fraudulent", "other", "requested_by_customer"]>;
        }>>;
        readonly type: Schema.Literals<readonly ["dispute_opened", "early_fraud_warning_received", "refunded", "user_intervention_raised", "user_intervention_resolved"]>;
        readonly user_intervention_raised: Schema.optional<Schema.Struct<{
            readonly custom: Schema.optional<Schema.Struct<{
                readonly type: Schema.String;
            }>>;
            readonly key: Schema.String;
            readonly type: Schema.Literals<readonly ["3ds", "captcha", "custom"]>;
        }>>;
        readonly user_intervention_resolved: Schema.optional<Schema.Struct<{
            readonly key: Schema.String;
            readonly outcome: Schema.NullOr<Schema.Literals<readonly ["abandoned", "failed", "passed"]>>;
        }>>;
    }>>>;
    readonly id: Schema.String;
    readonly livemode: Schema.Boolean;
    readonly metadata: Schema.NullOr<Schema.$Record<Schema.String, Schema.String>>;
    readonly object: Schema.Literals<readonly ["radar.payment_evaluation"]>;
    readonly outcome: Schema.optional<Schema.Unknown>;
    readonly payment_details: Schema.optional<Schema.Struct<{
        readonly amount: Schema.Number;
        readonly currency: Schema.String;
        readonly description: Schema.NullOr<Schema.String>;
        readonly money_movement_details: Schema.Unknown;
        readonly payment_method_details: Schema.Unknown;
        readonly shipping_details: Schema.Unknown;
        readonly statement_descriptor: Schema.NullOr<Schema.String>;
    }>>;
    readonly recommended_action: Schema.Literals<readonly ["block", "continue"]>;
    readonly signals: Schema.Struct<{
        readonly fraudulent_payment: Schema.Struct<{
            readonly evaluated_at: Schema.Number;
            readonly risk_level: Schema.Literals<readonly ["elevated", "highest", "normal"]>;
            readonly score: Schema.Number;
        }>;
    }>;
}>;
export type PostRadarPaymentEvaluationsOutput = typeof PostRadarPaymentEvaluationsOutput.Type;
/**
 * Create a Payment Evaluation
 *
 * <p>Request a Radar API fraud risk score from Stripe for a payment before sending it for external processor authorization.</p>
 */
export declare const PostRadarPaymentEvaluations: import("@distilled.cloud/core/client").OperationMethod<{
    readonly client_device_metadata_details?: {
        readonly radar_session: string;
    } | undefined;
    readonly customer_details: {
        readonly customer?: string | undefined;
        readonly customer_account?: string | undefined;
        readonly email?: string | undefined;
        readonly name?: string | undefined;
        readonly phone?: string | undefined;
    };
    readonly expand?: readonly string[] | undefined;
    readonly metadata?: {
        readonly [x: string]: string;
    } | undefined;
    readonly payment_details: {
        readonly amount: number;
        readonly currency: string;
        readonly description?: string | undefined;
        readonly money_movement_details?: {
            readonly card?: {
                readonly customer_presence?: "off_session" | "on_session" | undefined;
                readonly payment_type?: "one_off" | "recurring" | "setup_one_off" | "setup_recurring" | undefined;
            } | undefined;
            readonly money_movement_type: "card";
        } | undefined;
        readonly payment_method_details: {
            readonly billing_details?: {
                readonly address?: {
                    readonly city?: string | undefined;
                    readonly country?: string | undefined;
                    readonly line1?: string | undefined;
                    readonly line2?: string | undefined;
                    readonly postal_code?: string | undefined;
                    readonly state?: string | undefined;
                } | undefined;
                readonly email?: string | undefined;
                readonly name?: string | undefined;
                readonly phone?: string | undefined;
            } | undefined;
            readonly payment_method: string;
        };
        readonly shipping_details?: {
            readonly address?: {
                readonly city?: string | undefined;
                readonly country?: string | undefined;
                readonly line1?: string | undefined;
                readonly line2?: string | undefined;
                readonly postal_code?: string | undefined;
                readonly state?: string | undefined;
            } | undefined;
            readonly name?: string | undefined;
            readonly phone?: string | undefined;
        } | undefined;
        readonly statement_descriptor?: string | undefined;
    };
}, {
    readonly client_device_metadata_details?: {
        readonly radar_session: string;
    } | undefined;
    readonly created_at: number;
    readonly customer_details?: {
        readonly customer: string | null;
        readonly customer_account: string | null;
        readonly email: string | null;
        readonly name: string | null;
        readonly phone: string | null;
    } | undefined;
    readonly events?: readonly {
        readonly dispute_opened?: {
            readonly amount: number;
            readonly currency: string;
            readonly reason: "account_not_available" | "credit_not_processed" | "customer_initiated" | "duplicate" | "fraudulent" | "general" | "noncompliant" | "product_not_received" | "product_unacceptable" | "subscription_canceled" | "unrecognized";
        } | undefined;
        readonly early_fraud_warning_received?: {
            readonly fraud_type: "made_with_lost_card" | "made_with_stolen_card" | "other" | "unauthorized_use_of_card";
        } | undefined;
        readonly occurred_at: number;
        readonly refunded?: {
            readonly amount: number;
            readonly currency: string;
            readonly reason: "duplicate" | "fraudulent" | "other" | "requested_by_customer";
        } | undefined;
        readonly type: "dispute_opened" | "early_fraud_warning_received" | "refunded" | "user_intervention_raised" | "user_intervention_resolved";
        readonly user_intervention_raised?: {
            readonly custom?: {
                readonly type: string;
            } | undefined;
            readonly key: string;
            readonly type: "3ds" | "captcha" | "custom";
        } | undefined;
        readonly user_intervention_resolved?: {
            readonly key: string;
            readonly outcome: "abandoned" | "failed" | "passed" | null;
        } | undefined;
    }[] | undefined;
    readonly id: string;
    readonly livemode: boolean;
    readonly metadata: {
        readonly [x: string]: string;
    } | null;
    readonly object: "radar.payment_evaluation";
    readonly outcome?: unknown;
    readonly payment_details?: {
        readonly amount: number;
        readonly currency: string;
        readonly description: string | null;
        readonly money_movement_details: unknown;
        readonly payment_method_details: unknown;
        readonly shipping_details: unknown;
        readonly statement_descriptor: string | null;
    } | undefined;
    readonly recommended_action: "block" | "continue";
    readonly signals: {
        readonly fraudulent_payment: {
            readonly evaluated_at: number;
            readonly risk_level: "elevated" | "highest" | "normal";
            readonly score: number;
        };
    };
}, never, any>;
//# sourceMappingURL=PostRadarPaymentEvaluations.d.ts.map