import * as Schema from "effect/Schema";
export declare const PostSetupIntentsIntentCancelInput: Schema.Struct<{
    readonly intent: Schema.String;
    readonly cancellation_reason: Schema.optional<Schema.Literals<readonly ["abandoned", "duplicate", "requested_by_customer"]>>;
    readonly expand: Schema.optional<Schema.$Array<Schema.String>>;
}>;
export type PostSetupIntentsIntentCancelInput = typeof PostSetupIntentsIntentCancelInput.Type;
export declare const PostSetupIntentsIntentCancelOutput: Schema.Struct<{
    readonly application: Schema.Unknown;
    readonly attach_to_self: Schema.optional<Schema.Boolean>;
    readonly automatic_payment_methods: Schema.Unknown;
    readonly cancellation_reason: Schema.NullOr<Schema.Literals<readonly ["abandoned", "duplicate", "requested_by_customer"]>>;
    readonly client_secret: Schema.NullOr<Schema.Schema<string | import("effect/Redacted").Redacted<string>>>;
    readonly created: Schema.Number;
    readonly customer: Schema.Unknown;
    readonly customer_account: Schema.optional<Schema.NullOr<Schema.String>>;
    readonly description: Schema.NullOr<Schema.String>;
    readonly excluded_payment_method_types: Schema.NullOr<Schema.$Array<Schema.Literals<readonly ["acss_debit", "affirm", "afterpay_clearpay", "alipay", "alma", "amazon_pay", "au_becs_debit", "bacs_debit", "bancontact", "billie", "blik", "boleto", "card", "cashapp", "crypto", "customer_balance", "eps", "fpx", "giropay", "grabpay", "ideal", "kakao_pay", "klarna", "konbini", "kr_card", "mb_way", "mobilepay", "multibanco", "naver_pay", "nz_bank_account", "oxxo", "p24", "pay_by_bank", "payco", "paynow", "paypal", "payto", "pix", "promptpay", "revolut_pay", "samsung_pay", "satispay", "sepa_debit", "sofort", "swish", "twint", "upi", "us_bank_account", "wechat_pay", "zip"]>>>;
    readonly flow_directions: Schema.optional<Schema.NullOr<Schema.$Array<Schema.Literals<readonly ["inbound", "outbound"]>>>>;
    readonly id: Schema.String;
    readonly last_setup_error: Schema.Unknown;
    readonly latest_attempt: Schema.Unknown;
    readonly livemode: Schema.Boolean;
    readonly mandate: Schema.Unknown;
    readonly metadata: Schema.NullOr<Schema.$Record<Schema.String, Schema.String>>;
    readonly next_action: Schema.Unknown;
    readonly object: Schema.Literals<readonly ["setup_intent"]>;
    readonly on_behalf_of: Schema.Unknown;
    readonly payment_method: Schema.Unknown;
    readonly payment_method_configuration_details: Schema.Unknown;
    readonly payment_method_options: Schema.Unknown;
    readonly payment_method_types: Schema.$Array<Schema.String>;
    readonly single_use_mandate: Schema.Unknown;
    readonly status: Schema.Literals<readonly ["canceled", "processing", "requires_action", "requires_confirmation", "requires_payment_method", "succeeded"]>;
    readonly usage: Schema.String;
}>;
export type PostSetupIntentsIntentCancelOutput = typeof PostSetupIntentsIntentCancelOutput.Type;
/**
 * Cancel a SetupIntent
 *
 * <p>You can cancel a SetupIntent object when it’s in one of these statuses: <code>requires_payment_method</code>, <code>requires_confirmation</code>, or <code>requires_action</code>. </p>
 * <p>After you cancel it, setup is abandoned and any operations on the SetupIntent fail with an error. You can’t cancel the SetupIntent for a Checkout Session. <a href="/docs/api/checkout/sessions/expire">Expire the Checkout Session</a> instead.</p>
 */
export declare const PostSetupIntentsIntentCancel: import("@distilled.cloud/core/client").OperationMethod<{
    readonly cancellation_reason?: "abandoned" | "duplicate" | "requested_by_customer" | undefined;
    readonly expand?: readonly string[] | undefined;
    readonly intent: string;
}, {
    readonly application: unknown;
    readonly attach_to_self?: boolean | undefined;
    readonly automatic_payment_methods: unknown;
    readonly cancellation_reason: "abandoned" | "duplicate" | "requested_by_customer" | null;
    readonly client_secret: string | import("effect/Redacted").Redacted<string> | null;
    readonly created: number;
    readonly customer: unknown;
    readonly customer_account?: string | null | undefined;
    readonly description: string | null;
    readonly excluded_payment_method_types: readonly ("acss_debit" | "affirm" | "afterpay_clearpay" | "alipay" | "alma" | "amazon_pay" | "au_becs_debit" | "bacs_debit" | "bancontact" | "billie" | "blik" | "boleto" | "card" | "cashapp" | "crypto" | "customer_balance" | "eps" | "fpx" | "giropay" | "grabpay" | "ideal" | "kakao_pay" | "klarna" | "konbini" | "kr_card" | "mb_way" | "mobilepay" | "multibanco" | "naver_pay" | "nz_bank_account" | "oxxo" | "p24" | "pay_by_bank" | "payco" | "paynow" | "paypal" | "payto" | "pix" | "promptpay" | "revolut_pay" | "samsung_pay" | "satispay" | "sepa_debit" | "sofort" | "swish" | "twint" | "upi" | "us_bank_account" | "wechat_pay" | "zip")[] | null;
    readonly flow_directions?: readonly ("inbound" | "outbound")[] | null | undefined;
    readonly id: string;
    readonly last_setup_error: unknown;
    readonly latest_attempt: unknown;
    readonly livemode: boolean;
    readonly mandate: unknown;
    readonly metadata: {
        readonly [x: string]: string;
    } | null;
    readonly next_action: unknown;
    readonly object: "setup_intent";
    readonly on_behalf_of: unknown;
    readonly payment_method: unknown;
    readonly payment_method_configuration_details: unknown;
    readonly payment_method_options: unknown;
    readonly payment_method_types: readonly string[];
    readonly single_use_mandate: unknown;
    readonly status: "canceled" | "processing" | "requires_action" | "requires_confirmation" | "requires_payment_method" | "succeeded";
    readonly usage: string;
}, never, import("../credentials.ts").Credentials>;
//# sourceMappingURL=PostSetupIntentsIntentCancel.d.ts.map